aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-09-08 00:57:21 +0800
committernox <nox@FreeBSD.org>2011-09-08 00:57:21 +0800
commitd018e7ddc8c35d9c969647572f04326767ec318e (patch)
tree3401f8d88a20c50e1a49b096609012ced8349069 /multimedia
parentc4d50ed149144d881bdb334901f94a71fc6e549b (diff)
downloadfreebsd-ports-gnome-d018e7ddc8c35d9c969647572f04326767ec318e.tar.gz
freebsd-ports-gnome-d018e7ddc8c35d9c969647572f04326767ec318e.tar.zst
freebsd-ports-gnome-d018e7ddc8c35d9c969647572f04326767ec318e.zip
(Attempt to) fix build on head.
Submitted by: pointyhat via erwin
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/linux_dvbwrapper-kmod/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/linux_dvbwrapper-kmod/Makefile b/multimedia/linux_dvbwrapper-kmod/Makefile
index 47e03abfdaf7..53a21ab32c36 100644
--- a/multimedia/linux_dvbwrapper-kmod/Makefile
+++ b/multimedia/linux_dvbwrapper-kmod/Makefile
@@ -40,4 +40,10 @@ do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/Makefile ${FILESDIR}/*.[ch] ${WRKSRC}
+post-patch:
+# Fix the build after fget(9) KPI was changed in r224778
+.if ${OSVERSION} > 900040
+ ${REINPLACE_CMD} -e '/fget/s/&fp/CAP_IOCTL, &/' ${WRKSRC}/*.c
+.endif
+
.include <bsd.port.post.mk>