summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-16 15:54:39 +0100
committerSam James <sam@gentoo.org>2021-06-16 15:54:39 +0100
commitcbb7a891dacada35ed98fd09b169fcad269579ef (patch)
treea718e3b122b9781ecdf37c1c60ddd934968e0ea5
parentnet-analyzer/arping: drop 2.17, 2.20 (diff)
downloadgentoo-cbb7a891dacada35ed98fd09b169fcad269579ef.tar.gz
gentoo-cbb7a891dacada35ed98fd09b169fcad269579ef.tar.bz2
gentoo-cbb7a891dacada35ed98fd09b169fcad269579ef.zip
kde-apps/kwave: restore GCC 11 patch
Closes: https://bugs.gentoo.org/790158 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--kde-apps/kwave/files/kwave-21.04.1-gcc11.patch12
-rw-r--r--kde-apps/kwave/kwave-21.04.2.ebuild2
2 files changed, 14 insertions, 0 deletions
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.2.ebuild b/kde-apps/kwave/kwave-21.04.2.ebuild
index d8dc219b584..8bbe19195fa 100644
--- a/kde-apps/kwave/kwave-21.04.2.ebuild
+++ b/kde-apps/kwave/kwave-21.04.2.ebuild
@@ -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)