Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 18:15:39 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460522 - head/emulators/dgen-sdl/files
Message-ID:  <201801311815.w0VIFdXI045571@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801311815.w0VIFdXI045571>