From ccc31e43661c1648154f87f6081ce23a385ad177 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 27 Sep 2022 20:14:56 -0400 Subject: media-sound/aseqview: fix build with clang16 Closes: https://bugs.gentoo.org/870436 Signed-off-by: Ionen Wolkens --- media-sound/aseqview/aseqview-0.2.8-r1.ebuild | 4 ++++ media-sound/aseqview/files/aseqview-0.2.8-clang16.patch | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 media-sound/aseqview/files/aseqview-0.2.8-clang16.patch (limited to 'media-sound/aseqview') diff --git a/media-sound/aseqview/aseqview-0.2.8-r1.ebuild b/media-sound/aseqview/aseqview-0.2.8-r1.ebuild index 115848b05549..c4eb2a760776 100644 --- a/media-sound/aseqview/aseqview-0.2.8-r1.ebuild +++ b/media-sound/aseqview/aseqview-0.2.8-r1.ebuild @@ -18,6 +18,10 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${P}-clang16.patch +) + src_configure() { econf --disable-alsatest --disable-gtktest --enable-gtk2 } diff --git a/media-sound/aseqview/files/aseqview-0.2.8-clang16.patch b/media-sound/aseqview/files/aseqview-0.2.8-clang16.patch new file mode 100644 index 000000000000..2b73093a09c6 --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-clang16.patch @@ -0,0 +1,7 @@ +https://bugs.gentoo.org/870436 +--- a/portlib.c ++++ b/portlib.c +@@ -22,2 +22,3 @@ + #include ++#include + #include "portlib.h" -- cgit v1.2.3-65-gdbad