git: c5e96ec080e3 - main - games/iortcw: fix build on powerpc, take maintainership

Piotr Kubaj pkubaj at FreeBSD.org
Tue Jun 15 08:42:19 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c5e96ec080e3cedce10bc48f3d062f0402aafa46

commit c5e96ec080e3cedce10bc48f3d062f0402aafa46
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-15 08:41:13 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-15 08:41:13 +0000

    games/iortcw: fix build on powerpc, take maintainership
---
 games/iortcw/Makefile                                  | 2 +-
 games/iortcw/files/patch-MP_code_qcommon_q__platform.h | 4 +++-
 games/iortcw/files/patch-SP_code_qcommon_q__platform.h | 4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/games/iortcw/Makefile b/games/iortcw/Makefile
index ad3c72d4a3c4..99e680a4fbac 100644
--- a/games/iortcw/Makefile
+++ b/games/iortcw/Makefile
@@ -3,7 +3,7 @@ PORTVERSION=	1.51c
 PORTEPOCH=	1
 CATEGORIES=	games
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	pkubaj at FreeBSD.org
 COMMENT=	Game engine for Return to Castle Wolfenstein
 
 LICENSE=	GPLv3
diff --git a/games/iortcw/files/patch-MP_code_qcommon_q__platform.h b/games/iortcw/files/patch-MP_code_qcommon_q__platform.h
index bb3687ed95d4..20bd2d05a3e6 100644
--- a/games/iortcw/files/patch-MP_code_qcommon_q__platform.h
+++ b/games/iortcw/files/patch-MP_code_qcommon_q__platform.h
@@ -12,7 +12,7 @@
  
  #if (defined(powerc) || defined(powerpc) || defined(ppc) || \
  	defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
-@@ -224,11 +220,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+@@ -224,11 +220,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
  #ifdef __i386__
  #define ARCH_STRING "i386"
  #elif defined __amd64__
@@ -23,6 +23,8 @@
  #define ARCH_STRING "alpha"
 +#elif defined __powerpc64__
 +#define ARCH_STRING "powerpc64"
++#elif defined __powerpc__
++#define ARCH_STRING "powerpc"
  #endif
  
  #if BYTE_ORDER == BIG_ENDIAN
diff --git a/games/iortcw/files/patch-SP_code_qcommon_q__platform.h b/games/iortcw/files/patch-SP_code_qcommon_q__platform.h
index 5d53ad0dd042..deecff300c60 100644
--- a/games/iortcw/files/patch-SP_code_qcommon_q__platform.h
+++ b/games/iortcw/files/patch-SP_code_qcommon_q__platform.h
@@ -12,7 +12,7 @@
  
  #if (defined(powerc) || defined(powerpc) || defined(ppc) || \
  	defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
-@@ -224,11 +220,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+@@ -224,11 +220,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
  #ifdef __i386__
  #define ARCH_STRING "i386"
  #elif defined __amd64__
@@ -23,6 +23,8 @@
  #define ARCH_STRING "alpha"
 +#elif defined __powerpc64__
 +#define ARCH_STRING "powerpc64"
++#elif defined __powerpc__
++#define ARCH_STRING "powerpc"
  #endif
  
  #if BYTE_ORDER == BIG_ENDIAN


More information about the dev-commits-ports-main mailing list