commit:     b446ad51f453add53fee8b8c0534d06f8b24d5fe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 22:56:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 22:56:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b446ad51

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 <AT> gentoo.org>

 .../autoconf/{autoconf-2.13-r5.ebuild => autoconf-2.13-r6.ebuild} | 0
 .../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
similarity index 100%
rename from sys-devel/autoconf/autoconf-2.13-r5.ebuild
rename to 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 <[email protected]>
 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 <[email protected]>
 --- 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

Reply via email to