Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2021 08:42:19 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c5e96ec080e3 - main - games/iortcw: fix build on powerpc, take maintainership
Message-ID:  <202106150842.15F8gJHA064693@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit c5e96ec080e3cedce10bc48f3d062f0402aafa46
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-15 08:41:13 +0000
Commit:     Piotr Kubaj <pkubaj@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@FreeBSD.org
+MAINTAINER=	pkubaj@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



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