summaryrefslogtreecommitdiff
path: root/audio/amarok/files/patch-src-engine-xine-xine-engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/amarok/files/patch-src-engine-xine-xine-engine.cpp')
-rw-r--r--audio/amarok/files/patch-src-engine-xine-xine-engine.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/amarok/files/patch-src-engine-xine-xine-engine.cpp b/audio/amarok/files/patch-src-engine-xine-xine-engine.cpp
new file mode 100644
index 000000000000..83dcbfa62e8d
--- /dev/null
+++ b/audio/amarok/files/patch-src-engine-xine-xine-engine.cpp
@@ -0,0 +1,14 @@
+--- amarok/src/engine/xine/xine-engine.cpp.orig
++++ amarok/src/engine/xine/xine-engine.cpp
+@@ -1131,7 +1131,11 @@ bool XineEngine::metaDataForUrl(const KU
+
+ bool XineEngine::getAudioCDContents(const QString &device, KURL::List &urls)
+ {
++#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2)
+ char **xine_urls = NULL;
++#else
++ const char * const *xine_urls = NULL;
++#endif
+ int num;
+ int i = 0;
+