svn commit: r460522 - head/emulators/dgen-sdl/files

Alex Kozlov ak at FreeBSD.org
Wed Jan 31 18:15:40 UTC 2018


Author: ak
Date: Wed Jan 31 18:15:39 2018
New Revision: 460522
URL: https://svnweb.freebsd.org/changeset/ports/460522

Log:
  - Fix build with clang6

Added:
  head/emulators/dgen-sdl/files/
  head/emulators/dgen-sdl/files/patch-main.c   (contents, props changed)

Added: head/emulators/dgen-sdl/files/patch-main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/dgen-sdl/files/patch-main.c	Wed Jan 31 18:15:39 2018	(r460522)
@@ -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


More information about the svn-ports-all mailing list