Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161643434
D11629.id30883.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1016 B
Referenced Files
None
Subscribers
None
D11629.id30883.diff
View Options
Index: lib/libsysdecode/Makefile
===================================================================
--- lib/libsysdecode/Makefile
+++ lib/libsysdecode/Makefile
@@ -122,7 +122,7 @@
ioctl.c: .PHONY
.endif
ioctl.c: mkioctls .META
- env CPP="${CPP}" \
+ env CPP="${CPP}" MK_PF="${MK_PF}" \
/bin/sh ${.CURDIR}/mkioctls ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} > ${.TARGET}
beforedepend: ioctl.c tables.h
Index: lib/libsysdecode/mkioctls
===================================================================
--- lib/libsysdecode/mkioctls
+++ lib/libsysdecode/mkioctls
@@ -17,8 +17,15 @@
# XXX should we use an ANSI cpp?
ioctl_includes=$(
cd $includedir
+
+ filter='(.*disk.*)\.h'
+ if [ "${MK_PF}" == "no" ]
+ then
+ filter="(${filter})|((net/pfvar|net/if_pfsync)\.h)"
+ fi
+
find -H -s * -name '*.h' | \
- egrep -v '(.*disk.*|net/pfvar|net/if_pfsync)\.h' | \
+ egrep -v $filter | \
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
awk '{printf("#include <%s>\\n", $1)}'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 1:14 PM (16 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34757389
Default Alt Text
D11629.id30883.diff (1016 B)
Attached To
Mode
D11629: Handle WITH/WITHOUT_PF in libsysdecode
Attached
Detach File
Event Timeline
Log In to Comment