Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/files/, sys-devel/autoconf/
Date: Thu, 03 Nov 2022 22:57:10
Message-Id: 1667516196.b446ad51f453add53fee8b8c0534d06f8b24d5fe.sam@gentoo
1 commit: b446ad51f453add53fee8b8c0534d06f8b24d5fe
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 22:56:36 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 22:56:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b446ad51
7
8 sys-devel/autoconf: one more Clang 16 fix for autoconf 2.13
9
10 Thanks to matsl again :)
11
12 Bug: https://bugs.gentoo.org/874366
13 See: d172fe309bd90487b1f61a106efd2a8b68f10367
14 See: c305a45884a8f01838d6e032f469d7f9423154e1
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 .../autoconf/{autoconf-2.13-r5.ebuild => autoconf-2.13-r6.ebuild} | 0
18 .../files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch | 8 +++++---
19 2 files changed, 5 insertions(+), 3 deletions(-)
20
21 diff --git a/sys-devel/autoconf/autoconf-2.13-r5.ebuild b/sys-devel/autoconf/autoconf-2.13-r6.ebuild
22 similarity index 100%
23 rename from sys-devel/autoconf/autoconf-2.13-r5.ebuild
24 rename to sys-devel/autoconf/autoconf-2.13-r6.ebuild
25
26 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
27 index 55eda96241ab..98c054a05e2d 100644
28 --- a/sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch
29 +++ b/sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch
30 @@ -1,4 +1,4 @@
31 -From 42a47ba46cacb85dfcf6efdba372a3eb3995a844 Mon Sep 17 00:00:00 2001
32 +From 682ddd135d66d2d379efc0b044de50cc39489fde Mon Sep 17 00:00:00 2001
33 From: Sam James <sam@g.o>
34 Date: Thu, 3 Nov 2022 01:19:39 +0000
35 Subject: [PATCH] Clang 16 fixes for various tests
36 @@ -12,14 +12,16 @@ Bug: https://bugs.gentoo.org/874366
37 Signed-off-by: Sam James <sam@g.o>
38 --- a/acgeneral.m4
39 +++ b/acgeneral.m4
40 -@@ -1988,6 +1988,7 @@ changequote([, ])dnl
41 +@@ -1988,7 +1988,8 @@ changequote([, ])dnl
42 AC_MSG_CHECKING(size of $1)
43 AC_CACHE_VAL(AC_CV_NAME,
44 [AC_TRY_RUN([#include <stdio.h>
45 +-main(void)
46 +#include <stdlib.h>
47 - main(void)
48 ++int main(void)
49 {
50 FILE *f=fopen("conftestval", "w");
51 + if (!f) exit(1);
52 --- a/acspecific.m4
53 +++ b/acspecific.m4
54 @@ -706,6 +706,7 @@ fi