summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-04-15 20:38:37 +0000
committerdholland <dholland@pkgsrc.org>2012-04-15 20:38:37 +0000
commit0bedc54300401171e62f45985451dfe618d9d6ad (patch)
treec484bdccdaf789549824244f3a6bb77973f11006 /multimedia
parent8c1d0155b1769c2ef7b08db59aafd235d3b7940c (diff)
downloadpkgsrc-0bedc54300401171e62f45985451dfe618d9d6ad.tar.gz
Fix build with current xine-lib.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kmplayer-kde3/distinfo3
-rw-r--r--multimedia/kmplayer-kde3/patches/patch-src_xineplayer_cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/kmplayer-kde3/distinfo b/multimedia/kmplayer-kde3/distinfo
index 8995b0eb3f0..f51510def9f 100644
--- a/multimedia/kmplayer-kde3/distinfo
+++ b/multimedia/kmplayer-kde3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/04/10 04:04:21 markd Exp $
+$NetBSD: distinfo,v 1.2 2012/04/15 20:38:37 dholland Exp $
SHA1 (kmplayer-0.10.0c.tar.bz2) = 52bfa017e1360fdc60c10445090c867039da4830
RMD160 (kmplayer-0.10.0c.tar.bz2) = 4f7f291733f9a73f5838e028af5e5268d1a0ee10
@@ -6,3 +6,4 @@ Size (kmplayer-0.10.0c.tar.bz2) = 1047729 bytes
SHA1 (patch-aa) = 7e0c7d32ded98070438532c6365cafc0ef8bfd1f
SHA1 (patch-ab) = 6d0635e5d9ea62de7363f761493d80d9d9734857
SHA1 (patch-ac) = d91f1a27a0768e19c856079328db54d563e96128
+SHA1 (patch-src_xineplayer_cpp) = 0b8eb794c5c0868b38e97e2ad7ebc7a76297c778
diff --git a/multimedia/kmplayer-kde3/patches/patch-src_xineplayer_cpp b/multimedia/kmplayer-kde3/patches/patch-src_xineplayer_cpp
new file mode 100644
index 00000000000..a5d64d1da71
--- /dev/null
+++ b/multimedia/kmplayer-kde3/patches/patch-src_xineplayer_cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_xineplayer_cpp,v 1.1 2012/04/15 20:38:37 dholland Exp $
+
+Fix build with newer xine-lib.
+
+--- src/xineplayer.cpp~ 2007-12-21 21:51:44.000000000 +0000
++++ src/xineplayer.cpp
+@@ -528,7 +528,7 @@ void KXinePlayer::play (int repeat) {
+ xine_event_create_listener_thread (event_queue, event_listener, NULL);
+ if (mrl == "cdda:/") {
+ int nr;
+- char ** mrls = xine_get_autoplay_mrls (xine, "CD", &nr);
++ const char *const * mrls = xine_get_autoplay_mrls (xine, "CD", &nr);
+ running = 1;
+ for (int i = 0; i < nr; i++) {
+ QString m (mrls[i]);