sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master games grimoire by Ismael Luceno (51b0325a07476de3e4f1e97bb1513079497d29fd)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (51b0325a07476de3e4f1e97bb1513079497d29fd)
- Date: Fri, 20 Sep 2019 17:42:49 +0000
GIT changes to master games grimoire by Ismael Luceno <ismael AT sourcemage.org>:
games-emulators/mame/DEPENDS | 2 +-
games-emulators/mame/HISTORY | 5 +++++
games-emulators/mame/PRE_BUILD | 3 +++
games-emulators/mame/patches/musl-netlist.patch | 11 +++++++++++
games-emulators/mame/patches/musl-time_t.patch | 10 ++++++++++
5 files changed, 30 insertions(+), 1 deletion(-)
New commits:
commit 51b0325a07476de3e4f1e97bb1513079497d29fd
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
mame: Import portability fixes from Void Linux
commit 1776898d54fe8ca282c78a10f7e8f79f483556ad
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
mame: only use portaudio v19
diff --git a/games-emulators/mame/DEPENDS b/games-emulators/mame/DEPENDS
index 2110e83..879a8f7 100755
--- a/games-emulators/mame/DEPENDS
+++ b/games-emulators/mame/DEPENDS
@@ -9,7 +9,7 @@ depends sdl2_ttf &&
depends python3 PYTHON_EXECUTABLE=python3 &&
use_system JPEG &&
use_system LUA &&
-use_system PORTAUDIO &&
+use_system portaudio19 &&
use_system expat &&
use_system flac &&
use_system libuv UV &&
diff --git a/games-emulators/mame/HISTORY b/games-emulators/mame/HISTORY
index c05552d..1feae4b 100644
--- a/games-emulators/mame/HISTORY
+++ b/games-emulators/mame/HISTORY
@@ -1,5 +1,10 @@
+2019-09-20 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, patches/musl-netlist.patch, patches/musl-time_t.patch:
+ Import portability fixes from Void Linux.
+
2019-09-19 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: Added missing dependency on sdl2_ttf
+ PORTAUDIO -> portaudio19 (v18 not supported anymore)
2019-09-18 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: Added missing python3 dependency
diff --git a/games-emulators/mame/PRE_BUILD b/games-emulators/mame/PRE_BUILD
new file mode 100755
index 0000000..1b2007b
--- /dev/null
+++ b/games-emulators/mame/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+find "$SPELL_DIRECTORY"/patches -name \*.patch | xargs -n 1 -t patch -fp1 -i
diff --git a/games-emulators/mame/patches/musl-netlist.patch
b/games-emulators/mame/patches/musl-netlist.patch
new file mode 100644
index 0000000..e210e10
--- /dev/null
+++ b/games-emulators/mame/patches/musl-netlist.patch
@@ -0,0 +1,11 @@
+--- a/src/lib/netlist/plib/pexception.cpp
++++ b/src/lib/netlist/plib/pexception.cpp
+@@ -10,7 +10,7 @@
+ #include "pexception.h"
+ #include "pfmtlog.h"
+
+-#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__)
++#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__) &&
defined(__GLIBC__)
+ #define HAS_FEENABLE_EXCEPT (1)
+ #else
+ #define HAS_FEENABLE_EXCEPT (0)
diff --git a/games-emulators/mame/patches/musl-time_t.patch
b/games-emulators/mame/patches/musl-time_t.patch
new file mode 100644
index 0000000..7c9869d
--- /dev/null
+++ b/games-emulators/mame/patches/musl-time_t.patch
@@ -0,0 +1,10 @@
+--- a/3rdparty/bx/include/bx/bx.h
++++ b/3rdparty/bx/include/bx/bx.h
+@@ -11,6 +11,7 @@
+ #include <stdint.h> // uint32_t
+ #include <stdlib.h> // size_t
+ #include <stddef.h> // ptrdiff_t
++#include <time.h> // time_t
+
+ #include "platform.h"
+ #include "config.h"
- [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (51b0325a07476de3e4f1e97bb1513079497d29fd), Ismael Luceno, 09/20/2019
Archive powered by MHonArc 2.6.24.