From owner-svn-ports-all@freebsd.org Sat Sep 1 09:45:45 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 411F7FE4511; Sat, 1 Sep 2018 09:45:45 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE97882CD9; Sat, 1 Sep 2018 09:45:44 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BB7B973E; Sat, 1 Sep 2018 09:45:44 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w819jiUq033164; Sat, 1 Sep 2018 09:45:44 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w819jiPm033163; Sat, 1 Sep 2018 09:45:44 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809010945.w819jiPm033163@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 1 Sep 2018 09:45:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478667 - head/games/flying X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/flying X-SVN-Commit-Revision: 478667 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2018 09:45:45 -0000 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