Bug 88319

Summary: fix benchmarks/rawio for RELENG_4
Product: Ports & Packages Reporter: Dmitry Morozovsky <marck>
Component: Individual Port(s)Assignee: Greg Lehey <grog>
Status: Closed FIXED    
Severity: Affects Only Me CC: green
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dmitry Morozovsky freebsd_committer freebsd_triage 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 freebsd_triage 2005-11-01 11:42:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->grog

Over to maintainer
Comment 2 Brian Feldman freebsd_committer freebsd_triage 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.