pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gdb Some changes take a long time. This package ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bde481c2c44a
branches: trunk
changeset: 537350:bde481c2c44a
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 06 19:25:09 2008 +0000
description:
Some changes take a long time. This package had been broken since two
years. The fix was trivially copied from devel/coconut, which had the
same problem concerning an "invalid lvalue in increment".
diffstat:
devel/gdb/Makefile | 6 ++----
devel/gdb/distinfo | 3 ++-
devel/gdb/patches/patch-ob | 25 +++++++++++++++++++++++++
3 files changed, 29 insertions(+), 5 deletions(-)
diffs (70 lines):
diff -r 2d3e9098f7c3 -r bde481c2c44a devel/gdb/Makefile
--- a/devel/gdb/Makefile Sun Jan 06 19:13:31 2008 +0000
+++ b/devel/gdb/Makefile Sun Jan 06 19:25:09 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2007/07/03 12:41:18 lkundrak Exp $
+# $NetBSD: Makefile,v 1.35 2008/01/06 19:25:09 rillig Exp $
#
DISTNAME= gdb-5.3
@@ -10,8 +10,6 @@
HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
COMMENT= Symbolic debugger for multiple language frontends
-BROKEN_IN= pkgsrc-2005Q4 pkgsrc-2006Q1 pkgsrc-2006Q4
-
NOT_FOR_PLATFORM= Darwin-*-*
BROKEN_GETTEXT_DETECTION= yes
@@ -22,7 +20,7 @@
REPLACE_LOCALEDIR_PATTERNS+= Make-in
INSTALL_TARGET= install install-info
TEST_TARGET= check
-INFO_FILES= # PLIST.common
+INFO_FILES= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
.include "../../mk/bsd.prefs.mk"
diff -r 2d3e9098f7c3 -r bde481c2c44a devel/gdb/distinfo
--- a/devel/gdb/distinfo Sun Jan 06 19:13:31 2008 +0000
+++ b/devel/gdb/distinfo Sun Jan 06 19:25:09 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2007/07/11 13:46:38 lkundrak Exp $
+$NetBSD: distinfo,v 1.12 2008/01/06 19:25:09 rillig Exp $
SHA1 (gdb-5.3.tar.gz) = 24a6c9da6e89b1b82b7508f27f94098d989ff662
RMD160 (gdb-5.3.tar.gz) = 3f88dc11115de08708c50c73b10acaf00ed25e96
@@ -21,3 +21,4 @@
SHA1 (patch-ap) = e79d8a70d12098716791e3349d8606d07f8acd47
SHA1 (patch-aq) = f7c356f7c500b84feb141ba693390378e5f71642
SHA1 (patch-as) = 77a2f8eb5e1f076cba915c80113cfe5bf617efaf
+SHA1 (patch-ob) = 52c017dfa9f535edc9520144efa8ef04a8020832
diff -r 2d3e9098f7c3 -r bde481c2c44a devel/gdb/patches/patch-ob
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb/patches/patch-ob Sun Jan 06 19:25:09 2008 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ob,v 1.1 2008/01/06 19:25:10 rillig Exp $
+
+gcc4 complained:
+gdbtypes.c:2961: error: invalid lvalue in increment
+
+--- include/obstack.h.orig 2001-01-21 00:02:00.000000000 +0000
++++ include/obstack.h 2007-11-30 21:04:44.000000000 +0000
+@@ -421,7 +421,7 @@ __extension__ \
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
+ _obstack_newchunk (__o, sizeof (void *)); \
+- *((void **)__o->next_free)++ = ((void *)datum); \
++ *((*(void ***)&(__o->next_free)))++ = ((void *)datum); \
+ (void) 0; })
+
+ # define obstack_int_grow(OBSTACK,datum) \
+@@ -429,7 +429,7 @@ __extension__ \
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + sizeof (int) > __o->chunk_limit) \
+ _obstack_newchunk (__o, sizeof (int)); \
+- *((int *)__o->next_free)++ = ((int)datum); \
++ *((*(int **)&(__o->next_free)))++ = ((int)datum); \
+ (void) 0; })
+
+ # define obstack_ptr_grow_fast(h,aptr) (*((void **) (h)->next_free)++ = (void *)aptr)
Home |
Main Index |
Thread Index |
Old Index