summaryrefslogtreecommitdiff
path: root/games-server
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-15 04:04:09 +0100
commit45392c898b8ba163e95028bd98896e77f0c73806 (patch)
treebf6b64dd472acc2960a5c24b26dd0ac036b47d0d /games-server
parent2916cf6049cf9d3092021e247d56c580df6029a7 (diff)
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'games-server')
-rw-r--r--games-server/Manifest.gzbin1905 -> 1901 bytes
-rw-r--r--games-server/mednafen-server/Manifest3
-rw-r--r--games-server/mednafen-server/files/mednafen-server-0.5.2-m4-macro-include.patch32
-rw-r--r--games-server/mednafen-server/mednafen-server-0.5.2-r3.ebuild (renamed from games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild)7
4 files changed, 41 insertions, 1 deletions
diff --git a/games-server/Manifest.gz b/games-server/Manifest.gz
index 4deea86d8d17..bb4cec07cc3c 100644
--- a/games-server/Manifest.gz
+++ b/games-server/Manifest.gz
Binary files differ
diff --git a/games-server/mednafen-server/Manifest b/games-server/mednafen-server/Manifest
index 5ddedf06020f..6a038db628b4 100644
--- a/games-server/mednafen-server/Manifest
+++ b/games-server/mednafen-server/Manifest
@@ -1,3 +1,4 @@
+AUX mednafen-server-0.5.2-m4-macro-include.patch 964 BLAKE2B 913570abd5444da18724a9c48af176e8091b3e14cd81606d71c14340c1cad260fea89d2e2416d14f2e869c2ac35708d0b19c00e5be9d53a5cb2d471def8ad311 SHA512 3746f713706880d33fe1c33f8a45e8ab6696a834f2cdc1e00012b457e7c0bfb88c29e948b74ad2ea1ce218392ddf7faed449a99225a57e5c911786b7f74b4358
DIST mednafen-server-0.5.2.tar.xz 112512 BLAKE2B 7bfd17ca44286f362ca8208afc6e3ff7cfa7c6d57f4c6e48c3b6e4b627f795c59e2fe55c44a9d174f2fa93033fc56c658205181e5e35f55f997878b1b57019d4 SHA512 a9928277c011e2c17d6799b4fdccb761d366d01560dbf5165f7e280fa4c60b7d1705b2107561bb128f77089b319cadf10639dba65a59b91629864baae42c845c
-EBUILD mednafen-server-0.5.2-r2.ebuild 617 BLAKE2B 92e7689efa3c9eccc171ff6eff9bb64349338118cb77988597866cde2f277a8ef77c17f5d5b6f97ffbcdb68238c37329f5a8bf4609aa18dcdab9d254a19de12d SHA512 3cbad33f2cc7aa9143de3b3ecf32ce3cfdca24209f46714989e9697d4f54a255c3aa1653b8d43340f9289c0bbfc22ddff99e2cbf7f71d55979571b6f09ceddf0
+EBUILD mednafen-server-0.5.2-r3.ebuild 705 BLAKE2B 61d57c8e7a8f03296813eaa0d47e722ae65799e06e926f81e2b94e7ca69316c98671a680d4af265ef65f9cc073bd9d2e8796f636d0c1f3f67cca7e5b22e67698 SHA512 c897f10fb1c41db93f8fb3851cf598a2835f994b04478d4d5fcf8f3160ecaaabc378397bdb188281e2d96d4f23ed325c87cd3cffc75b5b45d205cc6b94861806
MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135
diff --git a/games-server/mednafen-server/files/mednafen-server-0.5.2-m4-macro-include.patch b/games-server/mednafen-server/files/mednafen-server-0.5.2-m4-macro-include.patch
new file mode 100644
index 000000000000..e204595eb7fd
--- /dev/null
+++ b/games-server/mednafen-server/files/mednafen-server-0.5.2-m4-macro-include.patch
@@ -0,0 +1,32 @@
+From 2770dffa54f73cab801c96ff85f34dbe8abc5e47 Mon Sep 17 00:00:00 2001
+From: Matt Jolly <kangie@gentoo.org>
+Date: Mon, 14 Oct 2024 15:58:37 +1000
+Subject: [PATCH] games-server/mednafen-server: Explicitly include
+ `ax_cflags_gcc_option.m4`
+
+We need to call `eautoreconf` in `src_prepare` to
+fix some C99/C23 issues in the shipped configure file.
+
+In order to do this, we need to explicitly include
+`ax_cflags_gcc_option.m4` in `configure.ac`. I'm
+not sure how this worked previously but it doesn't
+anymore.
+
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index 0da3ab4..483f837 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -8,6 +8,7 @@ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE([mednafen_server], $MEDNAFEN_SERVER_VERSION)
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
++m4_include([m4/ax_cflags_gcc_option.m4])
+ AM_CONFIG_HEADER([include/config.h:include/config.h.in])
+
+ AC_PROG_CC
+--
+2.46.2
diff --git a/games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild b/games-server/mednafen-server/mednafen-server-0.5.2-r3.ebuild
index a08ec6a3f444..b478d846fc6d 100644
--- a/games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild
+++ b/games-server/mednafen-server/mednafen-server-0.5.2-r3.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit autotools
+
DESCRIPTION="Server for Mednafen emulator"
HOMEPAGE="https://mednafen.github.io/releases/"
SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz"
@@ -12,8 +14,13 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-m4-macro-include.patch
+)
+
src_prepare() {
default
+ eautoreconf
mv standard.conf standard.conf.example || die
mv run.sh run.sh.example || die