aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-04-28 07:00:48 +0800
committerlioux <lioux@FreeBSD.org>2003-04-28 07:00:48 +0800
commit340009cc66ac6d313de28ab9bc3d501e08231a22 (patch)
tree99e01f7ca3c1062341705d1e4694b76af6ebb5a3 /multimedia
parent066b38e7c8154b92d326cb0be189276263748c87 (diff)
downloadfreebsd-ports-gnome-340009cc66ac6d313de28ab9bc3d501e08231a22.tar.gz
freebsd-ports-gnome-340009cc66ac6d313de28ab9bc3d501e08231a22.tar.zst
freebsd-ports-gnome-340009cc66ac6d313de28ab9bc3d501e08231a22.zip
Fix build when WITH_QUICKTIME is enabled
PR: 51473 Submitted by: Ulrich Spoerlein <q@uni.de>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mjpegtools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index b6dc7ed6ec3c..86b1d6e5b858 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -154,6 +154,9 @@ post-patch:
.ifdef(WITH_QUICKTIME)
@${REINPLACE_CMD} -E -e 's|^(have_openquicktime=).+$$|\1true|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -E \
+ -e 's|(fileno.*)(lav_file->qt_fd)|\1(FILE *)\2|' \
+ ${WRKSRC}/lavtools/lav_io.c
@${REINPLACE_CMD} -e 's|HAVE_OPENQUICKTIME|__FreeBSD__|' \
${WRKSRC}/lavtools/lav_io.h
.endif