Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 08:17:17 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475869 - head/games/xconq
Message-ID:  <201807300817.w6U8HHM8087490@repo.freebsd.org>

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



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