pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/libretro-flycast



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 13 13:02:10 UTC 2020

Modified Files:
        pkgsrc/emulators/libretro-flycast: distinfo
Added Files:
        pkgsrc/emulators/libretro-flycast/patches: patch-core_hw_arm7_arm7.cpp

Log Message:
libretro-flycast: Fix build on NetBSD/arm


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-flycast/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/libretro-flycast/distinfo
diff -u pkgsrc/emulators/libretro-flycast/distinfo:1.1 pkgsrc/emulators/libretro-flycast/distinfo:1.2
--- pkgsrc/emulators/libretro-flycast/distinfo:1.1      Sun May 31 15:20:22 2020
+++ pkgsrc/emulators/libretro-flycast/distinfo  Sat Jun 13 13:02:09 2020
@@ -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 @@ Size (libretro-flycast-20200529-e595af5d
 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

Added files:

Index: pkgsrc/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp
diff -u /dev/null pkgsrc/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp:1.1
--- /dev/null   Sat Jun 13 13:02:10 2020
+++ pkgsrc/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp       Sat Jun 13 13:02:09 2020
@@ -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