From owner-svn-ports-head@freebsd.org Tue Feb 12 15:20:29 2019 Return-Path: Delivered-To: svn-ports-head@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 64B2A14E9BB6; Tue, 12 Feb 2019 15:20:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF1E569D7C; Tue, 12 Feb 2019 15:20:28 +0000 (UTC) (envelope-from amdmi3@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 E474919B99; Tue, 12 Feb 2019 15:20:28 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1CFKSDX089562; Tue, 12 Feb 2019 15:20:28 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1CFKSaP089561; Tue, 12 Feb 2019 15:20:28 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201902121520.x1CFKSaP089561@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 12 Feb 2019 15:20:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492784 - in head/games/dhewm3: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/dhewm3: . files X-SVN-Commit-Revision: 492784 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EF1E569D7C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; NEURAL_HAM_SHORT(-0.95)[-0.955,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 15:20:29 -0000 Author: amdmi3 Date: Tue Feb 12 15:20:28 2019 New Revision: 492784 URL: https://svnweb.freebsd.org/changeset/ports/492784 Log: - Add USES=compiler:c++11-lang to fix build on GCC architectures - Also, add patch to fix build on powerpc PR: 235668 Submitted by: pkubaj@anongoth.pl Added: head/games/dhewm3/files/patch-renderer_tr__main.cpp (contents, props changed) Modified: head/games/dhewm3/Makefile Modified: head/games/dhewm3/Makefile ============================================================================== --- head/games/dhewm3/Makefile Tue Feb 12 15:19:45 2019 (r492783) +++ head/games/dhewm3/Makefile Tue Feb 12 15:20:28 2019 (r492784) @@ -18,7 +18,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ USE_GITHUB= yes GH_ACCOUNT= dhewm -USES= cmake jpeg openal:al +USES= cmake compiler:c++11-lang jpeg openal:al USE_SDL= sdl2 LLD_UNSAFE= yes Added: head/games/dhewm3/files/patch-renderer_tr__main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dhewm3/files/patch-renderer_tr__main.cpp Tue Feb 12 15:20:28 2019 (r492784) @@ -0,0 +1,17 @@ +https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235668: + +On powerpc* platforms vecLib/vecLib.h is included by default. This +header is only available on Mac OS X, so remove it. It doesn't seem +to be actually needed to compile this port + +--- renderer/tr_main.cpp.orig 2019-02-11 12:39:53 UTC ++++ renderer/tr_main.cpp +@@ -26,7 +26,7 @@ If you have questions concerning this license or the a + =========================================================================== + */ + +-#ifdef __ppc__ ++#if defined(__ppc__) && defined(__APPLE__) + #include + #endif + #if defined(__GNUC__) && defined(__SSE2__)