From owner-svn-ports-all@freebsd.org Mon Aug 27 17:29:40 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 AE6B41091715; Mon, 27 Aug 2018 17:29:40 +0000 (UTC) (envelope-from jbeich@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 643417B844; Mon, 27 Aug 2018 17:29:40 +0000 (UTC) (envelope-from jbeich@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 46E5A20B61; Mon, 27 Aug 2018 17:29:40 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7RHTe2c020793; Mon, 27 Aug 2018 17:29:40 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7RHTeSX020792; Mon, 27 Aug 2018 17:29:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201808271729.w7RHTeSX020792@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 27 Aug 2018 17:29:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478239 - head/games/keeperrl X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/games/keeperrl X-SVN-Commit-Revision: 478239 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: Mon, 27 Aug 2018 17:29:40 -0000 Author: jbeich Date: Mon Aug 27 17:29:39 2018 New Revision: 478239 URL: https://svnweb.freebsd.org/changeset/ports/478239 Log: games/keeperrl: unbreak with GCC On WITHOUT_CLANG_IS_CC architectures: g++7 -x c++-header stdafx.h -MMD -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -isystem /usr/local/include -fno-strict-aliasing -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -DDATA_DIR=\"/usr/local/share/keeperrl\" -DRELEASE -I. -I./extern -o obj/stdafx.h.gch stdafx.h:16:9: warning: #pragma once in main file #pragma once ^~~~ cc1plus: warning: unrecognized command line option '-Wno-mismatched-tags' cc1plus: warning: unrecognized command line option '-Wno-tautological-constant-out-of-range-compare' /usr/lib/crt1.o: In function `_start1': /usr/src/lib/csu/powerpc64/crt1.c:(.text+0x156): undefined reference to `main' collect2: error: ld returned 1 exit status On DragonFly (in-base GCC 5.4.1): c++ -MMD -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -DDATA_DIR=\"/usr/local/share/keeperrl\" -DRELEASE -I. -I./extern -include-pch obj/stdafx.h.gch -c attr_type.cpp -o obj/attr_type.o cc1plus: fatal error: -pch: No such file or directory compilation terminated. Modified: head/games/keeperrl/Makefile (contents, props changed) Modified: head/games/keeperrl/Makefile ============================================================================== --- head/games/keeperrl/Makefile Mon Aug 27 17:29:28 2018 (r478238) +++ head/games/keeperrl/Makefile Mon Aug 27 17:29:39 2018 (r478239) @@ -33,6 +33,8 @@ LIBS+= -lexecinfo LLD_UNSAFE= yes MAKE_ARGS= DATA_DIR="${DATADIR}" GCC="${CXX}" \ LDFLAGS="${LDFLAGS}" RELEASE=true +# USE_GCC adds -Wl,-rpath=${_GCC_RUNTIME} which breaks -x c++-header +MAKE_ARGS+= PCH= PCHINC= DESKTOP_ENTRIES="KeeperRL" "" "" "keeper" \ "Game;Simulation;" false