pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/ioquake3 Add aarch64 support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/73c558df6c87
branches: trunk
changeset: 410066:73c558df6c87
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Sat Jan 25 16:07:15 2020 +0000
description:
Add aarch64 support.
diffstat:
games/ioquake3/Makefile | 4 ++--
games/ioquake3/distinfo | 5 +++--
games/ioquake3/patches/patch-aa | 6 ++++--
games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c | 15 +++++++++++++++
4 files changed, 24 insertions(+), 6 deletions(-)
diffs (81 lines):
diff -r 85bb3ba175bc -r 73c558df6c87 games/ioquake3/Makefile
--- a/games/ioquake3/Makefile Sat Jan 25 15:00:52 2020 +0000
+++ b/games/ioquake3/Makefile Sat Jan 25 16:07:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/04/12 18:39:34 nia Exp $
+# $NetBSD: Makefile,v 1.8 2020/01/25 16:07:15 jmcneill Exp $
#
DISTNAME= ioquake3-1.36
@@ -21,7 +21,7 @@
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
+.if ${OPSYS} == "NetBSD" && ${MACHINE:U} == "evbarm"
QUAKE_ARCH!= uname -m
.else
QUAKE_ARCH= ${MACHINE_ARCH}
diff -r 85bb3ba175bc -r 73c558df6c87 games/ioquake3/distinfo
--- a/games/ioquake3/distinfo Sat Jan 25 15:00:52 2020 +0000
+++ b/games/ioquake3/distinfo Sat Jan 25 16:07:15 2020 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 20:56:53 agc Exp $
+$NetBSD: distinfo,v 1.7 2020/01/25 16:07:15 jmcneill Exp $
SHA1 (ioquake3-1.36.tar.bz2) = 0f92891e2b174253d02f666fd22e147c886089b4
RMD160 (ioquake3-1.36.tar.bz2) = af9f65bbde2fe5531fa371ec6d2023126a523293
SHA512 (ioquake3-1.36.tar.bz2) = fdd8e0ab56966cdc614eff45ab478b87255cfb1b50ba10b3141bcfcc569fc620d281de93333d39119b2d7b43aac3900ecf826a0459fc89bb2f57e30ae2425645
Size (ioquake3-1.36.tar.bz2) = 3503058 bytes
-SHA1 (patch-aa) = 6faee94e1a194b904d1ad72968f0b652ab7d8ec2
+SHA1 (patch-aa) = c259a5261704d3b71824de60667cdc4287fe7ae7
SHA1 (patch-ab) = 7808f9c26160ae1931c96fe1bc5e898b69afbde2
SHA1 (patch-ac) = 4631bdda582aa105b661f45e09e0d5eb68713978
SHA1 (patch-ad) = 577ca1c8fab64289d6f91e9e02542094cf7f2800
+SHA1 (patch-code_tools_lcc_cpp_unix.c) = 7d9e4bf34dd0c6df0c0267449d3365604d972fdd
diff -r 85bb3ba175bc -r 73c558df6c87 games/ioquake3/patches/patch-aa
--- a/games/ioquake3/patches/patch-aa Sat Jan 25 15:00:52 2020 +0000
+++ b/games/ioquake3/patches/patch-aa Sat Jan 25 16:07:15 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2015/04/18 20:44:08 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2020/01/25 16:07:15 jmcneill Exp $
--- code/qcommon/q_platform.h.orig 2009-03-02 17:29:30.000000000 +0000
+++ code/qcommon/q_platform.h
@@ -29,7 +29,7 @@
#endif
#define ID_INLINE inline
-@@ -201,6 +205,10 @@ Foundation, Inc., 51 Franklin St, Fifth
+@@ -201,6 +205,12 @@ Foundation, Inc., 51 Franklin St, Fifth
#define ARCH_STRING "i386"
#elif defined __axp__
#define ARCH_STRING "alpha"
@@ -37,6 +37,8 @@
+#define ARCH_STRING "x86_64"
+#elif defined __arm__
+#define ARCH_STRING "arm"
++#elif defined __aarch64__
++#define ARCH_STRING "aarch64"
#endif
#if BYTE_ORDER == BIG_ENDIAN
diff -r 85bb3ba175bc -r 73c558df6c87 games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ioquake3/patches/patch-code_tools_lcc_cpp_unix.c Sat Jan 25 16:07:15 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-code_tools_lcc_cpp_unix.c,v 1.1 2020/01/25 16:07:15 jmcneill Exp $
+
+Use built-in memmove on NetBSD.
+
+--- code/tools/lcc/cpp/unix.c.orig 2008-04-23 17:39:39.000000000 +0000
++++ code/tools/lcc/cpp/unix.c
+@@ -99,7 +99,7 @@ char *basepath( char *fname )
+ /* memmove is defined here because some vendors don't provide it at
+ all and others do a terrible job (like calling malloc) */
+ // -- ouch, that hurts -- ln
+-#ifndef MACOS_X /* always use the system memmove() on Mac OS X. --ryan. */
++#if !defined(MACOS_X) && !defined(__NetBSD__) /* always use the system memmove() */
+ #ifdef memmove
+ #undef memmove
+ #endif
Home |
Main Index |
Thread Index |
Old Index