diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-12-23 01:16:46 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-12-23 01:16:46 +0800 |
commit | cde200a4b19a57f89e2a27c762b2c0a7ddbb13c3 (patch) | |
tree | 4b99c2aecfaaa98e2ec1ad77b036db706bd8f4e2 /security/sfs/files | |
parent | 758ecb64b3b30c56c2a0fca131e9e1e072f522c1 (diff) | |
download | freebsd-ports-gnome-cde200a4b19a57f89e2a27c762b2c0a7ddbb13c3.tar.gz freebsd-ports-gnome-cde200a4b19a57f89e2a27c762b2c0a7ddbb13c3.tar.zst freebsd-ports-gnome-cde200a4b19a57f89e2a27c762b2c0a7ddbb13c3.zip |
fix build with new bison
PR: 45900
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Diffstat (limited to 'security/sfs/files')
-rw-r--r-- | security/sfs/files/patch-parse.yy | 61 | ||||
-rw-r--r-- | security/sfs/files/patch-scan.ll | 17 |
2 files changed, 78 insertions, 0 deletions
diff --git a/security/sfs/files/patch-parse.yy b/security/sfs/files/patch-parse.yy new file mode 100644 index 000000000000..d0ee9e57ca86 --- /dev/null +++ b/security/sfs/files/patch-parse.yy @@ -0,0 +1,61 @@ +--- rpcc/parse.yy.orig Sat Jan 27 03:43:23 2001 ++++ rpcc/parse.yy Sun Dec 1 23:45:34 2002 +@@ -1,4 +1,4 @@ +-/* $Id: parse.yy,v 1.10 1999/05/14 00:16:01 dm Exp $ */ ++/* $Id: parse.yy,v 1.11 2002/10/23 21:02:33 dm Exp $ */ + + /* + * +@@ -23,6 +23,7 @@ + + %{ + #include "rpcc.h" ++#define YYSTYPE YYSTYPE + + static int proc_compare (const void *, const void *); + static int vers_compare (const void *, const void *); +@@ -97,6 +98,7 @@ + s->sconst->id = $2; + s->sconst->val = $4; + } ++ ; + + def_enum: T_ENUM newid '{' + { +@@ -129,6 +131,7 @@ + s->sunion->tagid = $6; + } + union_taglist '}' ';' ++ ; + + def_program: T_PROGRAM newid '{' + { +@@ -143,6 +146,7 @@ + qsort (s->sprogram->vers.base (), s->sprogram->vers.size (), + sizeof (rpc_vers), vers_compare); + } ++ ; + + version_list: version_decl | version_list version_decl + ; +@@ -224,15 +228,19 @@ + + struct_decl: declaration + { symlist.back ().sstruct->decls.push_back ($1); } ++ ; + + enum_taglist: enum_tag {} + | enum_taglist ',' enum_tag {} ++ ; + + enum_tag: enum_cnstag + { symlist.back ().senum->tags.push_back ($1); } ++ ; + + enum_cnstag: newid '=' value { $$.id = $1; $$.val = $3; } +- | newid { $$.id = $1; }; ++ | newid { $$.id = $1; } ++ ; + + declaration: type T_ID ';' + { $$.id = $2; $$.type = $1; $$.qual = rpc_decl::SCALAR; } diff --git a/security/sfs/files/patch-scan.ll b/security/sfs/files/patch-scan.ll new file mode 100644 index 000000000000..cc6529267ea8 --- /dev/null +++ b/security/sfs/files/patch-scan.ll @@ -0,0 +1,17 @@ +--- rpcc/scan.ll.orig Sat Jan 27 03:43:23 2001 ++++ rpcc/scan.ll Sun Dec 1 23:45:45 2002 +@@ -1,5 +1,5 @@ + /* -*-fundamental-*- */ +-/* $Id: scan.ll,v 1.7 1999/11/03 15:43:14 dm Exp $ */ ++/* $Id: scan.ll,v 1.8 2002/10/23 21:02:33 dm Exp $ */ + + /* + * +@@ -23,6 +23,7 @@ + */ + + %{ ++#define YYSTYPE YYSTYPE + #include "rpcc.h" + #include "parse.h" + |