summaryrefslogtreecommitdiff
path: root/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch')
-rw-r--r--sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch b/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch
new file mode 100644
index 000000000000..2174e75afebd
--- /dev/null
+++ b/sys-devel/autoconf/files/autoconf-2.70-fix_c99_check.patch
@@ -0,0 +1,15 @@
+X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blobdiff_plain;f=lib%2Fautoconf%2Fc.m4;h=601c2df41bd4ee602065ce041a1173aca8a0f52e;hp=fe217cad679f2f4506c3e20dee64e7e3e3b83a24;hb=efc940dc82763b7b2d6e65f04d15d5972d829c0a;hpb=b693e208691c54fbe07cdf49b9a98358baadcfe2
+
+diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
+index fe217ca..601c2df 100644
+--- a/lib/autoconf/c.m4
++++ b/lib/autoconf/c.m4
+@@ -1559,7 +1559,7 @@ dnl SVR4 -Xc -D__EXTENSIONS__
+ # option to output variable CC to make it so.
+ AC_DEFUN([_AC_PROG_CC_C99],
+ [AC_REQUIRE([_AC_C_C99_TEST_PROGRAM])]dnl
+-[_AC_C_STD_TRY([c99], [ac_c_conftest_c89_program],
++[_AC_C_STD_TRY([c99], [ac_c_conftest_c99_program],
+ dnl Try
+ dnl GCC -std=gnu99 (unused restrictive modes: -std=c99 -std=iso9899:1999)
+ dnl IBM XL C -qlanglvl=extc1x (V12.1; does not pass C11 test)