summaryrefslogtreecommitdiff
path: root/recipes/xmms/files/gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xmms/files/gcc4.patch')
-rw-r--r--recipes/xmms/files/gcc4.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/xmms/files/gcc4.patch b/recipes/xmms/files/gcc4.patch
new file mode 100644
index 0000000000..0619803820
--- /dev/null
+++ b/recipes/xmms/files/gcc4.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- xmms-1.2.10/General/ir/ir.c~gcc4
++++ xmms-1.2.10/General/ir/ir.c
+@@ -16,10 +16,10 @@
+ #include "ir.h"
+
+ /* Important stuff to know */
+-static gboolean keepGoing = FALSE;
++extern gboolean keepGoing = FALSE;
+
+ /* The thread handle */
+-static pthread_t irapp_thread;
++extern pthread_t irapp_thread;
+
+ /* Declarations for calls that we need to mention in the plugin struct */
+ static void init(void);