kde-apps/kwave: restore GCC 11 patch

Closes: https://bugs.gentoo.org/790158
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-06-16 15:54:39 +01:00
parent b721608cdb
commit cbb7a891da
2 changed files with 14 additions and 0 deletions

View File

@@ -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>

View File

@@ -69,6 +69,8 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS CHANGES LICENSES README TODO )
PATCHES=( "${FILESDIR}/${PN}-21.04.1-gcc11.patch" ) # bug 790158, KDE-bug 437432; pending
src_configure() {
local mycmakeargs=(
-DDEBUG=$(usex debug)