diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-04-27 23:00:48 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-04-27 23:00:48 +0000 |
commit | ed6e11527ccd54d68892103b7e674438d0fa02cc (patch) | |
tree | 8d8fd4f8c5e52c1f13a28cb46c9f3ecb274911cb /multimedia/mjpegtools | |
parent | Bump PORTREVISION to pick up -pthread from libxml2. As of libxml2-2.5.7, (diff) |
Fix build when WITH_QUICKTIME is enabled
PR: 51473
Submitted by: Ulrich Spoerlein <q@uni.de>
Notes
Notes:
svn path=/head/; revision=79765
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 3 |
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 |