aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-02-12 02:57:15 +0800
committerahze <ahze@FreeBSD.org>2006-02-12 02:57:15 +0800
commitf0a72e0a50cbb185cc23dd4f0919eb48a81e36f4 (patch)
treeefdefc28cc4cadb996b392efcbf859e805bcce9f /multimedia
parent1bf6900c49c6f60681132aa01145b81537c09588 (diff)
downloadfreebsd-ports-graphics-f0a72e0a50cbb185cc23dd4f0919eb48a81e36f4.tar.gz
freebsd-ports-graphics-f0a72e0a50cbb185cc23dd4f0919eb48a81e36f4.tar.zst
freebsd-ports-graphics-f0a72e0a50cbb185cc23dd4f0919eb48a81e36f4.zip
- Fix build with new libquicktime
Submitted by: ankon via irc.freenode.org/#FreeBSD-GNOME Obtained from: mjpeg cvs
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mjpegtools/Makefile2
-rw-r--r--multimedia/mjpegtools/files/patch-lavtools_lav_io.c18
2 files changed, 19 insertions, 1 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index 4f425ab09dd..b0c0c57c945 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mjpegtools
DISTVERSION= 1.8.0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mjpeg
@@ -20,7 +21,6 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
CONFLICTS= mplex-*
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-USE_REINPLACE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
diff --git a/multimedia/mjpegtools/files/patch-lavtools_lav_io.c b/multimedia/mjpegtools/files/patch-lavtools_lav_io.c
new file mode 100644
index 00000000000..ec4c5668eae
--- /dev/null
+++ b/multimedia/mjpegtools/files/patch-lavtools_lav_io.c
@@ -0,0 +1,18 @@
+===================================================================
+RCS file: /cvsroot/mjpeg/mjpeg_play/lavtools/lav_io.c,v
+retrieving revision 1.74
+retrieving revision 1.78
+diff -u -r1.74 -r1.78
+--- lavtools/lav_io.c 2005/10/24 03:17:56 1.74
++++ lavtools/lav_io.c 2005/12/04 19:59:47 1.78
+@@ -1395,8 +1395,8 @@
+ break;
+ #ifdef HAVE_LIBQUICKTIME
+ case 'q':
+- res = fileno(((quicktime_t *)lav_file->qt_fd)->stream);
+- break;
++ res = lqt_fileno((quicktime_t *)lav_file->qt_fd);
++ break;
+ #endif
+ default:
+ res = -1;