Date: Sat, 21 Dec 2019 23:27:51 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520593 - in head/games/dhewm3: . files Message-ID: <201912212327.xBLNRp8D021687@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Dec 21 23:27:51 2019 New Revision: 520593 URL: https://svnweb.freebsd.org/changeset/ports/520593 Log: - Fix build on ppc64le PR: 242731 Submitted by: pkubaj@FreeBSD.org Added: head/games/dhewm3/files/patch-fix-ppc64le-build (contents, props changed) Modified: head/games/dhewm3/Makefile Modified: head/games/dhewm3/Makefile ============================================================================== --- head/games/dhewm3/Makefile Sat Dec 21 23:16:45 2019 (r520592) +++ head/games/dhewm3/Makefile Sat Dec 21 23:27:51 2019 (r520593) @@ -3,7 +3,7 @@ PORTNAME= dhewm3 PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org Added: head/games/dhewm3/files/patch-fix-ppc64le-build ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dhewm3/files/patch-fix-ppc64le-build Sat Dec 21 23:27:51 2019 (r520593) @@ -0,0 +1,36 @@ +From 12fa28b260c89d39fc4fe83ed02d92da172257a3 Mon Sep 17 00:00:00 2001 +From: yamir <yamir@localhost.localdomain> +Date: Sun, 7 Jul 2019 18:07:39 +0200 +Subject: [PATCH] Fix ppc64le build + +--- + neo/idlib/math/Simd_AltiVec.cpp | 2 +- + neo/idlib/math/Simd_AltiVec.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/neo/idlib/math/Simd_AltiVec.cpp b/neo/idlib/math/Simd_AltiVec.cpp +index 96ac930a..8f8ab4ea 100644 +--- idlib/math/Simd_AltiVec.cpp ++++ idlib/math/Simd_AltiVec.cpp +@@ -45,7 +45,7 @@ If you have questions concerning this license or the applicable additional terms + // + //=============================================================== + +-#if defined(__GNUC__) && defined(__ALTIVEC__) ++#if defined(MACOS_X) && defined(__GNUC__) && defined(__ALTIVEC__) + + #ifdef PPC_INTRINSICS + // for square root estimate instruction +diff --git a/neo/idlib/math/Simd_AltiVec.h b/neo/idlib/math/Simd_AltiVec.h +index 2a5776eb..d5080824 100644 +--- idlib/math/Simd_AltiVec.h ++++ idlib/math/Simd_AltiVec.h +@@ -110,7 +110,7 @@ If you have questions concerning this license or the applicable additional terms + //#define DRAWVERT_PADDED + + class idSIMD_AltiVec : public idSIMD_Generic { +-#if defined(__GNUC__) && defined(__ALTIVEC__) ++#if defined(MACOS_X) && defined(__GNUC__) && defined(__ALTIVEC__) + public: + + virtual const char * VPCALL GetName( void ) const;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912212327.xBLNRp8D021687>