diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-06-20 00:35:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-06-20 00:35:30 +0000 |
commit | 6dbdf4bb8b9577de9cbf33de5e771160db8077f9 (patch) | |
tree | b04bb14c242d2e8c05591a2f2f1ee05bc694b421 /sys-devel/autoconf/files | |
parent | Version bump. (diff) | |
download | gentoo-2-6dbdf4bb8b9577de9cbf33de5e771160db8077f9.tar.gz gentoo-2-6dbdf4bb8b9577de9cbf33de5e771160db8077f9.tar.bz2 gentoo-2-6dbdf4bb8b9577de9cbf33de5e771160db8077f9.zip |
Add fix from upstream for type size tests #324649 by Jan Seiffert.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/autoconf/files')
-rw-r--r-- | sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch b/sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch new file mode 100644 index 000000000000..cc81672e427e --- /dev/null +++ b/sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch @@ -0,0 +1,49 @@ +https://bugs.gentoo.org/324649 +http://lists.gnu.org/archive/html/bug-autoconf/2009-12/msg00016.html + +From 83ee5bc460a1083ab29fd9d3a3044cbaefad6ac6 Mon Sep 17 00:00:00 2001 +From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> +Date: Wed, 9 Dec 2009 07:20:16 +0100 +Subject: [PATCH] Fix 2.64 AC_TYPE_INT*_T macro body text regression. + +* lib/autoconf/types.m4 (_AC_TYPE_INT_BODY): Move helper enum +definition to prologue section, to avoid syntax error. +* NEWS, THANKS: Update. +Report by Pierre Ynard. + +Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> +--- + ChangeLog | 8 ++++++++ + NEWS | 3 +++ + THANKS | 1 + + lib/autoconf/types.m4 | 12 ++++++------ + 4 files changed, 18 insertions(+), 6 deletions(-) + +diff --git a/lib/autoconf/types.m4 b/lib/autoconf/types.m4 +index 7a73fc2..3829c4c 100644 +--- a/lib/autoconf/types.m4 ++++ b/lib/autoconf/types.m4 +@@ -635,14 +635,14 @@ m4_define([_AC_TYPE_INT_BODY], + 'long long int' 'short int' 'signed char'; do + AC_COMPILE_IFELSE( + [AC_LANG_BOOL_COMPILE_TRY( +- [AC_INCLUDES_DEFAULT], +- [enum { N = $[]2 / 2 - 1 }; +- 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)])], ++ [AC_INCLUDES_DEFAULT ++ enum { N = $[]2 / 2 - 1 };], ++ [0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)])], + [AC_COMPILE_IFELSE( + [AC_LANG_BOOL_COMPILE_TRY( +- [AC_INCLUDES_DEFAULT], +- [enum { N = $[]2 / 2 - 1 }; +- ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) ++ [AC_INCLUDES_DEFAULT ++ enum { N = $[]2 / 2 - 1 };], ++ [($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) + < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2)])], + [], + [AS_CASE([$ac_type], [int$[]2_t], +-- +1.7.1 + |