pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cqual Fix broken build with gcc4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/50197be03a1a
branches: trunk
changeset: 545176:50197be03a1a
user: dholland <dholland%pkgsrc.org@localhost>
date: Sun Jul 27 20:10:42 2008 +0000
description:
Fix broken build with gcc4.
diffstat:
devel/cqual/distinfo | 4 ++--
devel/cqual/patches/patch-ab | 14 ++++++++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diffs (42 lines):
diff -r 9c4b500c1284 -r 50197be03a1a devel/cqual/distinfo
--- a/devel/cqual/distinfo Sun Jul 27 19:30:15 2008 +0000
+++ b/devel/cqual/distinfo Sun Jul 27 20:10:42 2008 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.9 2006/07/17 22:16:55 rillig Exp $
+$NetBSD: distinfo,v 1.10 2008/07/27 20:10:42 dholland Exp $
SHA1 (cqual-0.991.tar.gz) = f559af6947465ca242f19c1f499c7cb004e713e4
RMD160 (cqual-0.991.tar.gz) = e3837a11c75f750196ec4be7f991ec519c1260f6
Size (cqual-0.991.tar.gz) = 1197696 bytes
SHA1 (patch-aa) = 5ccdb7354ad0fc5b993133ca748a106d2f3dc30f
-SHA1 (patch-ab) = 5ededa6979542cb83c53abd38fe9923495562a99
+SHA1 (patch-ab) = 8bebf19db4ba5c38ed54122678a03f8c618600a0
SHA1 (patch-ac) = 0aee16d388ff2d40ca176c0f313505d83ee3aa52
SHA1 (patch-ba) = 316aae97a0031bbe229baaa0519ad25a2b901663
SHA1 (patch-bb) = ef08b433f1f0bec808d2536e322f7c1dc14c9142
diff -r 9c4b500c1284 -r 50197be03a1a devel/cqual/patches/patch-ab
--- a/devel/cqual/patches/patch-ab Sun Jul 27 19:30:15 2008 +0000
+++ b/devel/cqual/patches/patch-ab Sun Jul 27 20:10:42 2008 +0000
@@ -1,10 +1,20 @@
-$NetBSD: patch-ab,v 1.1 2006/01/13 07:51:42 rillig Exp $
+$NetBSD: patch-ab,v 1.2 2008/07/27 20:10:42 dholland Exp $
This patch avoid tons of #line warnings when parsing the output of newer
gcc.
--- src/c-lex.c.orig 2003-09-10 20:52:02.000000000 +0200
-+++ src/c-lex.c 2006-01-12 03:05:04.000000000 +0100
++++ src/c-lex.c 2008-07-27 15:29:09.000000000 -0400
+@@ -96,8 +96,8 @@ static location make_location(struct Loc
+ return last_allocated_location;
+
+ last_allocated_location = ralloc(parse_region, struct Location);
++ l.location_index = next_location_index++;
+ *last_allocated_location = l;
+- last_allocated_location->location_index = next_location_index++;
+
+ return last_allocated_location;
+ }
@@ -843,6 +843,9 @@ linenum:
c = GETC();
while (c == ' ' || c == '\t')
Home |
Main Index |
Thread Index |
Old Index