From b3e11e7fe00792503de523c7049b9b972f3f6170 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 12 Oct 2012 23:59:02 -0500 Subject: [PATCH] Add build support for xine 1.2. Thanks to Francois Andriot. (cherry picked from commit 8d45a64dda4f4dedbd93144db9c8fcb6076eb712) --- amarok/src/engine/xine/xine-engine.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/amarok/src/engine/xine/xine-engine.cpp b/amarok/src/engine/xine/xine-engine.cpp index 8b02865a..ebbe2f54 100644 --- a/amarok/src/engine/xine/xine-engine.cpp +++ b/amarok/src/engine/xine/xine-engine.cpp @@ -1131,7 +1131,11 @@ bool XineEngine::metaDataForUrl(const KURL &url, Engine::SimpleMetaBundle &b) 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;