summaryrefslogtreecommitdiff
path: root/games-emulation/mgba
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
commit7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch)
tree02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /games-emulation/mgba
parent43c2a85d4e20318dd3d35872e348707900870067 (diff)
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'games-emulation/mgba')
-rw-r--r--games-emulation/mgba/Manifest5
-rw-r--r--games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch17
-rw-r--r--games-emulation/mgba/mgba-0.10.3.ebuild1
-rw-r--r--games-emulation/mgba/mgba-9999.ebuild1
4 files changed, 22 insertions, 2 deletions
diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest
index d0197fbd79e5..96e29fd89401 100644
--- a/games-emulation/mgba/Manifest
+++ b/games-emulation/mgba/Manifest
@@ -1,5 +1,6 @@
AUX mgba-0.10.0-optional-updater.patch 206 BLAKE2B 199a4305212e1974aa79ee728ab7b685b4b52602fe6447dd1b29513b526e101a306558b9a912bbb3c1438ea6a70df1c9e6368e2ca2ba5b50e6a59200b2a11daf SHA512 3227908dca7a2973ae5c7ec311b683362adf16ae5d5c801943322962d181ad046f43383bdf86441d81284f4f567a8d8ae387f4c15bf25b3d4189882fecd79d6b
+AUX mgba-0.10.3-rapidjson-gcc14-const.patch 821 BLAKE2B 81ee40e4782c3328114b63f864db8c3ceca3998bb3e6a29f9387ea5d5c2820677f98a98638a36476d0e222bec5a4bc08b9d41278d6368c37bf62abac1f7c49f8 SHA512 777a0980c69d60ca6c0d4aaef8ab4de82d6e191c518490040b43551b6f56779b84a7aa90f388f251ee4e493dd97d6e3c16c7f3fb0c09cbf79505cff09e8ecd5f
DIST mgba-0.10.3.tar.gz 14350721 BLAKE2B 2109c53455ece7beba0af30787cd75cad85db334be44e41b51f579f813393f8d83c5c9537832b190bb8b0ac1c28d78e92adb6af23191b17b463847df3360f656 SHA512 de92725a18f00ec8645a75cf434a667bfc5aba954d0ae8be188241371a4a310214123be2cec13d20dbff4f660b401364efb51c43c7bdc24eea40454949062a52
-EBUILD mgba-0.10.3.ebuild 2690 BLAKE2B ac6606ec8d965a035b5982e24a61ad39612dd81da58f57f9fdf2efa50928d2f11a7f2aaf606ca4909e41b0c621913cea5f92a1246e912635e93ca6f052f490d9 SHA512 bb49e949e8fe2aee30f815329a4eed60b25990373ba9e588a4ddd39f94f280e585bf3d8fbade62fce378108a3acedfa1de5300294c36855857b54eae5fa6a166
-EBUILD mgba-9999.ebuild 3064 BLAKE2B ce8bc60d0faf921d83c33548a8c7979cf32a68e12c7686631b447428f787072c926a5da7a48dacacc3bb804dc81dd9c58efb3a6aa97c7b4c6ffe20b37ef6b9f7 SHA512 9c0cb0bece9efec9f0df2ffbe8bc99f61f16321a54edb84f803084d2d8f4ee20d0e14ee43c2a1bf5909a7632a0051fe1c4df280e729b14e294481fef48996b5e
+EBUILD mgba-0.10.3.ebuild 2746 BLAKE2B c48a1eb1f8841286c2167936fe3f33b50fb7987072fe03349999918c042465a2dd8d27559fd8465311addc57c2c6db621719540d673b5a668b6eb79a7dd28e4a SHA512 31b2be5c450f713f02926396ee371849b5a6b4659b1782194f80d515dc2d6f8932894ffa433ae01118d49862a3b32fd88bd6423813e43bad2fd999783fec19f7
+EBUILD mgba-9999.ebuild 3120 BLAKE2B a892c42c3cb889bace3c6b7efc9e89cd1f33e6990373675ef9eca6d789d98b21b89c3b8c9a1583566e2da84bd184b6160678f53c5edc2ed5e5d3d9f442a2148b SHA512 038a96bef3ad6b73f55e967c887f1c8f48168e0f259827b699becc1cf1e7eb0134269ecd11824f898db2dcc1f4333bb9b039ed2ceffff35d0e401a6316d9995b
MISC metadata.xml 623 BLAKE2B 888308191968b294352854c1228bcf82b25a3836fa53e1bf961e264c9a4f91c6e10f5598d4ba9a13927413f10a0686dfe180cd21e26e04c4c7c694f140dce9ff SHA512 93078c5ce55d268ebbed1789d80c8c5d9ef291fd1f48f2e4e1d124d3f4fb446bc7ec28fb6f20f4e79eecff64f2ff601408ef97555a5a9b55052312fb69c0e1fb
diff --git a/games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch b/games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch
new file mode 100644
index 000000000000..516c81199bda
--- /dev/null
+++ b/games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/924019
+(same as https://bugs.gentoo.org/914583 given rapidjson is bundled)
+
+https://github.com/Tencent/rapidjson/issues/718
+https://github.com/Tencent/rapidjson/commit/3b2441b87f99ab65f37b141a7b548ebadb607b96
+From: Janusz Chorko <janusz.chorko@apdu.pl>
+Date: Fri, 26 Aug 2016 21:17:38 +0200
+Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718
+--- a/src/third-party/discord-rpc/include/rapidjson/document.h
++++ b/src/third-party/discord-rpc/include/rapidjson/document.h
+@@ -317,6 +317,4 @@
+ GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
+
+- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
+-
+ //! implicit conversion to plain CharType pointer
+ operator const Ch *() const { return s; }
diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild
index 1ae84af200cd..0e746e84b175 100644
--- a/games-emulation/mgba/mgba-0.10.3.ebuild
+++ b/games-emulation/mgba/mgba-0.10.3.ebuild
@@ -60,6 +60,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.10.0-optional-updater.patch
+ "${FILESDIR}"/${PN}-0.10.3-rapidjson-gcc14-const.patch
)
pkg_setup() {
diff --git a/games-emulation/mgba/mgba-9999.ebuild b/games-emulation/mgba/mgba-9999.ebuild
index d4ce0e18832b..97441a1c618f 100644
--- a/games-emulation/mgba/mgba-9999.ebuild
+++ b/games-emulation/mgba/mgba-9999.ebuild
@@ -63,6 +63,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.10.0-optional-updater.patch
+ "${FILESDIR}"/${PN}-0.10.3-rapidjson-gcc14-const.patch
)
pkg_setup() {