From fc2c8b325a27d1dd0e181a50517601b4fde8aa7f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 9 Nov 2022 09:25:48 +0000 Subject: gentoo auto-resync : 09:11:2022 - 09:25:48 --- sys-devel/autoconf/Manifest | 4 +- sys-devel/autoconf/autoconf-2.13-r6.ebuild | 58 ---------------------- sys-devel/autoconf/autoconf-2.13-r7.ebuild | 58 ++++++++++++++++++++++ ...onf-2.13-Clang-16-fixes-for-various-tests.patch | 38 ++++++++++++-- 4 files changed, 95 insertions(+), 63 deletions(-) delete mode 100644 sys-devel/autoconf/autoconf-2.13-r6.ebuild create mode 100644 sys-devel/autoconf/autoconf-2.13-r7.ebuild (limited to 'sys-devel/autoconf') diff --git a/sys-devel/autoconf/Manifest b/sys-devel/autoconf/Manifest index cc616fc18216..ed82a486f599 100644 --- a/sys-devel/autoconf/Manifest +++ b/sys-devel/autoconf/Manifest @@ -1,4 +1,4 @@ -AUX autoconf-2.13-Clang-16-fixes-for-various-tests.patch 10064 BLAKE2B d7172e4e521c0f4c69421b283e6cfb8448bf4cd2612f27c34bbbd8b5cd2f2536536a643a2d38d0e4c48d264521c1d9f0c5a2a2d7f283cbce7fa9259fdeb86d48 SHA512 d8c3c6567ba8cacac0a187cffc8847d50051bac70a50d1f4db1ba0a166dbc84efbd368a768d56bad51194b851e90e99006b780b61b414e01cba8645ae4f5a009 +AUX autoconf-2.13-Clang-16-fixes-for-various-tests.patch 11311 BLAKE2B e9e7ee7649d34f7515c5e0f173b8e8bcdd540a76cbace4eaf5cb801a5930c9a0e10c81962eb32ec7858008cdfc922df31d4fa1e45018ca2941119349a372f7f4 SHA512 2b3d451e697c66c94fb4dfca7c666b6d2deb47dc7ff56dd3aa4b38557cf5a691b0d95083aedc91f76db2a006d4915b1daed69b0e17c0aa126c6a4a2d1e0937c0 AUX autoconf-2.13-K-R-decls-clang.patch 11598 BLAKE2B 1889292af303389a89bf6c31981df49b747b50fead1332cbd004f2431694f486cc674bbe23377ee6e7ac2870b4e89c5af2865231ccd96bd75b7c3c0b0dfab365 SHA512 778217d813962d786d5a55c57ef67b2f12aeb4a60c72d98e7147d3c191fbc34df2034372fd087b22d7ac353848d9a0632377278d7a000907df8eb190efcc3d9c AUX autoconf-2.13-destdir.patch 604 BLAKE2B 4c3607a31a7e99820b49dea142e9b2445a70508cedf7407f7822f86fb4d1595ced6ab202bf6e42e422f41e44c256e62ee2a617f5ea01d1319c66f811333d5c1e SHA512 c69c7681b028f82735e0187dc9ea0d73906b74e32a6d51754e2c973a559895590fb5a1701d153445b772bcf0536a4688292895242910f20e6d4cf1a02f1a877f AUX autoconf-2.13-gentoo.patch 799 BLAKE2B e9d403d2e7e6ca2efafcf9b2e7108f8b383b107bc78290242f0ed2662ec8e05c5a178f8014e6317f260695cbaa0e4c6a2cce3221d1990b1fd2a96fa3db5ce611 SHA512 5712ad0d67cb5661c949700d5bc0d8c582b27562229400e7b8b1c0249020d13077af5ef3602adef7135cc8dfe529556d5a23f2ce494e3554322262510c2a9fb7 @@ -21,7 +21,7 @@ DIST autoconf-2.69-runstatedir_patches.tar.xz 257096 BLAKE2B ae765e0ca7fe8261117 DIST autoconf-2.69.tar.xz 1214744 BLAKE2B 71d33d72a06e9a05fbed0eda73bc9d8a3805c7c90bf082959862f93f3c5f01192114176e84d84ecb58fa99512eafbc0ab21ad1407be18c8c63bb3dc1117c482d SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b DIST autoconf-2.71.tar.xz 1292296 BLAKE2B 7fd4b98b4cfff10720e8da6ee91045637991643b50fcb3e47a0ecfcc01600f7b7b36fd1c0a5f08b68a418f1bdbd8d5a98de1008157595dd37cc3a31facb61416 SHA512 73d32b4adcbe24e3bafa9f43f59ed3b6efbd3de0f194e5ec90375f35da1199c583f5d3e89139b7edbad35171403709270e339ffa56a2ecb9b3123e9285021ff0 EBUILD autoconf-2.13-r2.ebuild 1499 BLAKE2B 44e2526f8fd0296ea9f3808468b2a6d14ee894332276b840fd6627c3c9584e79ab1ad82120e9c39b8ea21691dfabc6a3fa4a7e28c71b9588d1e9bb99887eae17 SHA512 4340fa01f6cccb3671a448dfe2a2c276eb54f1c4d348f0635a39e435cc782b53d11cad114657db5e288e7eed637c9c98ff62074cf37832c06c9398a2f6a29fcc -EBUILD autoconf-2.13-r6.ebuild 1602 BLAKE2B 1c327646ac86a0fc200c77b862b795202896d9d81889f13814c2950a55e7207fc9d79cbc48a49b28687f9136001ae7752423f59730b50203b3a8b09c6bf13227 SHA512 3d1dfdaa4037fba76148827c47492128c8e5e4def0f4b2fed217add7b39b2bbc9bcb0af9ba4bc8e08bbc5882c0e79a7455f7d66d665eb5bbba34a3739b9ef7d1 +EBUILD autoconf-2.13-r7.ebuild 1602 BLAKE2B 1c327646ac86a0fc200c77b862b795202896d9d81889f13814c2950a55e7207fc9d79cbc48a49b28687f9136001ae7752423f59730b50203b3a8b09c6bf13227 SHA512 3d1dfdaa4037fba76148827c47492128c8e5e4def0f4b2fed217add7b39b2bbc9bcb0af9ba4bc8e08bbc5882c0e79a7455f7d66d665eb5bbba34a3739b9ef7d1 EBUILD autoconf-2.69-r5.ebuild 1821 BLAKE2B 281f0262fce157354c162ecbdb7feea55725ee00d3804032a95657e38b60203a23b0c7803ee448e9a9bfcc86f8201ac7136790fc20f6cdc7df1aeb23e85805a4 SHA512 d87daf5d8f50265504afc2441ac2e77af9d68d22d684774316eb8b71160d13b6086bacd580c8d4e46a9de80aa0d2f188d77cb89f2ad69ba937d5567739a73231 EBUILD autoconf-2.69-r7.ebuild 1780 BLAKE2B 470eb76b486789c7f4b8d6b3402036b38cea88069add9d28a6c39bd510200656879217697c315aaa8e89d818f3b00075a447d88c71d26d0c6cdf32418d0fc01e SHA512 48c445b94f1aed510181c1ebbf02e24586c34f0648f596b671f90e155796b67cab35e66745f61d4b220dd109e0dfe2b583bbcb3c959005fe427eb5f950666c08 EBUILD autoconf-2.71-r1.ebuild 2224 BLAKE2B 2196cf8224eaaa5ee2c6449c36d9690be996249a45fb65df8a0971404b6c56c07669f5388cdbe3bde4b35a2b711605e1fe6ec5b829e131eecdac9ce03d9de71b SHA512 f6ca241fa5c34c98d259b0c4d545cfebf0a3f934a40390eec6f81a0e8aca8998ea7ecf9a10fba1619f6279eaeb4e8f9e670d17ea7f1b978554a33f683e71a02b diff --git a/sys-devel/autoconf/autoconf-2.13-r6.ebuild b/sys-devel/autoconf/autoconf-2.13-r6.ebuild deleted file mode 100644 index 3593b3e30269..000000000000 --- a/sys-devel/autoconf/autoconf-2.13-r6.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-autoconf - -DESCRIPTION="Used to create autoconfiguration files" -HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="${PV:0:3}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-lang/perl - sys-devel/m4 - test? ( dev-util/dejagnu ) -" -RDEPEND=" - ${BDEPEND} - sys-apps/texinfo - >=sys-devel/autoconf-wrapper-13 -" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-destdir.patch - "${FILESDIR}"/${P}-test-fixes.patch #146592 - "${FILESDIR}"/${P}-perl-5.26.patch - "${FILESDIR}"/${P}-K-R-decls-clang.patch - "${FILESDIR}"/${P}-Clang-16-fixes-for-various-tests.patch -) - -src_configure() { - # make sure configure is newer than configure.in - touch configure || die - - # need to include --exec-prefix and --bindir or our - # DESTDIR patch will trigger sandbox hate :( - # - # need to force locale to C to avoid bugs in the old - # configure script breaking the install paths #351982 - # - # force to `awk` so that we don't encode another awk that - # happens to currently be installed, but might later be - # uninstalled (like mawk). same for m4. - ac_cv_path_M4="m4" \ - ac_cv_prog_AWK="awk" \ - LC_ALL=C \ - econf \ - --exec-prefix="${EPREFIX}"/usr \ - --bindir="${EPREFIX}"/usr/bin \ - --program-suffix="-${PV}" -} diff --git a/sys-devel/autoconf/autoconf-2.13-r7.ebuild b/sys-devel/autoconf/autoconf-2.13-r7.ebuild new file mode 100644 index 000000000000..3593b3e30269 --- /dev/null +++ b/sys-devel/autoconf/autoconf-2.13-r7.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-autoconf + +DESCRIPTION="Used to create autoconfiguration files" +HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="${PV:0:3}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-lang/perl + sys-devel/m4 + test? ( dev-util/dejagnu ) +" +RDEPEND=" + ${BDEPEND} + sys-apps/texinfo + >=sys-devel/autoconf-wrapper-13 +" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-destdir.patch + "${FILESDIR}"/${P}-test-fixes.patch #146592 + "${FILESDIR}"/${P}-perl-5.26.patch + "${FILESDIR}"/${P}-K-R-decls-clang.patch + "${FILESDIR}"/${P}-Clang-16-fixes-for-various-tests.patch +) + +src_configure() { + # make sure configure is newer than configure.in + touch configure || die + + # need to include --exec-prefix and --bindir or our + # DESTDIR patch will trigger sandbox hate :( + # + # need to force locale to C to avoid bugs in the old + # configure script breaking the install paths #351982 + # + # force to `awk` so that we don't encode another awk that + # happens to currently be installed, but might later be + # uninstalled (like mawk). same for m4. + ac_cv_path_M4="m4" \ + ac_cv_prog_AWK="awk" \ + LC_ALL=C \ + econf \ + --exec-prefix="${EPREFIX}"/usr \ + --bindir="${EPREFIX}"/usr/bin \ + --program-suffix="-${PV}" +} diff --git a/sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch b/sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch index 98c054a05e2d..d158f7974e81 100644 --- a/sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch +++ b/sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch @@ -1,6 +1,6 @@ -From 682ddd135d66d2d379efc0b044de50cc39489fde Mon Sep 17 00:00:00 2001 +From cb92e8110d1f274b28d5c156a93c525d2b748644 Mon Sep 17 00:00:00 2001 From: Sam James -Date: Thu, 3 Nov 2022 01:19:39 +0000 +Date: Wed, 9 Nov 2022 08:27:53 +0000 Subject: [PATCH] Clang 16 fixes for various tests Fixes -Wimplicit-int and -Wimplicit-function-declaration @@ -24,6 +24,15 @@ Signed-off-by: Sam James if (!f) exit(1); --- a/acspecific.m4 +++ b/acspecific.m4 +@@ -371,7 +371,7 @@ changequote(, )dnl + sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" + changequote([, ])dnl + AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o, +-[echo 'foo(void){}' > conftest.c ++[echo 'int foo(void){}' > conftest.c + # Make sure it works both with $CC and with simple cc. + # We do the test twice because some compilers refuse to overwrite an + # existing .o file with -o, though they will create one. @@ -706,6 +706,7 @@ fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. @@ -175,7 +184,7 @@ Signed-off-by: Sam James #ifdef HAVE_UNISTD_H #include #endif -@@ -1270,7 +1249,7 @@ AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works, +@@ -1270,11 +1249,11 @@ AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works, but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ @@ -184,6 +193,11 @@ Signed-off-by: Sam James #ifdef __cplusplus sparc_address_test (int arg) #else +-sparc_address_test (arg) int arg; ++sparc_address_test (int arg) + #endif + { + static pid_t child; @@ -1359,6 +1338,8 @@ AC_DEFUN(AC_FUNC_WAIT3, #include #include @@ -286,6 +300,15 @@ Signed-off-by: Sam James /* Are we little or big endian? From Harbison&Steele. */ union { +@@ -1885,7 +1877,7 @@ AC_DEFUN(AC_C_INLINE, + [AC_CACHE_CHECK([for inline], ac_cv_c_inline, + [ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do +- AC_TRY_COMPILE(, [} $ac_kw foo(void) {], [ac_cv_c_inline=$ac_kw; break]) ++ AC_TRY_COMPILE(, [} $ac_kw int foo(void) {], [ac_cv_c_inline=$ac_kw; break]) + done + ]) + case "$ac_cv_c_inline" in @@ -2275,7 +2267,10 @@ AC_DEFUN(AC_SYS_RESTARTABLE_SYSCALLS, i.e. the pid of the child, which means that wait was restarted after getting the signal. */ @@ -297,3 +320,12 @@ Signed-off-by: Sam James ucatch (isig) { } int main (void) { int i = fork (), status; +@@ -2444,7 +2439,7 @@ if test "$ac_x_libraries" = NO; then + # Don't add to $LIBS permanently. + ac_save_LIBS="$LIBS" + LIBS="-l$x_direct_test_library $LIBS" +-AC_TRY_LINK(, [${x_direct_test_function}()], ++AC_TRY_LINK([#include ], [${x_direct_test_function}(0)], + [LIBS="$ac_save_LIBS" + # We can link X programs with no special library path. + ac_x_libraries=], -- cgit v1.2.3