aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kdemultimedia4
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kdemultimedia4')
-rw-r--r--multimedia/kdemultimedia4/Makefile1
-rw-r--r--multimedia/kdemultimedia4/files/patch-akode_artsplugin_akodePlayObject_impl.cpp33
2 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia4/Makefile b/multimedia/kdemultimedia4/Makefile
index edcf681d6742..859e159c612b 100644
--- a/multimedia/kdemultimedia4/Makefile
+++ b/multimedia/kdemultimedia4/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdemultimedia
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/multimedia/kdemultimedia4/files/patch-akode_artsplugin_akodePlayObject_impl.cpp b/multimedia/kdemultimedia4/files/patch-akode_artsplugin_akodePlayObject_impl.cpp
new file mode 100644
index 000000000000..cf6e40c60d1c
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-akode_artsplugin_akodePlayObject_impl.cpp
@@ -0,0 +1,33 @@
+--- akode_artsplugin/akodePlayObject_impl.cpp.orig Fri Jul 21 22:10:02 2006
++++ akode_artsplugin/akodePlayObject_impl.cpp Fri Jul 21 22:13:13 2006
+@@ -82,6 +82,8 @@
+
+ akodePlayObject_impl::~akodePlayObject_impl()
+ {
++ delete m_packetQueue;
++
+ unload();
+ }
+
+@@ -219,10 +221,9 @@
+ delete bufferedDecoder;
+ bufferedDecoder = 0;
+ }
+-#else
+- delete frameDecoder
+- frameDecoder = 0;
+ #endif
++ delete frameDecoder;
++ frameDecoder = 0;
+ decoder = 0;
+ if (buffer != inBuffer)
+ delete inBuffer;
+@@ -301,7 +302,7 @@
+ {
+ arts_debug("akode: readFrame");
+
+- if (!buffer || !decoder) return false;
++ if (!inBuffer || !decoder) return false;
+ if (m_bytebuffer) processQueue();
+ if(!decoder->readFrame(inBuffer)) {
+ if (decoder->eof()) { \ No newline at end of file