diff options
author | tnn <tnn@pkgsrc.org> | 2008-11-08 11:18:14 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-11-08 11:18:14 +0000 |
commit | 0052932027b27c5353af23ac51b69f2548206813 (patch) | |
tree | c686c1cb78419e4587cb89e8e603b74032124cad /net/libIDL/patches | |
parent | 38916358e5994eadd631b200765886580bda15f7 (diff) | |
download | pkgsrc-0052932027b27c5353af23ac51b69f2548206813.tar.gz |
patch-aa: GNOME bug #559395: fix build w/ bison-2.4.
Diffstat (limited to 'net/libIDL/patches')
-rw-r--r-- | net/libIDL/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/libIDL/patches/patch-aa b/net/libIDL/patches/patch-aa new file mode 100644 index 00000000000..b8d5a018687 --- /dev/null +++ b/net/libIDL/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.3 2008/11/08 11:18:14 tnn Exp $ + +--- parser.y.orig 2007-01-02 00:41:34.000000000 +0100 ++++ parser.y +@@ -607,7 +607,7 @@ struct_type: z_props TOK_STRUCT + { $<str>$ = "struct"; } + z_new_scope_catch '{' { + g_hash_table_insert (__IDL_structunion_ht, $4, $4); +- $$ = IDL_type_struct_new ($4, NULL); ++ $<tree>$ = IDL_type_struct_new ($4, NULL); + } member_list + '}' pop_scope { + g_hash_table_remove (__IDL_structunion_ht, $4); +@@ -624,7 +624,7 @@ union_type: z_props TOK_UNION + switch_type_spec + ')' '{' { + g_hash_table_insert (__IDL_structunion_ht, $4, $4); +- $$ = IDL_type_union_new ($4, $7, NULL); ++ $<tree>$ = IDL_type_union_new ($4, $7, NULL); + } switch_body + '}' pop_scope { + g_hash_table_remove (__IDL_structunion_ht, $4); |