summaryrefslogtreecommitdiff
path: root/games/exult/patches/patch-usecode_compiler_ucloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/exult/patches/patch-usecode_compiler_ucloc.h')
-rw-r--r--games/exult/patches/patch-usecode_compiler_ucloc.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/games/exult/patches/patch-usecode_compiler_ucloc.h b/games/exult/patches/patch-usecode_compiler_ucloc.h
deleted file mode 100644
index 12c899f22d5..00000000000
--- a/games/exult/patches/patch-usecode_compiler_ucloc.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-usecode_compiler_ucloc.h,v 1.1 2011/12/21 16:58:15 dholland Exp $
-
-- const correctness demanded by gcc 4.5
-
---- usecode/compiler/ucloc.h~ 2001-04-16 10:00:43.000000000 +0000
-+++ usecode/compiler/ucloc.h
-@@ -50,7 +50,7 @@ public:
- const char *get_source()
- { return source; }
- void error(char *s); // Print error.
-- static void yyerror(char *s); // Print error at cur. location.
-+ static void yyerror(const char *s); // Print error at cur. location.
- static int get_num_errors()
- { return num_errors; }
- };