summaryrefslogtreecommitdiff
path: root/emulators/gpsim-devel/patches/patch-cli-parse.yy
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/gpsim-devel/patches/patch-cli-parse.yy')
-rw-r--r--emulators/gpsim-devel/patches/patch-cli-parse.yy13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/gpsim-devel/patches/patch-cli-parse.yy b/emulators/gpsim-devel/patches/patch-cli-parse.yy
new file mode 100644
index 00000000000..78532053968
--- /dev/null
+++ b/emulators/gpsim-devel/patches/patch-cli-parse.yy
@@ -0,0 +1,13 @@
+$NetBSD: patch-cli-parse.yy,v 1.1 2011/09/08 00:12:00 joerg Exp $
+
+--- cli/parse.yy.orig 2011-09-07 13:21:44.000000000 +0000
++++ cli/parse.yy
+@@ -84,7 +84,7 @@ extern command *getLastKnownCommand();
+ extern void init_cmd_state();
+ extern const char * GetLastFullCommand();
+
+-void yyerror(char *message)
++void yyerror(const char *message)
+ {
+ printf("***ERROR: %s while parsing:\n'%s'\n",message, yytext);
+ const char *last = GetLastFullCommand();