aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-02-11 18:57:15 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-02-11 18:57:15 +0000
commit68b198602a541fa101a958b38a0e16a8ae072563 (patch)
tree454425c05af0d9f6e0fc4d5a9921ce59eeadafeb /multimedia/mjpegtools
parentdb48d53ccc52badfe5cc2fe5fa1e35fb1b58b467 (diff)
downloadports-68b198602a541fa101a958b38a0e16a8ae072563.tar.gz
ports-68b198602a541fa101a958b38a0e16a8ae072563.zip
- Fix build with new libquicktime
Submitted by: ankon via irc.freenode.org/#FreeBSD-GNOME Obtained from: mjpeg cvs
Notes
Notes: svn path=/head/; revision=155776
Diffstat (limited to 'multimedia/mjpegtools')
-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 4f425ab09dd5..b0c0c57c945c 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 000000000000..ec4c5668eaea
--- /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;