From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62355158020 for ; Wed, 23 Nov 2022 03:35:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DB3DE0BEE; Wed, 23 Nov 2022 03:35:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31933E0BEE for ; Wed, 23 Nov 2022 03:35:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F720335CCD for ; Wed, 23 Nov 2022 03:35:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C756763 for ; Wed, 23 Nov 2022 03:35:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1669174449.29d5b7044e17aaa0a3a3691f4d86c64458d27869.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch media-libs/flac/flac-1.4.2-r1.ebuild media-libs/flac/flac-1.4.2.ebuild X-VCS-Directories: media-libs/flac/files/ media-libs/flac/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 29d5b7044e17aaa0a3a3691f4d86c64458d27869 X-VCS-Branch: master Date: Wed, 23 Nov 2022 03:35:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bc4686d-bafb-4521-9d7c-b631239c3e65 X-Archives-Hash: a70eb9bddfc8b37c0609e90407bfead6 commit: 29d5b7044e17aaa0a3a3691f4d86c64458d27869 Author: Sam James gentoo org> AuthorDate: Wed Nov 23 03:33:59 2022 +0000 Commit: Sam James gentoo 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 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 +Date: Wed, 23 Nov 2022 03:31:30 +0000 +Subject: [PATCH] libFLAC.m4, libFLAC++.m4: fix -Wstrict-prototypes + +Signed-off-by: Sam James +--- a/src/libFLAC++/libFLAC++.m4 ++++ b/src/libFLAC++/libFLAC++.m4 +@@ -57,7 +57,7 @@ dnl + #include + #include + +-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 + #include + +-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