Apply upstream patch aaff080449ebcb66553ebf5b512f737b6191f339 to fix

build with gcc 4.6+ and clang. Via Al Viro.
This commit is contained in:
dholland 2013-02-21 18:12:26 +00:00
parent 761024dc6f
commit f5ecf25008
2 changed files with 20 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.2 2007/06/12 14:48:33 joerg Exp $
$NetBSD: distinfo,v 1.3 2013/02/21 18:12:26 dholland Exp $
SHA1 (sparse-0.3.tar.gz) = 1d868b29234176abd5f3f5463aad1f11d5268dc2
RMD160 (sparse-0.3.tar.gz) = 36bb7e5611f56c5b222f33a0853e8315af406704
Size (sparse-0.3.tar.gz) = 177462 bytes
SHA1 (patch-aa) = 234aa80cdd04835b9a8b2bfe4e41b0c7a1f07ff2
SHA1 (patch-ab) = 4240f8ff570592da6d838815edcb6a7976f23a07
SHA1 (patch-parse_h) = 8d13cdaa8a94e6db3b5cfa7db15344cbda14ee8e

View file

@ -0,0 +1,18 @@
$NetBSD: patch-parse_h,v 1.1 2013/02/21 18:12:26 dholland Exp $
Apply upstream patch aaff080449ebcb66553ebf5b512f737b6191f339 to fix
build with gcc 4.6+ and clang. Via Al Viro.
--- parse.h~ 2007-05-01 18:30:58.000000000 +0000
+++ parse.h
@@ -35,10 +35,6 @@ struct statement {
struct /* declaration */ {
struct symbol_list *declaration;
};
- struct /* label_arg */ {
- struct symbol *label;
- struct statement *label_statement;
- };
struct {
struct expression *expression;
struct expression *context;