* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kwave/, kde-apps/kwave/files/
@ 2021-05-21 14:28 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2021-05-21 14:28 UTC (permalink / raw
To: gentoo-commits
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kwave/, kde-apps/kwave/files/
@ 2021-06-16 14:55 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-06-16 14:55 UTC (permalink / raw
To: gentoo-commits
commit: cbb7a891dacada35ed98fd09b169fcad269579ef
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 14:54:39 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 16 14:54:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb7a891
kde-apps/kwave: restore GCC 11 patch
Closes: https://bugs.gentoo.org/790158
Signed-off-by: Sam James <sam <AT> gentoo.org>
kde-apps/kwave/files/kwave-21.04.1-gcc11.patch | 12 ++++++++++++
kde-apps/kwave/kwave-21.04.2.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.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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-16 14:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-21 14:28 [gentoo-commits] repo/gentoo:master commit in: kde-apps/kwave/, kde-apps/kwave/files/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2021-06-16 14:55 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox