Date: Sat, 1 Sep 2018 09:45:44 +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: r478667 - head/games/flying Message-ID: <201809010945.w819jiPm033163@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Sep 1 09:45:44 2018 New Revision: 478667 URL: https://svnweb.freebsd.org/changeset/ports/478667 Log: games/flying: Fix build with Clang 6 ./pointer.h:7:4: error: constant expression evaluates to 224 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0xe0, 0x0e, 0xc0, 0x07, 0x80, 0x03, 0xc0, 0x07, 0xe0, 0x0e, 0x70, 0x1c, ^~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/flying-6.20_3.log Modified: head/games/flying/Makefile Modified: head/games/flying/Makefile ============================================================================== --- head/games/flying/Makefile Sat Sep 1 09:42:57 2018 (r478666) +++ head/games/flying/Makefile Sat Sep 1 09:45:44 2018 (r478667) @@ -10,8 +10,12 @@ MASTER_SITES= SUNSITE/games/arcade MAINTAINER= ports@FreeBSD.org COMMENT= Pool/snooker/billiards/carrom/etc game -USES= imake tar:tgz +USES= compiler imake tar:tgz USE_XORG= x11 PLIST_FILES= bin/flying man/man1/flying.1.gz + +# build ignores CXXFLAGS, imake gets in the way of fixing it +CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} +CFLAGS_clang= -Wno-c++11-narrowing .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809010945.w819jiPm033163>