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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F6EE1382C5 for ; Tue, 29 Dec 2020 16:14:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCC41E0BDB; Tue, 29 Dec 2020 16:14:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B413CE0BDB for ; Tue, 29 Dec 2020 16:14:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DD403414C9 for ; Tue, 29 Dec 2020 16:14:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F3CF47E for ; Tue, 29 Dec 2020 16:14:03 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1609258019.8d448f8fb30272100ea115f7a55fe917b38d9ccd.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/files/, sys-devel/autoconf/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/autoconf/autoconf-2.70-r1.ebuild sys-devel/autoconf/autoconf-2.70.ebuild sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch X-VCS-Directories: sys-devel/autoconf/files/ sys-devel/autoconf/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 8d448f8fb30272100ea115f7a55fe917b38d9ccd X-VCS-Branch: master Date: Tue, 29 Dec 2020 16:14:03 +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: 7e62e2d9-2c37-4a03-955f-9492dc2af9e2 X-Archives-Hash: 9eda538276bc19f3f04363eb8f28fa18 commit: 8d448f8fb30272100ea115f7a55fe917b38d9ccd Author: Lars Wendler gentoo org> AuthorDate: Tue Dec 29 16:06:59 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Dec 29 16:06:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d448f8f sys-devel/autoconf: Revbump to fix c99 check Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> .../{autoconf-2.70.ebuild => autoconf-2.70-r1.ebuild} | 4 ++++ .../autoconf/files/autoconf-2.70-fix_c99_check.patch | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/sys-devel/autoconf/autoconf-2.70.ebuild b/sys-devel/autoconf/autoconf-2.70-r1.ebuild similarity index 97% rename from sys-devel/autoconf/autoconf-2.70.ebuild rename to sys-devel/autoconf/autoconf-2.70-r1.ebuild index c2764bdae35..ce4adc5321b 100644 --- a/sys-devel/autoconf/autoconf-2.70.ebuild +++ b/sys-devel/autoconf/autoconf-2.70-r1.ebuild @@ -35,6 +35,10 @@ RDEPEND="${BDEPEND} [[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3" PDEPEND="emacs? ( app-emacs/autoconf-mode )" +PATCHES=( + "${FILESDIR}/${P}-fix_c99_check.patch" +) + src_prepare() { # usr/bin/libtool is provided by binutils-apple, need gnu libtool if [[ ${CHOST} == *-darwin* ]] ; then diff --git a/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch b/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch new file mode 100644 index 00000000000..2174e75afeb --- /dev/null +++ b/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch @@ -0,0 +1,15 @@ +X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blobdiff_plain;f=lib%2Fautoconf%2Fc.m4;h=601c2df41bd4ee602065ce041a1173aca8a0f52e;hp=fe217cad679f2f4506c3e20dee64e7e3e3b83a24;hb=efc940dc82763b7b2d6e65f04d15d5972d829c0a;hpb=b693e208691c54fbe07cdf49b9a98358baadcfe2 + +diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 +index fe217ca..601c2df 100644 +--- a/lib/autoconf/c.m4 ++++ b/lib/autoconf/c.m4 +@@ -1559,7 +1559,7 @@ dnl SVR4 -Xc -D__EXTENSIONS__ + # option to output variable CC to make it so. + AC_DEFUN([_AC_PROG_CC_C99], + [AC_REQUIRE([_AC_C_C99_TEST_PROGRAM])]dnl +-[_AC_C_STD_TRY([c99], [ac_c_conftest_c89_program], ++[_AC_C_STD_TRY([c99], [ac_c_conftest_c99_program], + dnl Try + dnl GCC -std=gnu99 (unused restrictive modes: -std=c99 -std=iso9899:1999) + dnl IBM XL C -qlanglvl=extc1x (V12.1; does not pass C11 test)