From 22c0c4f6a815bd0554821f24acf5e979f3da0722 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sat, 1 Jul 2006 10:20:28 +0000 Subject: autoconf: changed the sizeof patch a little bit; gcc 4.1.1 optimisations would cause this to fail this patch makes sure x is referenced and cannot be optimised away --- packages/autoconf/autoconf-2.59/sizeof_types.patch | 2 +- packages/autoconf/autoconf_2.59.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/autoconf/autoconf-2.59/sizeof_types.patch b/packages/autoconf/autoconf-2.59/sizeof_types.patch index 9a6e47453e..0f1e0d1fee 100644 --- a/packages/autoconf/autoconf-2.59/sizeof_types.patch +++ b/packages/autoconf/autoconf-2.59/sizeof_types.patch @@ -36,7 +36,7 @@ +[ +if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$3])], -+ [static const $1 x[[256]];])], ++ [extern void dummy($1); static const $1 x[[256]]; dummy(x);])], + [ + AS_TR_SH([ac_cv_sizeof_$1])=`$SIZE conftest.$ac_objext | tail -n 1 | $AWK '{print [$]3/256}'` + ], diff --git a/packages/autoconf/autoconf_2.59.bb b/packages/autoconf/autoconf_2.59.bb index 3cc962da01..505b2bec9e 100644 --- a/packages/autoconf/autoconf_2.59.bb +++ b/packages/autoconf/autoconf_2.59.bb @@ -6,7 +6,7 @@ SECTION = "devel" DEPENDS += "m4-native" RDEPENDS_${PN} = "m4 gnu-config" RRECOMMENDS_${PN} = "automake" -PR = "r4" +PR = "r5" SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \ file://program_prefix.patch;patch=1 \ -- cgit v1.2.3