From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/
Date: Wed, 23 Nov 2022 03:35:11 +0000 (UTC) [thread overview]
Message-ID: <1669174449.29d5b7044e17aaa0a3a3691f4d86c64458d27869.sam@gentoo> (raw)
commit: 29d5b7044e17aaa0a3a3691f4d86c64458d27869
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 03:33:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 03:34:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d5b704
media-libs/flac: 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 <AT> gentoo.org>
.../flac-1.4.2-macro-wstrict-prototypes.patch | 31 ++++++++++++++++++++++
.../{flac-1.4.2.ebuild => flac-1.4.2-r1.ebuild} | 4 +++
2 files changed, 35 insertions(+)
diff --git a/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
new file mode 100644
index 000000000000..d836f6aa2206
--- /dev/null
+++ b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
@@ -0,0 +1,31 @@
+https://github.com/xiph/flac/pull/521
+
+From afd9e9006d2c18d184db098bec0a0618cb4f0283 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Wed, 23 Nov 2022 03:31:30 +0000
+Subject: [PATCH] libFLAC.m4, libFLAC++.m4: fix -Wstrict-prototypes
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/src/libFLAC++/libFLAC++.m4
++++ b/src/libFLAC++/libFLAC++.m4
+@@ -57,7 +57,7 @@ dnl
+ #include <string.h>
+ #include <FLAC++/decoder.h>
+
+-int main ()
++int main (void)
+ {
+ system("touch conf.libFLAC++test");
+ return 0;
+--- a/src/libFLAC/libFLAC.m4
++++ b/src/libFLAC/libFLAC.m4
+@@ -58,7 +58,7 @@ dnl
+ #include <string.h>
+ #include <FLAC/format.h>
+
+-int main ()
++int main (void)
+ {
+ system("touch conf.libFLACtest");
+ return 0;
+
diff --git a/media-libs/flac/flac-1.4.2.ebuild b/media-libs/flac/flac-1.4.2-r1.ebuild
similarity index 96%
rename from media-libs/flac/flac-1.4.2.ebuild
rename to media-libs/flac/flac-1.4.2-r1.ebuild
index 7f778649fd96..df75f0e6829f 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2-r1.ebuild
@@ -28,6 +28,10 @@ BDEPEND="
virtual/pkgconfig
abi_x86_32? ( dev-lang/nasm )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.2-macro-wstrict-prototypes.patch
+)
+
multilib_src_configure() {
local myeconfargs=(
--disable-doxygen-docs
next reply other threads:[~2022-11-23 3:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 3:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-16 12:14 [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/ Miroslav Šulc
2017-04-12 11:10 Tim Harder
2017-01-02 10:28 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669174449.29d5b7044e17aaa0a3a3691f4d86c64458d27869.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox