svn commit: r498470 - in head/games/iortcw: . files
Tobias Kortkamp
tobik at FreeBSD.org
Tue Apr 9 09:33:48 UTC 2019
Author: tobik
Date: Tue Apr 9 09:33:46 2019
New Revision: 498470
URL: https://svnweb.freebsd.org/changeset/ports/498470
Log:
games/iortcw: Fix build on powerpc64
powerpc64 needs ARCH_STRING properly defined.
PR: 237149
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl>
Modified:
head/games/iortcw/Makefile
head/games/iortcw/files/patch-MP_code_qcommon_q__platform.h
head/games/iortcw/files/patch-SP_code_qcommon_q__platform.h
Modified: head/games/iortcw/Makefile
==============================================================================
--- head/games/iortcw/Makefile Tue Apr 9 09:31:13 2019 (r498469)
+++ head/games/iortcw/Makefile Tue Apr 9 09:33:46 2019 (r498470)
@@ -11,7 +11,7 @@ COMMENT= Game engine for Return to Castle Wolfenstein
LICENSE= GPLv3
-NOT_FOR_ARCHS= aarch64 armv6 armv7 powerpc64
+NOT_FOR_ARCHS= aarch64 armv6 armv7
NOT_FOR_ARCHS_REASON= fails to configure: Architecture not supported
LIB_DEPENDS= libcurl.so:ftp/curl \
Modified: head/games/iortcw/files/patch-MP_code_qcommon_q__platform.h
==============================================================================
--- head/games/iortcw/files/patch-MP_code_qcommon_q__platform.h Tue Apr 9 09:31:13 2019 (r498469)
+++ head/games/iortcw/files/patch-MP_code_qcommon_q__platform.h Tue Apr 9 09:33:46 2019 (r498470)
@@ -1,6 +1,6 @@
---- MP/code/qcommon/q_platform.h.orig 2016-07-29 22:00:04 UTC
+--- MP/code/qcommon/q_platform.h.orig 2019-03-16 18:09:48 UTC
+++ MP/code/qcommon/q_platform.h
-@@ -35,11 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth
+@@ -35,11 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
#else
@@ -12,7 +12,7 @@
#if (defined(powerc) || defined(powerpc) || defined(ppc) || \
defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
-@@ -229,8 +225,6 @@ Foundation, Inc., 51 Franklin St, Fifth
+@@ -224,11 +220,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
#ifdef __i386__
#define ARCH_STRING "i386"
#elif defined __amd64__
@@ -21,3 +21,8 @@
#define ARCH_STRING "amd64"
#elif defined __axp__
#define ARCH_STRING "alpha"
++#elif defined __powerpc64__
++#define ARCH_STRING "powerpc64"
+ #endif
+
+ #if BYTE_ORDER == BIG_ENDIAN
Modified: head/games/iortcw/files/patch-SP_code_qcommon_q__platform.h
==============================================================================
--- head/games/iortcw/files/patch-SP_code_qcommon_q__platform.h Tue Apr 9 09:31:13 2019 (r498469)
+++ head/games/iortcw/files/patch-SP_code_qcommon_q__platform.h Tue Apr 9 09:33:46 2019 (r498470)
@@ -1,6 +1,6 @@
---- SP/code/qcommon/q_platform.h.orig 2015-12-26 14:21:49 UTC
+--- SP/code/qcommon/q_platform.h.orig 2019-03-16 18:09:48 UTC
+++ SP/code/qcommon/q_platform.h
-@@ -35,11 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth
+@@ -35,11 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
#else
@@ -12,7 +12,7 @@
#if (defined(powerc) || defined(powerpc) || defined(ppc) || \
defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
-@@ -229,8 +225,6 @@ Foundation, Inc., 51 Franklin St, Fifth
+@@ -224,11 +220,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
#ifdef __i386__
#define ARCH_STRING "i386"
#elif defined __amd64__
@@ -21,3 +21,8 @@
#define ARCH_STRING "amd64"
#elif defined __axp__
#define ARCH_STRING "alpha"
++#elif defined __powerpc64__
++#define ARCH_STRING "powerpc64"
+ #endif
+
+ #if BYTE_ORDER == BIG_ENDIAN
More information about the svn-ports-all
mailing list