summaryrefslogtreecommitdiff
path: root/games-arcade/cavezofphear
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-arcade/cavezofphear
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-arcade/cavezofphear')
-rw-r--r--games-arcade/cavezofphear/Manifest3
-rw-r--r--games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild3
-rw-r--r--games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch23
3 files changed, 27 insertions, 2 deletions
diff --git a/games-arcade/cavezofphear/Manifest b/games-arcade/cavezofphear/Manifest
index 33534d0756da..513e4cb9619e 100644
--- a/games-arcade/cavezofphear/Manifest
+++ b/games-arcade/cavezofphear/Manifest
@@ -1,4 +1,5 @@
AUX cavezofphear-0.5.1-gentoo.patch 876 BLAKE2B fe2ff1ff1b1698ecbe06492bd80b8104908def9b1d4810b2c6b569e55d71a420a70a2d731555cee3a42adb40fa76b2964e2ba57105a1b47c00f54ca48851b213 SHA512 ee3d37644d1b94b39db2274eac0eadd3a823736177da317a2476238dbebe1a8a5af466f01771249e59aed838c684c9fd59fe7868aac3f1e1b89a75863bc49af4
+AUX cavezofphear-0.5.1-no-common.patch 438 BLAKE2B 919c2d0f35ad757b49ae742a4bffe84e2eda7c1e055e08a30e14e47c461994191792a500825b15b13bd35322f9e737fc97886753c0b221bc2fde80fee45f4f81 SHA512 49c835a11f03ac1fe0e8ba17281dc0fd4f1092bc60cbb0354c3c8036320cb6831f5d4908fedbfc2a95186e514a2d08f6b7c1f2711dbf620a262da4369bb2f2a8
DIST phear-0.5.1.tar.bz2 25750 BLAKE2B 0b2c4a6f51fadd48a1e01dd5ac2072984368b3314fd3df01d4ad8adfdc0d031d443ac5f950651d4fff4ff5019b61868532eff0ed3d31bd6b2ba0f97893391d6a SHA512 23326a63acc06e77a1dd3505345940f8ef31b671282e00f623b181fe1cdbdf1b7e4b37a6e91ea430348a02239ed1450736dc075ea3af3eee0e8acb115aa89f3b
-EBUILD cavezofphear-0.5.1.ebuild 763 BLAKE2B 31163b56bcfb24adaa5f7bc71f7273c9d133dc1d458f098641264870589668d4ef3a73f10625ce5ef205e3074d670ca6de22d9a6145d96a795b53456bdde77a5 SHA512 645eab9394c91616d30f4dc0b783dad373fb1ef62bedf1c792db0ee9f25e501a4fc9059a9b7c07b94fe346a95126b765541f4d8bf55e4ac88522358dd6562c00
+EBUILD cavezofphear-0.5.1.ebuild 806 BLAKE2B 7960ffdbfc3c760c8a35d1ec5dda7e74e61d72b09c29b22c4c5b06163eb24eae1cf2525646cd632d625abae44dc13644ec34faf2212e2173caf90b7efde03821 SHA512 6fad3d356a96a477bfe0a9f14acf82ce079195115487827d4b2f2b5e9104afd4f4f6af9e2c33f1b8866fe04d0977114a1cca41fade98284a98ab760c5b2cd2ee
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild b/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild
index 459bd6d3f2ae..1069f5a9ce3c 100644
--- a/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild
+++ b/games-arcade/cavezofphear/cavezofphear-0.5.1.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=5
@@ -20,6 +20,7 @@ S=${WORKDIR}/${P/cavezof/}
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
+ epatch "${FILESDIR}"/${P}-no-common.patch
sed -i \
-e "s:get_data_dir(.):\"${GAMES_DATADIR}/${PN}/\":" \
src/{chk.c,main.c,gplot.c} \
diff --git a/games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch
new file mode 100644
index 000000000000..4cc9bb5be02c
--- /dev/null
+++ b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/706880
+--- a/src/editor.c
++++ b/src/editor.c
+@@ -24,7 +24,7 @@
+ #include "common.h"
+ #include "proto.h"
+
+-char map[MAP_YSIZE][MAP_XSIZE];
++extern char map[MAP_YSIZE][MAP_XSIZE];
+ int lock;
+ int last_obj;
+
+--- a/src/frame.c
++++ b/src/frame.c
+@@ -26,7 +26,7 @@ void bail(char *message);
+ void sigint_handler();
+ void sigwinch_handler();
+
+-int need_refresh;
++extern int need_refresh;
+
+ void curses_start(void)
+ {