diff options
author | Alexander Stohr <Alexander.Stohr@gmx.de> | 2010-10-26 02:55:49 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-11-06 09:02:33 -0700 |
commit | f8d4a50cc0a19a74baeb51279e829861da04302d (patch) | |
tree | 74f1a442f9b9ea663447a9b56a31b2463353ed02 /recipes/glib-2.0/files | |
parent | 80d0f2d59c4162ddd0e68205cc859692e427459c (diff) | |
download | openembedded-f8d4a50cc0a19a74baeb51279e829861da04302d.tar.gz |
fix for older glib-2.0 versions to build with recent autotools
the attached patch bundles a single fix for glib-2.0
for recipes built upon glib tarballs 2.6.4 to 2.20.4.
later versions have the problem fixed in tarball (e.g. 2.22.1 and newer).
the problem happens when you need to update autotools
for some other reason (e.g. building some newer package)
whilst not wanting to update glib at the very same time.
it manifests by a badly clobbered "fi" in configure step
and thus a still open nesting level when the script ends.
the auto tools generated script exposes "fiAC_..." that
originates from a too extensive use of the "dnl" statemnt.
that construct is only critical with newer auto tools.
the fix removes those problematic extra keyword.
regards, Alex.
see for reference:
http://bugs.gentoo.org/show_bug.cgi?id=307775
http://git.gnome.org/browse/glib/commit/?id=c24f6e55276fac68b08df34b0d350f65afe994d9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/glib-2.0/files')
-rw-r--r-- | recipes/glib-2.0/files/glib-2.6.4-fix-autotools-fiac.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/glib-2.0/files/glib-2.6.4-fix-autotools-fiac.patch b/recipes/glib-2.0/files/glib-2.6.4-fix-autotools-fiac.patch new file mode 100644 index 0000000000..503704dabf --- /dev/null +++ b/recipes/glib-2.0/files/glib-2.6.4-fix-autotools-fiac.patch @@ -0,0 +1,12 @@ +diff -Nru glib-2.6.4.orig/acglib.m4 glib-2.6.4/acglib.m4 +--- glib-2.6.4.orig/acglib.m4 2004-02-27 01:57:25.000000000 +0100 ++++ glib-2.6.4/acglib.m4 2010-10-26 14:06:54.000000000 +0200 +@@ -117,7 +117,7 @@ + [$2], + [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD +-m4_ifvaln([$3],[$3])dnl])dnl ++m4_ifvaln([$3],[$3])dnl]) + ac_compile="$glib_ac_compile_save" + rm -f conftest.$ac_objext conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl + ])# GLIB_CHECK_COMPILE_WARNINGS |