summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/transcode/Makefile8
-rw-r--r--multimedia/transcode/files/patch-import__probe_ffmpeg.c11
2 files changed, 16 insertions, 3 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index 0f02328afb75..25dcb91c257c 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -3,7 +3,7 @@
PORTNAME= transcode
PORTVERSION= 1.1.7
-PORTREVISION= 17
+PORTREVISION= 18
CATEGORIES= multimedia
MASTER_SITES= http://cdn.bitbucket.org/france/transcode-tcforge/downloads/
@@ -15,13 +15,15 @@ LICENSE= GPLv2
LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
USE_LDCONFIG= yes
-USES= gmake pkgconfig tar:bzip2 libtool
+USES= gmake libtool pkgconfig tar:bzip2
+USE_GCC= any
WANT_SDL= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oss
CPPFLAGS+= -isystem ${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
NO_OPTIONS_SORT= yes
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS X11 MPEG2 BKTR POSTPROC FREETYPE LAME \
@@ -149,6 +151,6 @@ post-patch:
post-stage:
@(cd ${STAGEDIR}${PREFIX} && \
- ${FIND} -s lib/transcode -type f >> ${TMPPLIST})
+ ${FIND} -s lib/transcode -type f -or -type l >> ${TMPPLIST})
.include <bsd.port.mk>
diff --git a/multimedia/transcode/files/patch-import__probe_ffmpeg.c b/multimedia/transcode/files/patch-import__probe_ffmpeg.c
new file mode 100644
index 000000000000..9cc46c2c68fb
--- /dev/null
+++ b/multimedia/transcode/files/patch-import__probe_ffmpeg.c
@@ -0,0 +1,11 @@
+--- import/probe_ffmpeg.c.orig 2011-11-19 16:50:27 UTC
++++ import/probe_ffmpeg.c
+@@ -120,7 +120,7 @@
+
+ translate_info(lavf_dmx_context, ipipe->probe_info);
+
+- av_close_input_file(lavf_dmx_context);
++ avformat_close_input(lavf_dmx_context);
+ return;
+ }
+