mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
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:
12
kde-apps/kwave/files/kwave-21.04.1-gcc11.patch
Normal file
12
kde-apps/kwave/files/kwave-21.04.1-gcc11.patch
Normal 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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user