commit: 3d4d8bd733a6b80b7ea836e959f56245898568cc Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri May 21 14:25:37 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri May 21 14:26:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d4d8bd7
kde-apps/kwave: Fix build with GCC-11 Closes: https://bugs.gentoo.org/790158 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> kde-apps/kwave/files/kwave-21.04.1-gcc11.patch | 12 ++++++++++++ kde-apps/kwave/kwave-21.04.1.ebuild | 2 ++ 2 files changed, 14 insertions(+) diff --git a/kde-apps/kwave/files/kwave-21.04.1-gcc11.patch b/kde-apps/kwave/files/kwave-21.04.1-gcc11.patch new file mode 100644 index 00000000000..cc2e8218cf1 --- /dev/null +++ b/kde-apps/kwave/files/kwave-21.04.1-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/plugins/codec_wav/WavDecoder.cpp b/plugins/codec_wav/WavDecoder.cpp +index 9430404..2390c08 100644 +--- a/plugins/codec_wav/WavDecoder.cpp ++++ b/plugins/codec_wav/WavDecoder.cpp +@@ -18,6 +18,7 @@ + #include "config.h" + #include <stdlib.h> + #include <new> ++#include <limits> + + #include <audiofile.h> + diff --git a/kde-apps/kwave/kwave-21.04.1.ebuild b/kde-apps/kwave/kwave-21.04.1.ebuild index d8dc219b584..9da914a5b6e 100644 --- a/kde-apps/kwave/kwave-21.04.1.ebuild +++ b/kde-apps/kwave/kwave-21.04.1.ebuild @@ -69,6 +69,8 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS CHANGES LICENSES README TODO ) +PATCHES=( "${FILESDIR}/${P}-gcc11.patch" ) # bug 790158, KDE-bug 437432; pending + src_configure() { local mycmakeargs=( -DDEBUG=$(usex debug)
