aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-27 04:55:59 +0800
committermarcus <marcus@FreeBSD.org>2002-10-27 04:55:59 +0800
commit61f0a72155b9e1de96bd20c22f033c27a8045b72 (patch)
tree13cd121342f875bf5eb7648760a4d64ad78582b5
parent6d76bf0af04263dc3a6ee99b0fd0f096d2920afe (diff)
downloadfreebsd-ports-graphics-61f0a72155b9e1de96bd20c22f033c27a8045b72.tar.gz
freebsd-ports-graphics-61f0a72155b9e1de96bd20c22f033c27a8045b72.tar.zst
freebsd-ports-graphics-61f0a72155b9e1de96bd20c22f033c27a8045b72.zip
Fix a build problem with bison 1.75.
Reported by: tcsh <tcsh@linux.na.ntu.edu.tw> Obtained from: GNOME CVS
-rw-r--r--devel/bonobo-activation/files/patch-temp15
1 files changed, 15 insertions, 0 deletions
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); }