summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-10-21 19:18:11 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-10-21 19:18:11 +0200
commit6d19f23f648d1aaee59350cfdd97f564c405239f (patch)
tree6a84d5c0cbdb86bf4685e7ab1bfca730479f0753 /redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch
parent7a49d1c3c01e346c9efd56af8f4d418c9d519744 (diff)
downloadtde-packaging-6d19f23f648d1aaee59350cfdd97f564c405239f.tar.gz
tde-packaging-6d19f23f648d1aaee59350cfdd97f564c405239f.zip
RHEL/Fedora/MGA/MDV/Suse: update applications for TDE 3.5.13.1
Diffstat (limited to 'redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch')
-rw-r--r--redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch b/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch
new file mode 100644
index 000000000..c0b0edc76
--- /dev/null
+++ b/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch
@@ -0,0 +1,14 @@
+--- kmplayer-3.5.13.1/src/xineplayer.cpp.ORI 2012-10-04 19:44:38.403679339 +0200
++++ kmplayer-3.5.13.1/src/xineplayer.cpp 2012-10-04 19:48:14.399221962 +0200
+@@ -528,7 +528,11 @@
+ xine_event_create_listener_thread (event_queue, event_listener, NULL);
+ if (mrl == "cdda:/") {
+ int nr;
++#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
++ const char * const* mrls = xine_get_autoplay_mrls (xine, "CD", &nr);
++#else
+ char ** mrls = xine_get_autoplay_mrls (xine, "CD", &nr);
++#endif
+ running = 1;
+ for (int i = 0; i < nr; i++) {
+ TQString m (mrls[i]);