summaryrefslogtreecommitdiff
path: root/games-emulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-10 23:14:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-10 23:14:41 +0000
commit145b1805c3986974378af5c60767504ecc9ed280 (patch)
tree28dbd5be73a5af5dd20d4ea81d293394d975c9e0 /games-emulation
parent627302fc2f41a621644260ffa3f50e06ea5edd60 (diff)
gentoo auto-resync : 10:12:2023 - 23:14:40
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/Manifest.gzbin12043 -> 12047 bytes
-rw-r--r--games-emulation/melonds/Manifest3
-rw-r--r--games-emulation/melonds/files/melonds-0.9.5-DSi_Camera-algorithm.patch24
-rw-r--r--games-emulation/melonds/melonds-0.9.5-r4.ebuild13
4 files changed, 36 insertions, 4 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz
index 5848e8cbec92..45c38f661ce4 100644
--- a/games-emulation/Manifest.gz
+++ b/games-emulation/Manifest.gz
Binary files differ
diff --git a/games-emulation/melonds/Manifest b/games-emulation/melonds/Manifest
index f0601e1523c9..cbfbaf047326 100644
--- a/games-emulation/melonds/Manifest
+++ b/games-emulation/melonds/Manifest
@@ -1,5 +1,6 @@
+AUX melonds-0.9.5-DSi_Camera-algorithm.patch 777 BLAKE2B e87bc449a06bd3ad0bbb8e20d2c0f06c1a9ad4b27b24143b96f6a41e9e1b0f1579c22a170627b382911d20c52402bd2662952dba7284632e4d00e27bd04cb5d9 SHA512 73ccfa611f23540948fb6ae010a947df521daafbd3756a23f2e93d5a59b5cd9e04c9b59f40143b69b112e4300825b458b0e0581b2cdda355d85a3fef28df2aeb
AUX melonds-0.9.5-no-ccache-detection.patch 397 BLAKE2B f9c2bc08860c2894d9ef3dec6630031760142edbaa2d3b72baa980c8201929fedf98268fa35552eb81e087e5a08622dd7f28b2c7a6eaa6bb33eace7684c67779 SHA512 bccaeab238c0c343d1019e7b1b55804a4a15e0c67a07ce9d97f24491df0b8ff0405b89f628fb58304febd1b3c1fb4ff13639b4e854bfff1bbfe244b54071d9c8
DIST melonDS-0.9.5.tar.gz 2496704 BLAKE2B ac6b75a74df266c6220a15c8775969f19bd6ef19946c913d49b642aa797ca6dc4cd956e7a840fbdbf572a9178a214314549cfe3fc4617a4f0f3877850c6818cd SHA512 115cf04e4e22a20016ac4f2946aef917e5c9566b1a5f18599f7b7c47b0ac71e3645157a8a21622ab83683848c57ab25e6d6fcff0df559087b56642d99ffe40ec
-EBUILD melonds-0.9.5-r4.ebuild 1715 BLAKE2B 58729e4280388ecdb54fb9eefdf6b28c4dac6215e78c2befa833238672467653cfd99e00353a48fd826335a1b47ceb91a7bbd259f31e553d453a8857eceffac4 SHA512 29f37f5f0a714f9c2f482491309449d4167e53cde5112828ad7e2a0e38787f6b88ff4ef8093fb70c6f25311d9fba22afd9ede067e5305b9744339b6d1d147c2a
+EBUILD melonds-0.9.5-r4.ebuild 1783 BLAKE2B 3795b076566d9eda60778b605b0d725893ee34011ae420960a72909edffaf2b2388294c28a4819200a30618bebc46914fb6a4c3b31e59e96c1f87763900d9fcb SHA512 c626a807953a62d7c51a026f8b2f31e5caecaa5f511a68dcf4a5f291da519eedc4c91d3df5df6382c16b36ecb221d9449780c146445daa7731414a42c6dd3ac4
EBUILD melonds-9999.ebuild 1727 BLAKE2B 58bb370b9f16a7d2d8f72f692692726cc0db3f08e5cc3858148dd254753ec30f1236be965df95eabf571616549e9580f44041e9f32cc9f06532e65a9a8a92e2e SHA512 e8d1f5b746943f6156ca82ff3c5cb471c72a3973d81e097a5ab2b429d6a884e8b63dee18f939e2fe6c8e75daaae4bad4fa87f87b2b82eae51938b44f42347202
MISC metadata.xml 404 BLAKE2B e9abe00b5ee8196030846be4e7a9e224c0fb7356f88a39949b219bb7355bcac50f6ca28b299a40f056e5a105903cb156aed77731fb3ed61d2ef88becf35d0dc3 SHA512 6e2926035441d9c93759ad92cb2c026a10d28b8354e90d56361b4afc1aa6e7f0e4bb49900ad9f6025f8f9b7070df5691583074f30620196f1305919bd7cfdbdb
diff --git a/games-emulation/melonds/files/melonds-0.9.5-DSi_Camera-algorithm.patch b/games-emulation/melonds/files/melonds-0.9.5-DSi_Camera-algorithm.patch
new file mode 100644
index 000000000000..17971f1327c0
--- /dev/null
+++ b/games-emulation/melonds/files/melonds-0.9.5-DSi_Camera-algorithm.patch
@@ -0,0 +1,24 @@
+From e63e29ca91ba5fc1630634fbb9f064b9cce6cc1f Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Sat, 11 Nov 2023 10:31:10 -0800
+Subject: [PATCH] DSi_Camera: fix gcc-14 build issue
+
+melonDS/src/DSi_Camera.cpp:190:23: error: 'clamp' is not a member of 'std'
+ 190 | r1 = std::clamp(r1, 0, 255); g1 = std::clamp(g1, 0, 255); b1 = std::clamp(b1, 0, 255);
+ | ^~~~~
+---
+ src/DSi_Camera.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/DSi_Camera.cpp b/src/DSi_Camera.cpp
+index 749162932..2b259c590 100644
+--- a/src/DSi_Camera.cpp
++++ b/src/DSi_Camera.cpp
+@@ -16,6 +16,7 @@
+ with melonDS. If not, see http://www.gnu.org/licenses/.
+ */
+
++#include <algorithm>
+ #include <stdio.h>
+ #include <string.h>
+ #include "DSi.h"
diff --git a/games-emulation/melonds/melonds-0.9.5-r4.ebuild b/games-emulation/melonds/melonds-0.9.5-r4.ebuild
index a2ea52c0b297..5171a6bad8ec 100644
--- a/games-emulation/melonds/melonds-0.9.5-r4.ebuild
+++ b/games-emulation/melonds/melonds-0.9.5-r4.ebuild
@@ -38,10 +38,17 @@ RDEPEND="
net-libs/libpcap
net-libs/libslirp
"
-DEPEND="${RDEPEND}"
-BDEPEND="kde-frameworks/extra-cmake-modules:0"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ kde-frameworks/extra-cmake-modules:0
+"
-PATCHES=( "${FILESDIR}"/${P}-no-ccache-detection.patch )
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.5-DSi_Camera-algorithm.patch"
+ "${FILESDIR}/${PN}-0.9.5-no-ccache-detection.patch"
+)
# used for JIT recompiler
QA_EXECSTACK="usr/bin/melonDS"