summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-05-23 11:51:53 +0000
committerrillig <rillig@pkgsrc.org>2007-05-23 11:51:53 +0000
commitd720b0ef2dd7e04b4e7c14a23129357517a83b19 (patch)
tree8e70d914ff835d35791429734a9ccf313b782568
parent2827d7d60027ff704f7e1fe03ca3630825c25118 (diff)
downloadpkgsrc-d720b0ef2dd7e04b4e7c14a23129357517a83b19.tar.gz
Fixed gcc4 errors and warnings.
-rw-r--r--audio/xmms-madspin/distinfo4
-rw-r--r--audio/xmms-madspin/patches/patch-configc12
-rw-r--r--audio/xmms-madspin/patches/patch-madspinh16
3 files changed, 31 insertions, 1 deletions
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 <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <gtk/gtk.h>
+ #include <xmms/configfile.h>
+ #include <GL/gl.h>
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);