Bug 88319 - fix benchmarks/rawio for RELENG_4
Summary: fix benchmarks/rawio for RELENG_4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lehey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-01 11:40 UTC by Dmitry Morozovsky
Modified: 2005-11-01 17:02 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.40 KB, patch)
2005-11-01 11:40 UTC, Dmitry Morozovsky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Morozovsky freebsd_committer 2005-11-01 11:40:15 UTC
After GEOMization rawio fails to build on pre-GEOM FreeBSD, such as RELENG_4.

Fix: Simple:

How-To-Repeat: 
on RELEMG_4:

> cd /usr/ports/benchmarks/rawio
> make

In file included from rawio.c:61:
/usr/include/sys/disk.h:31: syntax error before `LIST_ENTRY'
*** Error code 1
Comment 1 Edwin Groothuis freebsd_committer 2005-11-01 11:42:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->grog

Over to maintainer
Comment 2 Brian Feldman freebsd_committer 2005-11-01 17:00:30 UTC
State Changed
From-To: open->closed

Thanks for finding the problem -- the build log didn't say it was 4.x 
and so when I looked for the problem's source, it didn't appear to exist. 
I just excluded non-FreeBSD-5 from including <sys/disk.h> instead, just 
because it wouldn't find anything useful there anyway.