diff options
author | Sam James <sam@gentoo.org> | 2022-11-23 03:22:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-23 03:22:01 +0000 |
commit | 21423d7c709202944aea111afd18ec1fecb2013a (patch) | |
tree | 63c789c596aa86ef78a48ffbb932733fbdca77be /media-libs | |
parent | media-libs/libmikmod: EAPI 8, fix -Wstrict-prototypes in configure (diff) | |
download | gentoo-21423d7c709202944aea111afd18ec1fecb2013a.tar.gz gentoo-21423d7c709202944aea111afd18ec1fecb2013a.tar.bz2 gentoo-21423d7c709202944aea111afd18ec1fecb2013a.zip |
media-libs/opus: EAPI 8, fix -Wstrict-prototypes in configure
We may well have people proactively trying to use it and it's cheap to fix & build.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch | 20 | ||||
-rw-r--r-- | media-libs/opus/opus-1.3.1-r4.ebuild (renamed from media-libs/opus/opus-1.3.1-r3.ebuild) | 3 |
2 files changed, 22 insertions, 1 deletions
diff --git a/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch b/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch new file mode 100644 index 000000000000..34edb539b29c --- /dev/null +++ b/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch @@ -0,0 +1,20 @@ +https://gitlab.xiph.org/xiph/opus/-/merge_requests/56 + +From 402615a38851f7180c3ac01e246fcbc7de9fd451 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Wed, 23 Nov 2022 03:19:54 +0000 +Subject: [PATCH] opus.m4: fix -Wstrict-prototypes + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/opus.m4 ++++ b/opus.m4 +@@ -63,7 +63,7 @@ dnl + #include <string.h> + #include <opus.h> + +-int main () ++int main (void) + { + system("touch conf.opustest"); + return 0; +GitLab diff --git a/media-libs/opus/opus-1.3.1-r3.ebuild b/media-libs/opus/opus-1.3.1-r4.ebuild index 591e14778028..f0cf24b1ed2b 100644 --- a/media-libs/opus/opus-1.3.1-r3.ebuild +++ b/media-libs/opus/opus-1.3.1-r4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit flag-o-matic multilib-minimal @@ -24,6 +24,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.3.1-libdir-macro.patch + "${FILESDIR}"/${PN}-1.3.1-macro-wstrict-prototypes.patch ) multilib_src_configure() { |