summaryrefslogtreecommitdiff
path: root/math/graphthing/files/patch-src-gt-bison.y
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2012-02-21 13:16:58 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2012-02-21 13:16:58 +0000
commitf643369b0c29c609f3b43cb202fe2e98d342f4bf (patch)
tree4d86113f5b7cdde4c20180f91dcbe18bb9324546 /math/graphthing/files/patch-src-gt-bison.y
parentFix RUN_DEPENDS, it really needs Term::VT102::Boundless override (diff)
Fix build errors with latest bison
Notes
Notes: svn path=/head/; revision=291993
Diffstat (limited to 'math/graphthing/files/patch-src-gt-bison.y')
-rw-r--r--math/graphthing/files/patch-src-gt-bison.y20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/graphthing/files/patch-src-gt-bison.y b/math/graphthing/files/patch-src-gt-bison.y
new file mode 100644
index 000000000000..550cdfa89f46
--- /dev/null
+++ b/math/graphthing/files/patch-src-gt-bison.y
@@ -0,0 +1,20 @@
+--- src/gt-bison.y.orig 2012-02-21 14:11:30.000000000 +0100
++++ src/gt-bison.y 2012-02-21 14:11:53.000000000 +0100
+@@ -18,7 +18,7 @@
+
+ extern char *yy_gt_text;
+
+-int yy_gt_error (char *s);
++int yy_gt_error (const char *s);
+ int yy_gt_lex (void);
+ %}
+
+@@ -132,7 +132,7 @@
+
+ %%
+
+-int yy_gt_error (char *s)
++int yy_gt_error (const char *s)
+ {
+ fprintf (stderr, "gt-parse: %s in line %i, at symbol \"%s\"\n",
+ s, gt_lineno, yy_gt_text);