diff options
author | dholland <dholland@pkgsrc.org> | 2008-07-27 20:10:42 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-07-27 20:10:42 +0000 |
commit | af5551f80fd240389c015035535818ec84f3249c (patch) | |
tree | 57e8dc96b11cddb1b8c0df25349f312702dec9ab /devel | |
parent | 5259e3fddad2abba0ea535959f6413183049bc48 (diff) | |
download | pkgsrc-af5551f80fd240389c015035535818ec84f3249c.tar.gz |
Fix broken build with gcc4.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cqual/distinfo | 4 | ||||
-rw-r--r-- | devel/cqual/patches/patch-ab | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/devel/cqual/distinfo b/devel/cqual/distinfo index eed9a070bdf..40d4315d086 100644 --- a/devel/cqual/distinfo +++ b/devel/cqual/distinfo @@ -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 --git a/devel/cqual/patches/patch-ab b/devel/cqual/patches/patch-ab index ecffeeac4c8..03335da133a 100644 --- a/devel/cqual/patches/patch-ab +++ b/devel/cqual/patches/patch-ab @@ -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') |