svn commit: r475869 - head/games/xconq
Tobias Kortkamp
tobik at FreeBSD.org
Mon Jul 30 08:17:17 UTC 2018
Author: tobik
Date: Mon Jul 30 08:17:16 2018
New Revision: 475869
URL: https://svnweb.freebsd.org/changeset/ports/475869
Log:
games/xconq: Fix build with Clang 6
./../bitmaps/lookglass.b:6:4: error: constant expression evaluates to 248 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
0xf8, 0x00, 0x04, 0x01, 0x02, 0x02, 0x01, 0x04, 0x01, 0x04, 0x01, 0x04,
^~~~
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/xconq-7.5.0.0.p.0.20050612_1.log
Modified:
head/games/xconq/Makefile
Modified: head/games/xconq/Makefile
==============================================================================
--- head/games/xconq/Makefile Mon Jul 30 08:12:24 2018 (r475868)
+++ head/games/xconq/Makefile Mon Jul 30 08:17:16 2018 (r475869)
@@ -20,6 +20,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-alternate-scoresdir=${SCOREDIR} \
--enable-alternate-gameuser=root \
--enable-alternate-gamegroup=games
+CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang= -Wno-c++11-narrowing
MAKE_ARGS= GAMEPERM=755 DIRPERM=775 FILEPERM=664
MAKE_JOBS_UNSAFE= yes
More information about the svn-ports-all
mailing list