aboutsummaryrefslogtreecommitdiff
path: root/lang/parrot
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-11-30 11:20:35 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-11-30 11:20:35 +0000
commita32054e27e48a43f510d8492e6b3576631d7f78b (patch)
tree4f2575b21e1e56fb382ab5d276467a708cec2a64 /lang/parrot
parentfcc2e35e3d253759b70e167ec3381bdff8af376d (diff)
downloadports-a32054e27e48a43f510d8492e6b3576631d7f78b.tar.gz
ports-a32054e27e48a43f510d8492e6b3576631d7f78b.zip
Notes
Diffstat (limited to 'lang/parrot')
-rw-r--r--lang/parrot/files/patch-compilers_imcc_imcc.y11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/parrot/files/patch-compilers_imcc_imcc.y b/lang/parrot/files/patch-compilers_imcc_imcc.y
new file mode 100644
index 000000000000..3245e8f2e85b
--- /dev/null
+++ b/lang/parrot/files/patch-compilers_imcc_imcc.y
@@ -0,0 +1,11 @@
+--- compilers/imcc/imcc.y.orig 2013-01-28 19:57:42 UTC
++++ compilers/imcc/imcc.y
+@@ -45,7 +45,7 @@ This file contains the grammar of the PI
+
+ /* prevent declarations of malloc() and free() in the generated parser. */
+ #define YYMALLOC
+-#define YYFREE(Ptr) do { /* empty */; } while (YYID (0))
++#define YYFREE(Ptr) do { /* empty */; } while (0)
+
+ #ifndef YYENABLE_NLS
+ # define YYENABLE_NLS 0