summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-08 23:25:03 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-08 23:45:48 -0400
commit047d2189bbf1475e8130ac36ff6b2a16e2da4f29 (patch)
tree237f4dafdee6d302543eedffff17e13e9fd2a266 /media-sound/flac123
parentmedia-sound/flac123: EAPI7->8, fix license, use https homepage (diff)
downloadgentoo-047d2189bbf1475e8130ac36ff6b2a16e2da4f29.tar.gz
gentoo-047d2189bbf1475e8130ac36ff6b2a16e2da4f29.tar.bz2
gentoo-047d2189bbf1475e8130ac36ff6b2a16e2da4f29.zip
media-sound/flac123: fix build with upcoming clang16
(revbumped at same time in previous commit for other compilers) Closes: https://bugs.gentoo.org/871204 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound/flac123')
-rw-r--r--media-sound/flac123/files/flac123-0.0.12-clang16.patch7
-rw-r--r--media-sound/flac123/flac123-0.0.12-r1.ebuild4
2 files changed, 11 insertions, 0 deletions
diff --git a/media-sound/flac123/files/flac123-0.0.12-clang16.patch b/media-sound/flac123/files/flac123-0.0.12-clang16.patch
new file mode 100644
index 000000000000..fc27eca8c179
--- /dev/null
+++ b/media-sound/flac123/files/flac123-0.0.12-clang16.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/871204
+--- a/remote.c
++++ b/remote.c
+@@ -22,2 +22,3 @@
+
++#include <ctype.h>
+ #include <sys/time.h>
diff --git a/media-sound/flac123/flac123-0.0.12-r1.ebuild b/media-sound/flac123/flac123-0.0.12-r1.ebuild
index 13557a797659..397eb0a1ddb2 100644
--- a/media-sound/flac123/flac123-0.0.12-r1.ebuild
+++ b/media-sound/flac123/flac123-0.0.12-r1.ebuild
@@ -20,6 +20,10 @@ RDEPEND="
media-libs/libogg"
DEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${P}-clang16.patch
+)
+
src_prepare() {
default