Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-flycast libretro-flycast: Fix build...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33655e5da3f7
branches: trunk
changeset: 434234:33655e5da3f7
user: nia <nia%pkgsrc.org@localhost>
date: Sat Jun 13 13:02:09 2020 +0000
description:
libretro-flycast: Fix build on NetBSD/arm
diffstat:
emulators/libretro-flycast/distinfo | 3 +-
emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp | 22 ++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 7ecf433717d8 -r 33655e5da3f7 emulators/libretro-flycast/distinfo
--- a/emulators/libretro-flycast/distinfo Sat Jun 13 11:57:38 2020 +0000
+++ b/emulators/libretro-flycast/distinfo Sat Jun 13 13:02:09 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2020/05/31 15:20:22 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/06/13 13:02:09 nia Exp $
SHA1 (libretro-flycast-20200529-e595af5dfbff2e49fbcb95bec5b240785c8b4f4f.tar.gz) = b4c6492680fd84a8dc4d7ef025ab648438e305dc
RMD160 (libretro-flycast-20200529-e595af5dfbff2e49fbcb95bec5b240785c8b4f4f.tar.gz) = 5545255f788358f03ab5340436d75a17e28d8523
@@ -7,6 +7,7 @@
SHA1 (patch-Makefile) = 8159fc931d8514bd100ead06c3fe1ae4d11dfac0
SHA1 (patch-Makefile.common) = 4bfdaae74db7672f11698040bbb29d851006c2b3
SHA1 (patch-core_hw_aica_dsp__x64.cpp) = 2ed58220ac214136879bc4aa8939c11b8d6f0916
+SHA1 (patch-core_hw_arm7_arm7.cpp) = 796da7a2c67d490c67846ecc09d1e959ca6821fa
SHA1 (patch-core_hw_sh4_dyna_driver.cpp) = 6067ac4c8009759baeffc71049e7987c5441947b
SHA1 (patch-core_libretro_common.cpp) = c3cf6bcfa2e2f9a74459517f8d9e3d0a562cf479
SHA1 (patch-core_log_StringUtil.h) = b0726f1ab856adb27ba672f8a9ca3ef9f369e583
diff -r 7ecf433717d8 -r 33655e5da3f7 emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp Sat Jun 13 13:02:09 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-core_hw_arm7_arm7.cpp,v 1.1 2020/06/13 13:02:09 nia Exp $
+
+Support non-Linux unixes with ELF.
+
+--- core/hw/arm7/arm7.cpp.orig 2020-05-29 12:45:55.000000000 +0000
++++ core/hw/arm7/arm7.cpp
+@@ -594,14 +594,10 @@ u8* ICache;
+ extern const u32 ICacheSize=1024*1024;
+ #ifdef _WIN32
+ u8 ARM7_TCB[ICacheSize+4096];
+-#elif defined(__linux__) || defined(HAVE_LIBNX)
+-
+-u8 ARM7_TCB[ICacheSize+4096] __attribute__((section(".text")));
+-
+ #elif defined(__MACH__)
+ u8 ARM7_TCB[ICacheSize+4096] __attribute__((section("__TEXT, .text")));
+ #else
+-#error ARM7_TCB ALLOC
++u8 ARM7_TCB[ICacheSize+4096] __attribute__((section(".text")));
+ #endif
+
+ #include "rec-ARM/arm_emitter.h"
Home |
Main Index |
Thread Index |
Old Index