Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 16:27:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473501 - in head/games/wop: . files
Message-ID:  <201806281627.w5SGRLHw095537@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun 28 16:27:21 2018
New Revision: 473501
URL: https://svnweb.freebsd.org/changeset/ports/473501

Log:
  - (Really) fix build with clanf6

Added:
  head/games/wop/files/patch-src_global.cpp   (contents, props changed)
Modified:
  head/games/wop/Makefile

Modified: head/games/wop/Makefile
==============================================================================
--- head/games/wop/Makefile	Thu Jun 28 16:26:34 2018	(r473500)
+++ head/games/wop/Makefile	Thu Jun 28 16:27:21 2018	(r473501)
@@ -23,7 +23,7 @@ USE_SDL=	sdl net mixer ttf image
 
 MAKE_JOBS_UNSAFE=	yes
 
-CXXFLAGS+=	-Wno-c++11-narrowing
+CXXFLAGS+=	-Wno-c++11-narrowing -Wno-reserved-user-defined-literal
 
 DATAVERSION=	2005-12-21
 DESKTOP_ENTRIES="Worms of Prey" \

Added: head/games/wop/files/patch-src_global.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/wop/files/patch-src_global.cpp	Thu Jun 28 16:27:21 2018	(r473501)
@@ -0,0 +1,17 @@
+--- src/global.cpp.orig	2005-07-21 07:56:31 UTC
++++ src/global.cpp
+@@ -44,10 +44,10 @@
+ #define GREEN(s)                 s
+ #define RED(s)                   s
+ #else
+-#define BLACK(s)                 "\033[0;1m"s"\033[0m"
+-#define BLINKINK_BLACK_ON_RED(s) "\033[05;1;41m"s"\033[0m"
+-#define GREEN(s)                 "\033[32m"s"\033[0m"
+-#define RED(s)                   "\033[31m"s"\033[0m"
++#define BLACK(s)                 "\033[0;1m" s "\033[0m"
++#define BLINKINK_BLACK_ON_RED(s) "\033[05;1;41m" s "\033[0m"
++#define GREEN(s)                 "\033[32m" s "\033[0m"
++#define RED(s)                   "\033[31m" s "\033[0m"
+ #endif
+ 
+ /**********************************************************/



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