summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-25 05:40:00 +0000
committernia <nia@pkgsrc.org>2021-09-25 05:40:00 +0000
commit47d5a152aabad39b465d44fc9b766e2a9f574a4c (patch)
treeb77acaffcc6c7d6d7ece2c4849441ee9834124a2 /games
parentb09235966ca08c7eafd49ee63732a9d2a9aad8e9 (diff)
downloadpkgsrc-47d5a152aabad39b465d44fc9b766e2a9f574a4c.tar.gz
openjk: Cope with NetBSD calling 32-bit arm earm.
Diffstat (limited to 'games')
-rw-r--r--games/openjk/distinfo3
-rw-r--r--games/openjk/patches/patch-CMakeLists.txt15
2 files changed, 17 insertions, 1 deletions
diff --git a/games/openjk/distinfo b/games/openjk/distinfo
index 9fc2a8357dc..ca1f29a742b 100644
--- a/games/openjk/distinfo
+++ b/games/openjk/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2019/11/03 12:12:56 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/09/25 05:40:00 nia Exp $
SHA1 (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 353e4014b3f1bf87cd0e50b995a40cc1eac220ff
RMD160 (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 56fe62caa27f4d9023701d39d6884fb4e1bc55f2
SHA512 (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 2b98203573ec20acc3154acf701dcb2c378fa3cd93bb36e58a4ed89bbab15e0119fc4e8e2fb808a213e65ffb8ce12c5038763e5ef2285bad064e82599603e562
Size (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 13394830 bytes
+SHA1 (patch-CMakeLists.txt) = a0f41a5322cb8cdaaa9b2eb966b1f897115dd81d
SHA1 (patch-CMakeModules_InstallConfig.cmake) = e7231d65a1504c1f87eebe4abfe3188a551f306b
diff --git a/games/openjk/patches/patch-CMakeLists.txt b/games/openjk/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..522ec6117e5
--- /dev/null
+++ b/games/openjk/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/09/25 05:40:00 nia Exp $
+
+Cope with NetBSD calling 32-bit ARM "earm".
+
+--- CMakeLists.txt.orig 2019-10-30 05:48:12.000000000 +0000
++++ CMakeLists.txt
+@@ -114,7 +114,7 @@ if(WIN32)
+ endif()
+ else()
+ set(X86 OFF)
+- if(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
++ if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|earm)")
+ set(Architecture "arm")
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
+ set(X86 ON)