Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2019 09:33:47 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498470 - in head/games/iortcw: . files
Message-ID:  <201904090933.x399Xlsk034934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904090933.x399Xlsk034934>