From 61f0a72155b9e1de96bd20c22f033c27a8045b72 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 26 Oct 2002 20:55:59 +0000 Subject: Fix a build problem with bison 1.75. Reported by: tcsh Obtained from: GNOME CVS --- devel/bonobo-activation/files/patch-temp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devel/bonobo-activation/files/patch-temp (limited to 'devel/bonobo-activation') diff --git a/devel/bonobo-activation/files/patch-temp b/devel/bonobo-activation/files/patch-temp new file mode 100644 index 00000000000..e9ea286d8d7 --- /dev/null +++ b/devel/bonobo-activation/files/patch-temp @@ -0,0 +1,15 @@ +This patch corrects an incompatibility problem with bison 1.50 and above. +It was taken from bonobo-activation CVS, and can be removed in the next release +of the port. + +--- server/activation-context-query-parser.y.orig Sat Oct 26 16:51:45 2002 ++++ server/activation-context-query-parser.y Sat Oct 26 16:52:00 2002 +@@ -155,7 +155,7 @@ + stringlist: P_CONST_STRING { $$ = g_slist_prepend (NULL, $1); } + | stringlist COMMA P_CONST_STRING { $$ = g_slist_append ($1, $3); }; + +-expr_variable: P_DOLLAR P_CONST_ID { $$ = qexp_variable_new ($2); } ++expr_variable: P_DOLLAR P_CONST_ID { $$ = qexp_variable_new ($2); }; + + expr_function: P_CONST_ID LPAREN exprlist RPAREN { $$ = qexp_function_new ($1, $3); } + | P_CONST_ID LPAREN RPAREN { $$ = qexp_function_new ($1, NULL); } -- cgit