From 0eaa775ee44e36c651cad91e1d302601334afc41 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke 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/files/patch-temp') diff --git a/devel/bonobo-activation/files/patch-temp b/devel/bonobo-activation/files/patch-temp new file mode 100644 index 000000000000..e9ea286d8d78 --- /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 v1.2.3