pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cgdb Make this build with gcc4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc1e622eb6a8
branches:  trunk
changeset: 515206:cc1e622eb6a8
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jun 27 15:25:59 2006 +0000

description:
Make this build with gcc4.

diffstat:

 devel/cgdb/distinfo         |   3 ++-
 devel/cgdb/patches/patch-ae |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 2552554a390a -r cc1e622eb6a8 devel/cgdb/distinfo
--- a/devel/cgdb/distinfo       Tue Jun 27 14:56:42 2006 +0000
+++ b/devel/cgdb/distinfo       Tue Jun 27 15:25:59 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/03/21 18:18:15 minskim Exp $
+$NetBSD: distinfo,v 1.5 2006/06/27 15:25:59 minskim Exp $
 
 SHA1 (cgdb-0.4.0.tar.gz) = 900105c73e8c16dec9f3e37343abbba120d36df6
 RMD160 (cgdb-0.4.0.tar.gz) = f79e567ccf96d5d473e1cd4859ac97bc17619f67
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 934748a6293e3f1bfc14381b72b613c44a906542
 SHA1 (patch-ac) = 37ebf2e9e6a2620e48363651903c8114858f91c0
 SHA1 (patch-ad) = cf16c7f044783e5d57f2e4e4a4cbdda7b0cca1ce
+SHA1 (patch-ae) = 0c032cb7cd6010db466d1cf2c35fcf6516b422e1
diff -r 2552554a390a -r cc1e622eb6a8 devel/cgdb/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cgdb/patches/patch-ae       Tue Jun 27 15:25:59 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/06/27 15:25:59 minskim Exp $
+
+--- cgdb/src/cgdbrc.c.orig     2003-10-24 15:20:11.000000000 +0000
++++ cgdb/src/cgdbrc.c
+@@ -416,7 +416,7 @@ int command_parse_set( void )
+                     } 
+                     if( variable->data ) 
+                     { free( variable->data ); }
+-                    (char *)variable->data = strdup( data );
++                    variable->data = (void *)strdup( data );
+                 } else {
+                     rv = 1;
+                 }



Home | Main Index | Thread Index | Old Index