1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Update to 1.5.1

This commit is contained in:
Dmitry Marakasov 2021-03-16 18:16:43 +00:00
parent 6acea16ab9
commit eb8b4c11f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568597
4 changed files with 5 additions and 58 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= dhewm3
PORTVERSION= 1.5.0
PORTREVISION= 2
PORTVERSION= 1.5.1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
@ -21,6 +20,7 @@ GH_ACCOUNT= dhewm
USES= cmake compiler:c++11-lang jpeg openal:al sdl
USE_SDL= sdl2
CMAKE_ON= REPRODUCIBLE_BUILD
LDFLAGS_i386= -Wl,-znotext

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1545068726
SHA256 (dhewm-dhewm3-1.5.0_GH0.tar.gz) = fd299c8a2db1ecde15f861e4a883a5d61e5da0c74e26f89fb50b52b978fe8212
SIZE (dhewm-dhewm3-1.5.0_GH0.tar.gz) = 5373978
TIMESTAMP = 1615751907
SHA256 (dhewm-dhewm3-1.5.1_GH0.tar.gz) = febaef022ff216435a2ff86f4e1526ac9bccbc401b03bed495a0a2f0b4edfb53
SIZE (dhewm-dhewm3-1.5.1_GH0.tar.gz) = 5400574

View File

@ -1,36 +0,0 @@
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;

View File

@ -1,17 +0,0 @@
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 <vecLib/vecLib.h>
#endif
#if defined(__GNUC__) && defined(__SSE2__)