pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/libretro-fbneo
Module Name: pkgsrc
Committed By: nia
Date: Mon May 29 14:33:14 UTC 2023
Modified Files:
pkgsrc/emulators/libretro-fbneo: Makefile distinfo
pkgsrc/emulators/libretro-fbneo/patches:
patch-src_burner_libretro_retro__common.h
Added Files:
pkgsrc/emulators/libretro-fbneo/patches: patch-src_burn_burn__endian.h
Removed Files:
pkgsrc/emulators/libretro-fbneo/patches:
patch-src_burner_libretro_burn__endian.h
Log Message:
libretro-fbneo: Update to 20230524
Lots of support for new exciting arcade systems, like Cave CV1000 and
Sega System 32.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-fbneo/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-fbneo/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/libretro-fbneo/patches/patch-src_burn_burn__endian.h
cvs rdiff -u -r1.1 -r0 \
pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_burn__endian.h
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h
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-fbneo/Makefile
diff -u pkgsrc/emulators/libretro-fbneo/Makefile:1.3 pkgsrc/emulators/libretro-fbneo/Makefile:1.4
--- pkgsrc/emulators/libretro-fbneo/Makefile:1.3 Tue Aug 11 18:47:39 2020
+++ pkgsrc/emulators/libretro-fbneo/Makefile Mon May 29 14:33:14 2023
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.3 2020/08/11 18:47:39 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/29 14:33:14 nia Exp $
-DISTNAME= libretro-fbneo-20200530
+FBNEO_TAG= 98e3e5eba0f45cce06c11cc7f9065ddb23ece3e1
+DISTNAME= FBNeo-${FBNEO_TAG}
+PKGNAME= libretro-fbneo-20230524
CATEGORIES= emulators
GITHUB_PROJECT= FBNeo
-GITHUB_TAG= 301cf7b6eeb3e7683952b98b66f39008f580b26d
+MASTER_SITES= https://git.libretro.com/libretro/FBNeo/-/archive/${FBNEO_TAG}/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/libretro/FBNeo/tree/master/src/burner/libretro
+HOMEPAGE= https://git.libretro.com/libretro/FBNeo/-/tree/master/src/burner/libretro
COMMENT= Libretro core based on the FinalBurn Neo arcade game emulator
LICENSE= fbalpha-license
@@ -25,8 +27,14 @@ MAKE_FLAGS+= EXTERNAL_ZLIB=1
.if ${MACHINE_ARCH} == "earmv6hf" || ${MACHINE_ARCH} == "earmv7hf"
MAKE_FLAGS+= USE_CYCLONE=1
+MAKE_FLAGS+= ENDIANNESS_DEFINES=-DLSB_FIRST
+.elif ${MACHINE_ARCH} == "aarch64"
+MAKE_FLAGS+= ENDIANNESS_DEFINES=-DLSB_FIRST
.elif ${MACHINE_ARCH} == "x86_64"
MAKE_FLAGS+= USE_X64_DRC=1
+MAKE_FLAGS+= ENDIANNESS_DEFINES=-DLSB_FIRST
+.elif ${MACHINE_ARCH} == "i386"
+MAKE_FLAGS+= ENDIANNESS_DEFINES=-DLSB_FIRST
.endif
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
Index: pkgsrc/emulators/libretro-fbneo/distinfo
diff -u pkgsrc/emulators/libretro-fbneo/distinfo:1.6 pkgsrc/emulators/libretro-fbneo/distinfo:1.7
--- pkgsrc/emulators/libretro-fbneo/distinfo:1.6 Tue Oct 26 10:23:54 2021
+++ pkgsrc/emulators/libretro-fbneo/distinfo Mon May 29 14:33:14 2023
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:23:54 nia Exp $
+$NetBSD: distinfo,v 1.7 2023/05/29 14:33:14 nia Exp $
-BLAKE2s (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) = a5b046fd82aceb1d85c03e8cace1dfd52a939bcd9407b2bda24f05bd9a11ad83
-SHA512 (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) =
0ef4a27bd9fa0d49f5ea09777f2144a9b0be9c9fced59593ba15e9f4818a305d2ca85a2ef3850cef77032157265376f5f3204b6c81226001c94d85f346829843
-Size (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) = 14602038 bytes
-SHA1 (patch-src_burner_libretro_burn__endian.h) = 35b3ea13154bd5380ad5d067f3ec5f32ab18ce36
-SHA1 (patch-src_burner_libretro_retro__common.h) = 5bb4c3ff577841e1c89e689a272ad4a188cba5d4
+BLAKE2s (FBNeo-98e3e5eba0f45cce06c11cc7f9065ddb23ece3e1.tar.gz) = 3cfeb43d9db1f1c51bd926f98ab2b9d2085ea389bea641fad2c12fde717c823e
+SHA512 (FBNeo-98e3e5eba0f45cce06c11cc7f9065ddb23ece3e1.tar.gz) = 0fafd3cc6fc6876920be2486f85c091fb9e9fdeab29196e0157a347a4aad600880b47c46fc12cef52387a64fc8284230a38934937b00b0bd4c2c526b19d9e5c2
+Size (FBNeo-98e3e5eba0f45cce06c11cc7f9065ddb23ece3e1.tar.gz) = 18535308 bytes
+SHA1 (patch-src_burn_burn__endian.h) = ce5f14cc5c349a0bc1ec56ea1310e8ef1086ec64
+SHA1 (patch-src_burner_libretro_retro__common.h) = d0b25d0582223cf2a1bf3b4cd0b08c02e8786e30
Index: pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h
diff -u pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h:1.2 pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h:1.3
--- pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h:1.2 Thu Sep 10 10:10:18 2020
+++ pkgsrc/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h Mon May 29 14:33:14 2023
@@ -1,15 +1,16 @@
-$NetBSD: patch-src_burner_libretro_retro__common.h,v 1.2 2020/09/10 10:10:18 nia Exp $
+$NetBSD: patch-src_burner_libretro_retro__common.h,v 1.3 2023/05/29 14:33:14 nia Exp $
Don't cast lvalues.
---- src/burner/libretro/retro_common.h.orig 2020-05-30 15:55:11.000000000 +0000
+--- src/burner/libretro/retro_common.h.orig 2023-05-24 08:09:39.000000000 +0000
+++ src/burner/libretro/retro_common.h
@@ -7,7 +7,11 @@
#include <vector>
#include "burner.h"
+-#define SSTR( x ) static_cast< const std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
+#ifndef __clang__
- #define SSTR( x ) static_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
++#define SSTR( x ) static_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
+#else
+#define SSTR( x ) ((( std::ostringstream() << std::dec << x ) ).str())
+#endif
Added files:
Index: pkgsrc/emulators/libretro-fbneo/patches/patch-src_burn_burn__endian.h
diff -u /dev/null pkgsrc/emulators/libretro-fbneo/patches/patch-src_burn_burn__endian.h:1.1
--- /dev/null Mon May 29 14:33:14 2023
+++ pkgsrc/emulators/libretro-fbneo/patches/patch-src_burn_burn__endian.h Mon May 29 14:33:14 2023
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_burn_burn__endian.h,v 1.1 2023/05/29 14:33:14 nia Exp $
+
+More than games consoles are big endian.
+
+--- src/burn/burn_endian.h.orig 2023-05-24 08:09:39.000000000 +0000
++++ src/burn/burn_endian.h
+@@ -41,6 +41,13 @@ typedef union {
+ #define BURN_ENDIAN_SWAP_INT16(x) ({uint16_t tt; __sthbrx(&tt, x); tt;})
+ #define BURN_ENDIAN_SWAP_INT32(x) ({uint32_t tt; __stwbrx(&tt, x); tt;})
+ #define NO_64BIT_BYTESWAP
++// NetBSD
++#elif defined(__NetBSD__)
++#include <machine/endian.h>
++#define BURN_ENDIAN_SWAP_INT8(x) (x^1)
++#define BURN_ENDIAN_SWAP_INT16(x) (bswap16(x))
++#define BURN_ENDIAN_SWAP_INT32(x) (bswap32(x))
++#define BURN_ENDIAN_SWAP_INT64(x) (bswap64(x))
+ // GC/Wii/WiiU
+ //#elif defined(HW_RVL)
+ //#define BURN_ENDIAN_SWAP_INT8(x) (x^1)
Home |
Main Index |
Thread Index |
Old Index