From 9422b28be3c4a230a184af6c96057ec3126b1c76 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 23 May 2007 11:51:53 +0000 Subject: Fixed gcc4 errors and warnings. --- audio/xmms-madspin/distinfo | 4 +++- audio/xmms-madspin/patches/patch-configc | 12 ++++++++++++ audio/xmms-madspin/patches/patch-madspinh | 16 ++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 audio/xmms-madspin/patches/patch-configc create mode 100644 audio/xmms-madspin/patches/patch-madspinh diff --git a/audio/xmms-madspin/distinfo b/audio/xmms-madspin/distinfo index afcab77bcba..e4637d422d8 100644 --- a/audio/xmms-madspin/distinfo +++ b/audio/xmms-madspin/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 20:39:55 agc Exp $ +$NetBSD: distinfo,v 1.5 2007/05/23 11:51:53 rillig Exp $ SHA1 (madspin-0.05.tar.gz) = 4bddb3e77da8f28a17c2a9190c0a345c29159b42 RMD160 (madspin-0.05.tar.gz) = 8613d81ea06d101a62eec46291c2c4204199d203 Size (madspin-0.05.tar.gz) = 565244 bytes SHA1 (patch-aa) = 4cc8d55a32ff980376ca965d6e09d1a9ab928b7e +SHA1 (patch-configc) = 18ac135023338e77a366be486149466dba748da9 +SHA1 (patch-madspinh) = 427ff8c9f6f5d32bf3288f161ae3464358f52966 diff --git a/audio/xmms-madspin/patches/patch-configc b/audio/xmms-madspin/patches/patch-configc new file mode 100644 index 00000000000..52596fa00f8 --- /dev/null +++ b/audio/xmms-madspin/patches/patch-configc @@ -0,0 +1,12 @@ +$NetBSD: patch-configc,v 1.1 2007/05/23 11:51:53 rillig Exp $ + +--- config.c.orig 2003-02-21 01:11:05.000000000 +0100 ++++ config.c 2007-05-23 13:47:20.000000000 +0200 +@@ -17,6 +17,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/audio/xmms-madspin/patches/patch-madspinh b/audio/xmms-madspin/patches/patch-madspinh new file mode 100644 index 00000000000..fd92db6cb33 --- /dev/null +++ b/audio/xmms-madspin/patches/patch-madspinh @@ -0,0 +1,16 @@ +$NetBSD: patch-madspinh,v 1.1 2007/05/23 11:51:54 rillig Exp $ + +gcc4 says: +config.c:34: error: static declaration of 'config_window' follows non-static declaration +madspin.h:11: error: previous declaration of 'config_window' was here + +--- madspin.h.orig 2003-02-20 21:20:32.000000000 +0100 ++++ madspin.h 2007-05-23 13:49:31.000000000 +0200 +@@ -8,7 +8,6 @@ typedef struct + madspin_config; + + /* config.c */ +-extern GtkWidget *config_window; + extern madspin_config config; + extern void madspin_configure (void); + extern void config_read (void); -- cgit v1.2.3