summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-29 11:39:27 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-29 11:40:07 +0000
commit03c993729b80cc6835e8213ef80265b3b02e5305 (patch)
tree7e6ceda8cceefc660fdd01458bd3d47717daf7b0 /games-roguelike/angband/files
parentdev-python/BitVector: bump to 3.4.9 (diff)
downloadgentoo-03c993729b80cc6835e8213ef80265b3b02e5305.tar.gz
gentoo-03c993729b80cc6835e8213ef80265b3b02e5305.tar.bz2
gentoo-03c993729b80cc6835e8213ef80265b3b02e5305.zip
games-roguelike/angband: tweak for gcc-10, bug #707770
Closes: https://bugs.gentoo.org/707770 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'games-roguelike/angband/files')
-rw-r--r--games-roguelike/angband/files/angband-4.2.0-gcc-10.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-roguelike/angband/files/angband-4.2.0-gcc-10.patch b/games-roguelike/angband/files/angband-4.2.0-gcc-10.patch
new file mode 100644
index 000000000000..6aeb1f7a2047
--- /dev/null
+++ b/games-roguelike/angband/files/angband-4.2.0-gcc-10.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/707770
+
+--- a/src/mon-blows.h
++++ b/src/mon-blows.h
+@@ -41,7 +41,7 @@ struct blow_method {
+ struct blow_method *next;
+ };
+
+-struct blow_method *blow_methods;
++extern struct blow_method *blow_methods;
+
+ /**
+ * Storage for context information for effect handlers called in
+@@ -83,7 +83,7 @@ struct blow_effect {
+ struct blow_effect *next;
+ };
+
+-struct blow_effect *blow_effects;
++extern struct blow_effect *blow_effects;
+
+ /* Functions */
+ int blow_index(const char *name);