diff options
author | ak <ak@FreeBSD.org> | 2018-02-01 02:15:39 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2018-02-01 02:15:39 +0800 |
commit | cf45975f95cdb5ffcb3895ee58832af716c12b63 (patch) | |
tree | b91e08568c0e68bb3c4dbf10f535d507566599b5 /emulators | |
parent | 49fcad427f43c4a7830853e262cdfbd088772473 (diff) | |
download | freebsd-ports-gnome-cf45975f95cdb5ffcb3895ee58832af716c12b63.tar.gz freebsd-ports-gnome-cf45975f95cdb5ffcb3895ee58832af716c12b63.tar.zst freebsd-ports-gnome-cf45975f95cdb5ffcb3895ee58832af716c12b63.zip |
- Fix build with clang6
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/dgen-sdl/files/patch-main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emulators/dgen-sdl/files/patch-main.c b/emulators/dgen-sdl/files/patch-main.c new file mode 100644 index 000000000000..339211a88bfe --- /dev/null +++ b/emulators/dgen-sdl/files/patch-main.c @@ -0,0 +1,19 @@ +Index: main.cpp +@@ -82,7 +82,7 @@ + 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 @@ + { + 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 |