git: 4080f02c43b6 - main - emulators/fbneo: Update to 1.0.0.3.20260816
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Aug 2026 05:03:14 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4080f02c43b644055bfce05b22f52a19d469e7f1
commit 4080f02c43b644055bfce05b22f52a19d469e7f1
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-08-22 04:58:36 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-08-22 04:58:36 +0000
emulators/fbneo: Update to 1.0.0.3.20260816
- Switch to libretro github. It contains a better Linux/Unix version of fbneo
---
emulators/fbneo/Makefile | 8 ++--
emulators/fbneo/distinfo | 6 +--
emulators/fbneo/files/patch-src_cpu_m68k_m68k.h | 54 ++++++++++++++++++++++
.../files/patch-src_dep_libs_dr__libs_dr__flac.h | 11 +++++
.../files/patch-src_dep_libs_dr__libs_dr__mp3.h | 11 +++++
.../files/patch-src_dep_libs_dr__libs_dr__wav.h | 11 +++++
6 files changed, 94 insertions(+), 7 deletions(-)
diff --git a/emulators/fbneo/Makefile b/emulators/fbneo/Makefile
index 01531acb9fcc..a78e1e291ce0 100644
--- a/emulators/fbneo/Makefile
+++ b/emulators/fbneo/Makefile
@@ -1,6 +1,5 @@
PORTNAME= fbneo
-DISTVERSION= 1.0.0.3.20250406
-PORTREVISION= 1
+DISTVERSION= 1.0.0.3.20260816
CATEGORIES= emulators
MAINTAINER= acm@FreeBSD.org
@@ -17,9 +16,9 @@ BUILD_DEPENDS= nasm>0:devel/nasm
USES= compiler:c11 gl gmake perl5 sdl shebangfix
USE_GITHUB= yes
-GH_ACCOUNT= finalburnneo
+GH_ACCOUNT= libretro
GH_PROJECT= FBNeo
-GH_TAGNAME= 83c57f2b85787091fd1adc17e27d62043fbbab3a
+GH_TAGNAME= 0332bb983c8f8a3e9b61cb79ade30f97a5032535
USE_GL= gl
USE_SDL= sdl2 image2
@@ -31,6 +30,7 @@ PLIST_DIRS= share/fbneo
MAKEFILE= makefile
ALL_TARGET= sdl2
+MAKE_ENV= RELEASEBUILD=1
SUB_FILES= pkg-message
do-install:
diff --git a/emulators/fbneo/distinfo b/emulators/fbneo/distinfo
index 5cec3f9d7747..37ea3e43c37f 100644
--- a/emulators/fbneo/distinfo
+++ b/emulators/fbneo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744008010
-SHA256 (finalburnneo-FBNeo-1.0.0.3.20250406-83c57f2b85787091fd1adc17e27d62043fbbab3a_GH0.tar.gz) = 4b078da9f80b820421965945b19efc1afe487968dde4841306c9c26d1f5ccaa5
-SIZE (finalburnneo-FBNeo-1.0.0.3.20250406-83c57f2b85787091fd1adc17e27d62043fbbab3a_GH0.tar.gz) = 13881953
+TIMESTAMP = 1787326119
+SHA256 (libretro-FBNeo-1.0.0.3.20260816-0332bb983c8f8a3e9b61cb79ade30f97a5032535_GH0.tar.gz) = d8bf767cf900936796ae6ca9e5726f44d27dd63d5b97736d6a008be1c7938a18
+SIZE (libretro-FBNeo-1.0.0.3.20260816-0332bb983c8f8a3e9b61cb79ade30f97a5032535_GH0.tar.gz) = 27068936
diff --git a/emulators/fbneo/files/patch-src_cpu_m68k_m68k.h b/emulators/fbneo/files/patch-src_cpu_m68k_m68k.h
new file mode 100644
index 000000000000..f4de034f0622
--- /dev/null
+++ b/emulators/fbneo/files/patch-src_cpu_m68k_m68k.h
@@ -0,0 +1,54 @@
+--- src/cpu/m68k/m68k.h.orig 2026-08-22 00:54:57 UTC
++++ src/cpu/m68k/m68k.h
+@@ -1,10 +1,6 @@
+ #ifndef M68K__HEADER
+ #define M68K__HEADER
+
+-#ifdef __cplusplus
+- extern "C" {
+-#endif
+-
+ /* ======================================================================== */
+ /* ========================= LICENSING & COPYRIGHT ======================== */
+ /* ======================================================================== */
+@@ -122,8 +118,10 @@ typedef enum _m68k_register_t m68k_register_t;
+ };
+ typedef enum _m68k_register_t m68k_register_t;
+
++#ifdef __cplusplus
++ extern "C" {
++#endif
+
+-
+ /* ======================================================================== */
+ /* ====================== FUNCTIONS CALLED BY THE CPU ===================== */
+ /* ======================================================================== */
+@@ -384,21 +382,19 @@ unsigned int m68k_disassemble_raw(char* str_buff, unsi
+ */
+ unsigned int m68k_disassemble_raw(char* str_buff, unsigned int pc, const unsigned char* opdata, const unsigned char* argdata, unsigned int cpu_type);
+
+-
+ /* ======================================================================== */
+-/* ============================= CONFIGURATION ============================ */
+-/* ======================================================================== */
+-
+-/* Import the configuration for this build */
+-#include "m68kconf.h"
+-
+-
+-/* ======================================================================== */
+ /* ============================== END OF FILE ============================= */
+ /* ======================================================================== */
+
+ #ifdef __cplusplus
+ }
+ #endif
++
++/* ======================================================================== */
++/* ============================= CONFIGURATION ============================ */
++/* ======================================================================== */
++
++/* Import the configuration for this build */
++#include "m68kconf.h"
+
+ #endif /* M68K__HEADER */
diff --git a/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__flac.h b/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__flac.h
new file mode 100644
index 000000000000..5f6d32a6be18
--- /dev/null
+++ b/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__flac.h
@@ -0,0 +1,11 @@
+--- src/dep/libs/dr_libs/dr_flac.h.orig 2026-08-22 01:07:12 UTC
++++ src/dep/libs/dr_libs/dr_flac.h
+@@ -8677,7 +8677,7 @@ static drflac_result drflac_fopen(FILE** ppFile, const
+ return drflac_result_from_errno(err);
+ }
+ #else
+-#if defined(_WIN32) || defined(__APPLE__) || defined(__LIBRETRO__)
++#if defined(_WIN32) || defined(__APPLE__) || defined(__LIBRETRO__) || defined(__FreeBSD__)
+ *ppFile = fopen(pFilePath, pOpenMode);
+ #else
+ #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 && defined(_LARGEFILE64_SOURCE)
diff --git a/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__mp3.h b/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__mp3.h
new file mode 100644
index 000000000000..6f54f129f760
--- /dev/null
+++ b/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__mp3.h
@@ -0,0 +1,11 @@
+--- src/dep/libs/dr_libs/dr_mp3.h.orig 2026-08-22 01:07:00 UTC
++++ src/dep/libs/dr_libs/dr_mp3.h
+@@ -3865,7 +3865,7 @@ static drmp3_result drmp3_fopen(FILE** ppFile, const c
+ return drmp3_result_from_errno(err);
+ }
+ #else
+-#if defined(_WIN32) || defined(__APPLE__) || defined(__LIBRETRO__)
++#if defined(_WIN32) || defined(__APPLE__) || defined(__LIBRETRO__) || defined(__FreeBSD__)
+ *ppFile = fopen(pFilePath, pOpenMode);
+ #else
+ #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 && defined(_LARGEFILE64_SOURCE)
diff --git a/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__wav.h b/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__wav.h
new file mode 100644
index 000000000000..951499a81bdd
--- /dev/null
+++ b/emulators/fbneo/files/patch-src_dep_libs_dr__libs_dr__wav.h
@@ -0,0 +1,11 @@
+--- src/dep/libs/dr_libs/dr_wav.h.orig 2026-08-22 01:07:22 UTC
++++ src/dep/libs/dr_libs/dr_wav.h
+@@ -5214,7 +5214,7 @@ DRWAV_PRIVATE drwav_result drwav_fopen(FILE** ppFile,
+ return drwav_result_from_errno(err);
+ }
+ #else
+-#if defined(_WIN32) || defined(__APPLE__)
++#if defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
+ *ppFile = fopen(pFilePath, pOpenMode);
+ #else
+ #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 && defined(_LARGEFILE64_SOURCE)