OK?
Index: patches/patch-main_cpp
===================================================================
RCS file: patches/patch-main_cpp
diff -N patches/patch-main_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-main_cpp 13 Apr 2018 13:31:21 -0000
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+C++11 fixes.
+
+Index: main.cpp
+--- main.cpp.orig
++++ main.cpp
+@@ -82,7 +82,7 @@ static char temp[65536] = "";
+ static void help()
+ {
+ printf(
+- "DGen/SDL v"VER"\n"
++ "DGen/SDL v" VER "\n"
+ "Usage: dgen [options] [romname [...]]\n\n"
+ "Where options are:\n"
+ " -v Print version number and exit.\n"
+@@ -256,7 +256,7 @@ int main(int argc, char *argv[])
+ {
+ case 'v':
+ // Show version and exit
+- printf("DGen/SDL version "VER"\n");
++ printf("DGen/SDL version " VER "\n");
+ return 0;
+ case 'r':
+ // Parse another RC file or stdin
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
No comments:
Post a Comment