diff options
Diffstat (limited to 'sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch')
-rw-r--r-- | sys-devel/autoconf/files/autoconf-2.13-Clang-16-fixes-for-various-tests.patch | 8 |
1 files changed, 5 insertions, 3 deletions
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 |