diff options
author | Sam James <sam@gentoo.org> | 2022-11-03 22:56:36 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-03 22:56:36 +0000 |
commit | b446ad51f453add53fee8b8c0534d06f8b24d5fe (patch) | |
tree | 4aa717ac516af769bce32886a1c86e8ca3759fe3 /sys-devel/autoconf | |
parent | sci-physics/geant: add github upstream metadata (diff) | |
download | gentoo-b446ad51f453add53fee8b8c0534d06f8b24d5fe.tar.gz gentoo-b446ad51f453add53fee8b8c0534d06f8b24d5fe.tar.bz2 gentoo-b446ad51f453add53fee8b8c0534d06f8b24d5fe.zip |
sys-devel/autoconf: one more Clang 16 fix for autoconf 2.13
Thanks to matsl again :)
Bug: https://bugs.gentoo.org/874366
See: d172fe309bd90487b1f61a106efd2a8b68f10367
See: c305a45884a8f01838d6e032f469d7f9423154e1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/autoconf')
-rw-r--r-- | sys-devel/autoconf/autoconf-2.13-r6.ebuild (renamed from sys-devel/autoconf/autoconf-2.13-r5.ebuild) | 0 | ||||
-rw-r--r-- | sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch | 8 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys-devel/autoconf/autoconf-2.13-r5.ebuild b/sys-devel/autoconf/autoconf-2.13-r6.ebuild index 3593b3e30269..3593b3e30269 100644 --- a/sys-devel/autoconf/autoconf-2.13-r5.ebuild +++ b/sys-devel/autoconf/autoconf-2.13-r6.ebuild 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 55eda96241ab..98c054a05e2d 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,4 +1,4 @@ -From 42a47ba46cacb85dfcf6efdba372a3eb3995a844 Mon Sep 17 00:00:00 2001 +From 682ddd135d66d2d379efc0b044de50cc39489fde Mon Sep 17 00:00:00 2001 From: Sam James <sam@gentoo.org> Date: Thu, 3 Nov 2022 01:19:39 +0000 Subject: [PATCH] Clang 16 fixes for various tests @@ -12,14 +12,16 @@ Bug: https://bugs.gentoo.org/874366 Signed-off-by: Sam James <sam@gentoo.org> --- a/acgeneral.m4 +++ b/acgeneral.m4 -@@ -1988,6 +1988,7 @@ changequote([, ])dnl +@@ -1988,7 +1988,8 @@ changequote([, ])dnl AC_MSG_CHECKING(size of $1) AC_CACHE_VAL(AC_CV_NAME, [AC_TRY_RUN([#include <stdio.h> +-main(void) +#include <stdlib.h> - main(void) ++int main(void) { FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); --- a/acspecific.m4 +++ b/acspecific.m4 @@ -706,6 +706,7 @@ fi |