summaryrefslogtreecommitdiff
path: root/packages/autoconf
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-07-10 14:13:57 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-07-10 14:13:57 +0000
commit2c83f24a420498c5f63f05e7d95ef0cff4814970 (patch)
tree05efe0bb8c96bd87681d54f2127a038f097fd0b4 /packages/autoconf
parent5e4e06663099c1b2f193068d38654f9ced7f48aa (diff)
autoconf_2.61.bb : fix a "bug" in autoconf where it treated CONFIG_SITE
as a single filename instead of splitting it into individual filenames. This stopped autoconf 2.61 loading the site files.
Diffstat (limited to 'packages/autoconf')
-rw-r--r--packages/autoconf/autoconf-2.61/config-site.patch13
-rw-r--r--packages/autoconf/autoconf_2.61.bb1
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/autoconf/autoconf-2.61/config-site.patch b/packages/autoconf/autoconf-2.61/config-site.patch
new file mode 100644
index 0000000000..0fa49720c1
--- /dev/null
+++ b/packages/autoconf/autoconf-2.61/config-site.patch
@@ -0,0 +1,13 @@
+Index: autoconf-2.61/lib/autoconf/general.m4
+===================================================================
+--- autoconf-2.61.orig/lib/autoconf/general.m4 2007-07-10 15:09:01.000000000 +0100
++++ autoconf-2.61/lib/autoconf/general.m4 2007-07-10 15:09:17.000000000 +0100
+@@ -1767,7 +1767,7 @@
+ m4_define([AC_SITE_LOAD],
+ [# Prefer explicitly selected file to automatically selected ones.
+ if test -n "$CONFIG_SITE"; then
+- set x "$CONFIG_SITE"
++ set x $CONFIG_SITE
+ elif test "x$prefix" != xNONE; then
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
+ else
diff --git a/packages/autoconf/autoconf_2.61.bb b/packages/autoconf/autoconf_2.61.bb
index 370315f041..e6a452c9a0 100644
--- a/packages/autoconf/autoconf_2.61.bb
+++ b/packages/autoconf/autoconf_2.61.bb
@@ -8,6 +8,7 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \
file://autoreconf-foreign.patch;patch=1 \
file://autoreconf-gnuconfigize.patch;patch=1 \
file://autoheader-nonfatal-warnings.patch;patch=1 \
+ file://config-site.patch;patch=1 \
${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
DEFAULT_PREFERENCE = "-1"