summaryrefslogtreecommitdiffstats
path: root/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch')
-rw-r--r--redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch b/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch
new file mode 100644
index 000000000..2328a62b8
--- /dev/null
+++ b/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch
@@ -0,0 +1,14 @@
+--- amarok-3.5.13.1/amarok/src/engine/xine/xine-engine.cpp.ORI 2012-10-02 20:00:20.751039350 +0000
++++ amarok-3.5.13.1/amarok/src/engine/xine/xine-engine.cpp 2012-10-02 20:05:34.336512276 +0000
+@@ -1131,7 +1131,11 @@
+
+ bool XineEngine::getAudioCDContents(const TQString &device, KURL::List &urls)
+ {
++#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
++ const char * const* xine_urls = NULL;
++#else
+ char **xine_urls = NULL;
++#endif
+ int num;
+ int i = 0;
+