pkgsrc-Users archive

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

new cgdb version



Hi,

Current version of devel/cgdb package available in pkgsrc is very old.
It builds and runs fine, but it misses some really nice features v0.6
introduced. The attached patch upgrades devel/cgdb to version 0.6.5.

/ptw
diff -auNr cgdb/Makefile cgdb-current/Makefile
--- cgdb/Makefile       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/Makefile       2011-04-08 15:04:20.000000000 +0200
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2010/03/17 15:18:18 joerg Exp $
+# $NetBSD: $
 #
 
-DISTNAME=      cgdb-0.4.0
-PKGREVISION=   3
+DISTNAME=      cgdb-0.6.5
+PKGREVISION=   0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=cgdb/}
 
diff -auNr cgdb/distinfo cgdb-current/distinfo
--- cgdb/distinfo       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/distinfo       2011-04-08 15:24:31.000000000 +0200
@@ -1,10 +1,6 @@
 $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
-Size (cgdb-0.4.0.tar.gz) = 471395 bytes
-SHA1 (patch-aa) = 9fe547d5491d2c84ef1fd6e8fa634dd0f789c078
-SHA1 (patch-ab) = 934748a6293e3f1bfc14381b72b613c44a906542
-SHA1 (patch-ac) = 37ebf2e9e6a2620e48363651903c8114858f91c0
-SHA1 (patch-ad) = cf16c7f044783e5d57f2e4e4a4cbdda7b0cca1ce
-SHA1 (patch-ae) = 0c032cb7cd6010db466d1cf2c35fcf6516b422e1
+SHA1 (cgdb-0.6.5.tar.gz) = a47892b3eee5d3520e5f99f207e8ca2bc18ecf43
+RMD160 (cgdb-0.6.5.tar.gz) = cdf3c135b6ef01227e11a8dc2962a0aa93b74d9f
+Size (cgdb-0.6.5.tar.gz) = 905620 bytes
+SHA1 (patch-aa) = 135d106ebf96ffdc75939f4373a042eee05d50bb
diff -auNr cgdb/patches/patch-aa cgdb-current/patches/patch-aa
--- cgdb/patches/patch-aa       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/patches/patch-aa       2011-04-08 15:24:21.000000000 +0200
@@ -1,24 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2006/03/21 18:18:15 minskim Exp $
-
---- various/util/src/pseudo.c.orig     2003-04-27 17:04:04.000000000 -0700
-+++ various/util/src/pseudo.c
-@@ -88,6 +88,7 @@
- #define set_errno(errnum) (errno = (errnum), -1)
- 
- 
-+#ifndef HAVE_STRLCPY
- /* strlcpy: Used instead of strcpy. Copies src into dst size bytes long.
-  *
-  * dst: destination
-@@ -119,6 +120,7 @@ static size_t strlcpy(char *dst, const c
- 
-     return s - src - 1;
- }
-+#endif
- 
- static int groupname2gid(const char *groupname) {
-       FILE *group = fopen("/etc/group", "r");
-@@ -327,6 +329,7 @@ int pty_open(int *masterfd, int *slavefd
+--- various/util/src/pseudo.c.orig     2011-04-08 15:16:26.000000000 +0200
++++ various/util/src/pseudo.c  2011-04-08 15:17:02.000000000 +0200
+@@ -331,6 +331,7 @@
  
  #ifndef HAVE_CYGWIN 
  #ifndef HAVE_LINUX /* linux does not use the streams module */
@@ -26,7 +8,7 @@
        /*
         * Push the appropriate streams modules, as described in Solaris pts(7).
         * HP-UX pts(7) doesn't have ttcompat module.
-@@ -355,6 +358,7 @@ int pty_open(int *masterfd, int *slavefd
+@@ -359,6 +360,7 @@
  #endif
  #endif
  #endif
diff -auNr cgdb/patches/patch-ab cgdb-current/patches/patch-ab
--- cgdb/patches/patch-ab       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/patches/patch-ab       1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/03/21 18:18:15 minskim Exp $
-
---- configure.in.orig  2003-10-28 19:13:49.000000000 -0800
-+++ configure.in
-@@ -119,7 +119,7 @@ AC_PROG_GCC_TRADITIONAL
- AC_FUNC_SETPGRP
- AC_TYPE_SIGNAL
- AC_FUNC_VPRINTF
--AC_CHECK_FUNCS(mkdir putenv select strdup strerror)
-+AC_CHECK_FUNCS(mkdir putenv select strdup strerror strlcpy)
- 
- #tgdb/Makefile tgdb/annotate-two-src/Makefile tgdb/gdbmi-src/Makefile 
tgdb/lib/Makefile)
- AC_OUTPUT(Makefile \
diff -auNr cgdb/patches/patch-ac cgdb-current/patches/patch-ac
--- cgdb/patches/patch-ac       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/patches/patch-ac       1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2006/03/21 18:18:15 minskim Exp $
-
---- config.h.in.orig   2003-03-29 09:17:22.000000000 -0800
-+++ config.h.in
-@@ -126,6 +126,9 @@
- /* Define to 1 if you have the <string.h> header file. */
- #undef HAVE_STRING_H
- 
-+/* Define to 1 if you have the `strlcpy' function. */
-+#undef HAVE_STRLCPY
-+
- /* Define to 1 if you have the <sys/ioctl.h> header file. */
- #undef HAVE_SYS_IOCTL_H
- 
diff -auNr cgdb/patches/patch-ad cgdb-current/patches/patch-ad
--- cgdb/patches/patch-ad       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/patches/patch-ad       1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2006/03/21 18:18:15 minskim Exp $
-
---- configure.orig     2006-03-21 10:06:15.000000000 -0800
-+++ configure
-@@ -6026,7 +6026,7 @@ done
- 
- 
- 
--for ac_func in mkdir putenv select strdup strerror
-+for ac_func in mkdir putenv select strdup strerror strlcpy
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for $ac_func" >&5
diff -auNr cgdb/patches/patch-ae cgdb-current/patches/patch-ae
--- cgdb/patches/patch-ae       2011-09-02 18:13:15.000000000 +0200
+++ cgdb-current/patches/patch-ae       1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-$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