summaryrefslogtreecommitdiff
path: root/audio/amarok/files/patch-src-engine-xine-xine-engine.cpp
blob: 83dcbfa62e8dece223395a04ab710fb4a9c72798 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;