Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/files/, games-fps/eduke32/
Date: Sat, 23 May 2020 13:57:40
Message-Id: 1590242240.1bebd3227ed82df26c9c8979cfc4de5d177c8ec5.conikost@gentoo
1 commit: 1bebd3227ed82df26c9c8979cfc4de5d177c8ec5
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 13:57:20 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 13:57:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bebd322
7
8 games-fps/eduke32: fix compilation with gcc-10
9
10 Closes: https://bugs.gentoo.org/724626
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 games-fps/eduke32/eduke32-20200505.8904.ebuild | 1 +
15 games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch | 13 +++++++++++++
16 2 files changed, 14 insertions(+)
17
18 diff --git a/games-fps/eduke32/eduke32-20200505.8904.ebuild b/games-fps/eduke32/eduke32-20200505.8904.ebuild
19 index c0662991c69..c493f5f8a35 100644
20 --- a/games-fps/eduke32/eduke32-20200505.8904.ebuild
21 +++ b/games-fps/eduke32/eduke32-20200505.8904.ebuild
22 @@ -88,6 +88,7 @@ PATCHES=(
23 "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
24 "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
25 "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
26 + "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
27 )
28
29 src_unpack() {
30
31 diff --git a/games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch b/games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch
32 new file mode 100644
33 index 00000000000..2795e999c8e
34 --- /dev/null
35 +++ b/games-fps/eduke32/files/eduke32-20200505.8904-gcc10.patch
36 @@ -0,0 +1,13 @@
37 +This patch fixes compilation with GCC-10.
38 +
39 +diff -dru a/source/audiolib/include/music.h b/source/audiolib/include/music.h
40 +--- a/source/audiolib/include/music.h
41 ++++ b/source/audiolib/include/music.h
42 +@@ -38,6 +38,7 @@
43 +
44 + #ifdef __linux__
45 + #include <vector>
46 ++#include <string>
47 +
48 + typedef struct
49 + {