aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvbcut
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2010-06-07 04:39:21 +0800
committernaddy <naddy@FreeBSD.org>2010-06-07 04:39:21 +0800
commita7e23ef2423b94523671d838b70763ecfea3ca60 (patch)
tree3d3fdf131c6f5d30a25430d16a62f0d82e33445f /multimedia/dvbcut
parent14d2f864caf57bceba3f0ac72ea827fafd27743d (diff)
downloadfreebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.gz
freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.zst
freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.zip
Bump PORTREVISION after libao update and handle API incompatibility.
Diffstat (limited to 'multimedia/dvbcut')
-rw-r--r--multimedia/dvbcut/Makefile4
-rw-r--r--multimedia/dvbcut/files/patch-src_playaudio.cpp10
2 files changed, 12 insertions, 2 deletions
diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile
index b23a0e3af9ab..62e82d2343cb 100644
--- a/multimedia/dvbcut/Makefile
+++ b/multimedia/dvbcut/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dvbcut
PORTVERSION= 0.6.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= http://www.mr511.de/dvbcut/
@@ -16,7 +16,7 @@ COMMENT= Qt application for cutting of MPEG PS and MPEG TS streams (DVB)
BUILD_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \
- ao.3:${PORTSDIR}/audio/libao \
+ ao.4:${PORTSDIR}/audio/libao \
mad.2:${PORTSDIR}/audio/libmad \
avutil.1:${PORTSDIR}/multimedia/ffmpeg
RUN_DEPENDS:= ${BUILD_DEPENDS}
diff --git a/multimedia/dvbcut/files/patch-src_playaudio.cpp b/multimedia/dvbcut/files/patch-src_playaudio.cpp
new file mode 100644
index 000000000000..bc3db4c00401
--- /dev/null
+++ b/multimedia/dvbcut/files/patch-src_playaudio.cpp
@@ -0,0 +1,10 @@
+--- src/playaudio.cpp.orig 2010-06-06 16:19:25.000000000 +0200
++++ src/playaudio.cpp 2010-06-06 16:19:47.000000000 +0200
+@@ -55,6 +55,7 @@ public:
+
+ ao_sample_format format;
+
++ memset(&format, 0, sizeof(format));
+ format.bits = 16;
+ format.channels = channels;
+ format.rate = samplerate;