summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-05-23 15:57:20 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-05-23 15:57:20 +0200
commit1bebd3227ed82df26c9c8979cfc4de5d177c8ec5 (patch)
treef5c5e6c14a344bc390f8197964503967237873d3 /games-fps
parentnet-mail/notmuch: Fix runtime dependencies (diff)
downloadgentoo-1bebd3227ed82df26c9c8979cfc4de5d177c8ec5.tar.gz
gentoo-1bebd3227ed82df26c9c8979cfc4de5d177c8ec5.tar.bz2
gentoo-1bebd3227ed82df26c9c8979cfc4de5d177c8ec5.zip
games-fps/eduke32: fix compilation with gcc-10
Closes: https://bugs.gentoo.org/724626 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/eduke32/eduke32-20200505.8904.ebuild1
-rw-r--r--games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/games-fps/eduke32/eduke32-20200505.8904.ebuild b/games-fps/eduke32/eduke32-20200505.8904.ebuild
index c0662991c699..c493f5f8a351 100644
--- a/games-fps/eduke32/eduke32-20200505.8904.ebuild
+++ b/games-fps/eduke32/eduke32-20200505.8904.ebuild
@@ -88,6 +88,7 @@ PATCHES=(
"${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
"${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
"${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
)
src_unpack() {
diff --git a/games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch b/games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch
new file mode 100644
index 000000000000..2795e999c8ee
--- /dev/null
+++ b/games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch
@@ -0,0 +1,13 @@
+This patch fixes compilation with GCC-10.
+
+diff -dru a/source/audiolib/include/music.h b/source/audiolib/include/music.h
+--- a/source/audiolib/include/music.h
++++ b/source/audiolib/include/music.h
+@@ -38,6 +38,7 @@
+
+ #ifdef __linux__
+ #include <vector>
++#include <string>
+
+ typedef struct
+ {