pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-madspin Fixed gcc4 errors and warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63545fde1d1f
branches:  trunk
changeset: 529042:63545fde1d1f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 23 11:51:53 2007 +0000

description:
Fixed gcc4 errors and warnings.

diffstat:

 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 deletions(-)

diffs (49 lines):

diff -r 4f74d40d9520 -r 63545fde1d1f audio/xmms-madspin/distinfo
--- a/audio/xmms-madspin/distinfo       Wed May 23 11:47:40 2007 +0000
+++ b/audio/xmms-madspin/distinfo       Wed May 23 11:51:53 2007 +0000
@@ -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 -r 4f74d40d9520 -r 63545fde1d1f audio/xmms-madspin/patches/patch-configc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-madspin/patches/patch-configc  Wed May 23 11:51:53 2007 +0000
@@ -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 -r 4f74d40d9520 -r 63545fde1d1f audio/xmms-madspin/patches/patch-madspinh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-madspin/patches/patch-madspinh Wed May 23 11:51:53 2007 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index