summaryrefslogtreecommitdiff
path: root/games/enigma/files/patch-src::editor-lua.cc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-11-22 00:42:41 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-11-22 00:42:41 +0000
commit2f1a8b011643609486bf5f7c9f8590573a7707a4 (patch)
tree18d5e27f500a06e409c899222428e092fceaeca8 /games/enigma/files/patch-src::editor-lua.cc
parentFix a bug in the azureus startup script installed by the port: the regex used (diff)
Don't use enigma's zipios++ and lua4 but the one from the FreeBSD
ports collection.
Notes
Notes: svn path=/head/; revision=122112
Diffstat (limited to 'games/enigma/files/patch-src::editor-lua.cc')
-rw-r--r--games/enigma/files/patch-src::editor-lua.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/enigma/files/patch-src::editor-lua.cc b/games/enigma/files/patch-src::editor-lua.cc
new file mode 100644
index 000000000000..da5096bc4863
--- /dev/null
+++ b/games/enigma/files/patch-src::editor-lua.cc
@@ -0,0 +1,29 @@
+--- src/editor-lua.cc.orig Mon Nov 22 10:43:09 2004
++++ src/editor-lua.cc Mon Nov 22 10:43:21 2004
+@@ -50,7 +50,7 @@
+ {
+ int i;
+ for(i=0; i<nentries;i++)
+- tolua_pushfieldstring(tolua_S,4,i+1,(const char*) entries[i]);
++ tolua_pushfieldstring(tolua_S,4,i+1,(char*) entries[i]);
+ }
+ free(entries);
+ }
+@@ -93,7 +93,7 @@
+ {
+ int i;
+ for(i=0; i<nentries;i++)
+- tolua_pushfieldstring(tolua_S,4,i+1,(const char*) entries[i]);
++ tolua_pushfieldstring(tolua_S,4,i+1,(char*) entries[i]);
+ }
+ free(entries);
+ }
+@@ -136,7 +136,7 @@
+ {
+ int i;
+ for(i=0; i<nentries;i++)
+- tolua_pushfieldstring(tolua_S,4,i+1,(const char*) entries[i]);
++ tolua_pushfieldstring(tolua_S,4,i+1,(char*) entries[i]);
+ }
+ free(entries);
+ }