summaryrefslogtreecommitdiff
path: root/games-arcade/nibbles
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /games-arcade/nibbles
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'games-arcade/nibbles')
-rw-r--r--games-arcade/nibbles/Manifest3
-rw-r--r--games-arcade/nibbles/files/nibbles-0.0.4-gcc-10.patch22
-rw-r--r--games-arcade/nibbles/nibbles-0.0.4-r1.ebuild3
3 files changed, 26 insertions, 2 deletions
diff --git a/games-arcade/nibbles/Manifest b/games-arcade/nibbles/Manifest
index 9875d8c8af88..f485322a040d 100644
--- a/games-arcade/nibbles/Manifest
+++ b/games-arcade/nibbles/Manifest
@@ -1,4 +1,5 @@
AUX nibbles-0.0.4-as-needed.patch 458 BLAKE2B 665d1d6ec0bf57b10c23d7e4a027aac113cebd3ef72fc4b976f1d15250556335f9ab4796e7dc5b639eea85e93f0e61eee1ba185fe40c45de7d18535331716c8d SHA512 9b875d674a9ae6c7fb7d1f8fe99b243d34ed3ad096cbf2ffdef8522512cee4dd3915c138941d8d898b319759cd5a62086b9984ba32230bee7b6b3c9d32d0dae4
+AUX nibbles-0.0.4-gcc-10.patch 427 BLAKE2B d46de5095f4ceaa1369547549feee7a90ea2ce52de520a163bd901c25977b0f98e6722eb76bedb3523e6b108a89e1d9c51270b9bed5c55d6273877ac17525764 SHA512 be3774e8ce0315755e909bfad03be269120ade027993d02779c2d74318c939fc9dd3862b9fcd8c31b005492e36bb0d5edfb9a43a4647c1266a94ebb1162259b6
DIST nibbles-v0.0.4.tar.gz 18610 BLAKE2B 264331c2ef612d1421c370df601da3d8bd5b04c34f7a41e8a8b78480a308d9e8b24177db3666785603efefabd873af04b24bf31d1b320e3fac7698b1b98e2ee0 SHA512 a10af4f20af371c2a8ab4cf69c4a73120670815467177d3bc2a05aa198e9edf80cc1d47edf40d06059baf6e51cf7018ed4830a3a5bda6a35868548403f5f414b
-EBUILD nibbles-0.0.4-r1.ebuild 1170 BLAKE2B be81ab79c2a1f211c71702136920e5e8ab60c53a4630d10aa87b7ad30b05040368bd25733344002485df7df7ac538d495762b78857c35ab38181466aee0df1f3 SHA512 5069d08497131cb866e1660f142bc423312bec7f1bad35491b85a5837334aea006956bd32b47352a85198bfb99599822260c20b96cd4f9d59fe3397bdf62afaa
+EBUILD nibbles-0.0.4-r1.ebuild 1203 BLAKE2B 6e7ab44d69590871fe64ce25f75f87a1c141196df3fb74d5af48c0ec97444ec762e1543143508246c0e39fb9ebe50bd4cf48486d99c6e3cf9e44014efdfcf0da SHA512 ff63f5f9a1bb6c32d5258e915e020394e80cfeed8605d66cdf646c19f85e50ea505e4c3cf437b726d3b3ef9c17630d20a434fb419c6416b244c7d9b4dc8a1979
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/nibbles/files/nibbles-0.0.4-gcc-10.patch b/games-arcade/nibbles/files/nibbles-0.0.4-gcc-10.patch
new file mode 100644
index 000000000000..e70203f73c7e
--- /dev/null
+++ b/games-arcade/nibbles/files/nibbles-0.0.4-gcc-10.patch
@@ -0,0 +1,22 @@
+--- a/scoring.c
++++ b/scoring.c
+@@ -12,6 +12,8 @@
+ #include <time.h>
+ #include "scoring.h"
+
++char highscoref[255];
++
+ int get_high_scores(struct highscoreent *highscores[], int *numscores)
+ {
+ FILE *scorefile;
+--- a/scoring.h
++++ b/scoring.h
+@@ -11,7 +11,7 @@
+ /* Max number of high scores we store */
+ #define MAXHIGHSCORES 20
+
+-char highscoref[255];
++extern char highscoref[255];
+
+ struct highscoreent {
+ char name[16];
diff --git a/games-arcade/nibbles/nibbles-0.0.4-r1.ebuild b/games-arcade/nibbles/nibbles-0.0.4-r1.ebuild
index fb8b32293972..f0e888118245 100644
--- a/games-arcade/nibbles/nibbles-0.0.4-r1.ebuild
+++ b/games-arcade/nibbles/nibbles-0.0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,6 +24,7 @@ GAMES_STATEDIR="/var/games/${PN}"
PATCHES=(
"${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-gcc-10.patch
)
S="${WORKDIR}/${MY_P}"