1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- (Really) fix build with clanf6

This commit is contained in:
Dmitry Marakasov 2018-06-28 16:27:21 +00:00
parent c3fc98c9a6
commit f18dfc08d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473501
2 changed files with 18 additions and 1 deletions

View File

@ -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" \

View File

@ -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
/**********************************************************/