From owner-dev-commits-ports-main@freebsd.org Tue Jun 15 08:42:19 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B76636434DA; Tue, 15 Jun 2021 08:42:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G41yz46T2z4q9W; Tue, 15 Jun 2021 08:42:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6F7372513A; Tue, 15 Jun 2021 08:42:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15F8gJVr064694; Tue, 15 Jun 2021 08:42:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15F8gJHA064693; Tue, 15 Jun 2021 08:42:19 GMT (envelope-from git) Date: Tue, 15 Jun 2021 08:42:19 GMT Message-Id: <202106150842.15F8gJHA064693@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: c5e96ec080e3 - main - games/iortcw: fix build on powerpc, take maintainership MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5e96ec080e3cedce10bc48f3d062f0402aafa46 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2021 08:42:19 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5e96ec080e3cedce10bc48f3d062f0402aafa46 commit c5e96ec080e3cedce10bc48f3d062f0402aafa46 Author: Piotr Kubaj AuthorDate: 2021-06-15 08:41:13 +0000 Commit: Piotr Kubaj 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