aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-09-07 16:57:21 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-09-07 16:57:21 +0000
commit888dbbc025a66404f7b93f90c0425abc35fc6b2a (patch)
tree092131b3b3481d9133b233598e12d0f8f4ac4ec4 /multimedia
parent86cb35bfb6f4dbca3b2d80afaf99180656151fe6 (diff)
downloadports-888dbbc025a66404f7b93f90c0425abc35fc6b2a.tar.gz
ports-888dbbc025a66404f7b93f90c0425abc35fc6b2a.zip
Notes
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>