summaryrefslogtreecommitdiff
path: root/games-board
diff options
context:
space:
mode:
Diffstat (limited to 'games-board')
-rw-r--r--games-board/Manifest.gzbin10032 -> 10034 bytes
-rw-r--r--games-board/xmahjongg/Manifest3
-rw-r--r--games-board/xmahjongg/files/xmahjongg-3.7-drop-register-keyword.patch14
-rw-r--r--games-board/xmahjongg/xmahjongg-3.7-r2.ebuild (renamed from games-board/xmahjongg/xmahjongg-3.7-r1.ebuild)15
4 files changed, 25 insertions, 7 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz
index 970ce8d2d49c..3abc0151dfbd 100644
--- a/games-board/Manifest.gz
+++ b/games-board/Manifest.gz
Binary files differ
diff --git a/games-board/xmahjongg/Manifest b/games-board/xmahjongg/Manifest
index 7d5e57ec65cc..bbed819d21f9 100644
--- a/games-board/xmahjongg/Manifest
+++ b/games-board/xmahjongg/Manifest
@@ -1,4 +1,5 @@
AUX xmahjongg-3.7-autotools.patch 556 BLAKE2B 7b0e4b0aeb818c16ba07160b4e126fceaf4260163c5ac543106bc49067d8e9b0b7e15b00fd912bd5d790604965d998a6d37ea6200efbab5e16005038f84f0029 SHA512 4c6ab7305b937e3ac94026831e2c63c3d5d7c3deb44b857ab0de54a936343ef8cd1fc6d8dbb3e9738bee6f8e298643e902eeeaf81ebddf8e500238aae24e686a
+AUX xmahjongg-3.7-drop-register-keyword.patch 445 BLAKE2B 26fc57d0e4ef3b654bde06ed38cb937482187594dfa35b4d7aa1a303c4ca9bfb2881b984987e0fa09d0a74b433b2a84e8108f5037f5f4a3a0a2e8bc322d7ced2 SHA512 8ebdb6d28227e3cd10e04c327239a898d0682a8f9c3bd7918b2bf205bbf665c97f043895f17ea4a7a5e47f98ccb8669049d8466edd2a03bb76a8af242498f244
DIST xmahjongg-3.7.tar.gz 551834 BLAKE2B 8a8d82fe6f88efc0b966440b27654a003f8928bf10ee7cdf54a95dd35108530794faa21d39c296c789a910e6867db831bbfbecefe8f873f26a52d0e877b45485 SHA512 eb952b38b2ea79f3037a6e8063042f4094e0719edd366c0327350aaf6484ee64ad5d174741bbb80fc49dba62eba4790ffc97eb1bf0d942149e614bde7bd1759a
-EBUILD xmahjongg-3.7-r1.ebuild 694 BLAKE2B ceca92ca4906a7c72f27dd99b1810ad5d814bbe458158c1634e347c749c68c63c91d7004e55a12094b769659b46e587d94c8e517d8b94a1622e3f924d82bdc02 SHA512 248ad8f2ae8fc71748670993fd4cab8501a778d18601d4acc70a01f23328b46ea4de1c4728639aaf7d28e7f32f1cc4ec9d2f3a51d7a2c5f640164775bc2d8285
+EBUILD xmahjongg-3.7-r2.ebuild 745 BLAKE2B c1dc04a80a9d6022a8f6b2e84b51565eecfde84a15d6210d326b52614dd86aacc57d280fd4bf25aa3ff3846a2db406a5e9bd976940a32e995298099a96b4c353 SHA512 8f669746ba6aadda4710f0615ac3e3b6e110f137fd05d361ba565d50591da3ec39f8294961e7a1882b37b8ce9933a621553249dab4b319feaff1e9ca675dc466
MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610
diff --git a/games-board/xmahjongg/files/xmahjongg-3.7-drop-register-keyword.patch b/games-board/xmahjongg/files/xmahjongg-3.7-drop-register-keyword.patch
new file mode 100644
index 000000000000..6645f6fc5e33
--- /dev/null
+++ b/games-board/xmahjongg/files/xmahjongg-3.7-drop-register-keyword.patch
@@ -0,0 +1,14 @@
+Bug: https://bugs.gentoo.org/895896
+--- a/liblcdf/permstr.cc
++++ b/liblcdf/permstr.cc
+@@ -111,8 +111,8 @@ static int scatter[] = { /* map characters to random values */
+ void
+ PermString::initialize(const char* s, int length)
+ {
+- register unsigned char* m = (unsigned char*) s;
+- register unsigned char* mm;
++ unsigned char* m = (unsigned char*) s;
++ unsigned char* mm;
+
+ if (length < 0)
+ length = (s ? strlen(s) : 0);
diff --git a/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild b/games-board/xmahjongg/xmahjongg-3.7-r2.ebuild
index f27ba3840910..c4ba67f96136 100644
--- a/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild
+++ b/games-board/xmahjongg/xmahjongg-3.7-r2.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools desktop
-DESCRIPTION="friendly GUI version of xmahjongg"
-HOMEPAGE="http://www.lcdf.org/xmahjongg/"
-SRC_URI="http://www.lcdf.org/xmahjongg/${P}.tar.gz"
+DESCRIPTION="Friendly GUI version of xmahjongg"
+HOMEPAGE="https://www.lcdf.org/xmahjongg/"
+SRC_URI="https://www.lcdf.org/xmahjongg/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -17,7 +17,10 @@ RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
x11-libs/libXt"
-PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-drop-register-keyword.patch
+)
src_prepare() {
default