Port update after API change in PFIL_HOOKS in -current and OpenBSD 3.4 Release.
Output of $diff -ruN can be found at http://pf4freebsd.love2party.net/pf-port.diff -- Max
State Changed From-To: open->feedback Doesn't compile on -current: cc -O -pipe -march=pentium2 -march=pentium2 -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include -Wall -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include/support -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include -I/local0/scratch/edwin/ports/security/pf/work/pf_freebsd_1.65/pf/../include/support -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c pf_ioctl.c pf_ioctl.c:207: error: `noread' undeclared here (not in a function) pf_ioctl.c:207: error: initializer element is not constant pf_ioctl.c:207: error: (near initialization for `pf_cdevsw.d_read') pf_ioctl.c:208: error: `nowrite' undeclared here (not in a function) [...] Please investigate.
This was due to the latest changes from Poul-Henning Kamp for sys/conf.h#1.175, I updated: http://pf4freebsd.love2party.net/pf-port.diff to include the following patch, which resolves this issue: http://pf4freebsd.love2party.net/pf_ioctl.c.diff
State Changed From-To: feedback->closed Commited, thanks!