- Fix build with new libquicktime

Submitted by:	ankon via irc.freenode.org/#FreeBSD-GNOME
Obtained from:	mjpeg cvs
This commit is contained in:
Michael Johnson 2006-02-11 18:57:15 +00:00
parent db48d53ccc
commit 68b198602a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155776
2 changed files with 19 additions and 1 deletions

View file

@ -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}" \

View file

@ -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;