File xmms2-0.7-fixwarnings.patch of Package xmms2

Index: xmms2-0.7DrNo/src/xmms/compat/signal_unix.c
===================================================================
--- xmms2-0.7DrNo.orig/src/xmms/compat/signal_unix.c
+++ xmms2-0.7DrNo/src/xmms/compat/signal_unix.c
@@ -64,8 +64,7 @@ sigwaiter (gpointer data)
 				break;
 		}
 	}
-
-return;
+	return NULL;
 }
 
 void
Index: xmms2-0.7DrNo/src/xmms/visualization/unixshm.c
===================================================================
--- xmms2-0.7DrNo.orig/src/xmms/visualization/unixshm.c
+++ xmms2-0.7DrNo/src/xmms/visualization/unixshm.c
@@ -13,7 +13,7 @@
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  *  Lesser General Public License for more details.
  */
-
+#define _GNU_SOURCE
 #include <sys/shm.h>
 #include <sys/sem.h>
 #include <sys/stat.h>