--- /dev/null
+
+#
+# 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);
--- /dev/null
+DESCRIPTION = "The X MultiMedia System"
+HOMEPAGE = "http://www.xmms.org/"
+LICENSE = "GPL"
+SECTION = "x11/multimedia"
+# TODO add esd mikmod vorbis
+DEPENDS = "gtk+-1.2"
+
+SRC_URI = "http://www.xmms.org/files/1.2.x/xmms-${PV}.tar.bz2 \
+ file://gcc4.patch;patch=1"
+
+inherit autotools
+
+# TODO enable esd mikmod vorbis
+EXTRA_OECONF = "--disable-opengl --disable-esd --disable-mikmod --disable-vorbis"
+
+do_configure() {
+ oe_runconf
+}
+
+do_compile() {
+ oe_runmake LIBTOOL=${STAGING_BINDIR}/${TARGET_PREFIX}libtool
+}
+