summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch')
-rw-r--r--redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch b/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch
new file mode 100644
index 000000000..386488625
--- /dev/null
+++ b/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch
@@ -0,0 +1,14 @@
+--- kaffeine-3.5.13.1/kaffeine/src/player-parts/xine-part/kxinewidget.cpp.ORI 2012-10-03 21:39:27.711879801 +0200
++++ kaffeine-3.5.13.1/kaffeine/src/player-parts/xine-part/kxinewidget.cpp 2012-10-03 21:40:35.174370892 +0200
+@@ -2642,7 +2642,11 @@
+
+ bool KXineWidget::getAutoplayPluginURLS(const TQString& plugin, TQStringList& list)
+ {
++#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
++ const char* const* urls = NULL;
++#else
+ char** urls = NULL;
++#endif
+ int num;
+ int i = 0;
+