summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-27 20:14:56 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-27 22:34:34 -0400
commitccc31e43661c1648154f87f6081ce23a385ad177 (patch)
tree38865237dd41e21d952db2ed20f1a2b1558bce29 /media-sound/aseqview
parentx11-misc/numlockx: EAPI 7->8 (diff)
downloadgentoo-ccc31e43661c1648154f87f6081ce23a385ad177.tar.gz
gentoo-ccc31e43661c1648154f87f6081ce23a385ad177.tar.bz2
gentoo-ccc31e43661c1648154f87f6081ce23a385ad177.zip
media-sound/aseqview: fix build with clang16
Closes: https://bugs.gentoo.org/870436 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound/aseqview')
-rw-r--r--media-sound/aseqview/aseqview-0.2.8-r1.ebuild4
-rw-r--r--media-sound/aseqview/files/aseqview-0.2.8-clang16.patch7
2 files changed, 11 insertions, 0 deletions
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 <string.h>
++#include <pthread.h>
+ #include "portlib.h"