summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/console-tools/HISTORY3
-rwxr-xr-xutils/console-tools/PRE_BUILD2
2 files changed, 5 insertions, 0 deletions
diff --git a/utils/console-tools/HISTORY b/utils/console-tools/HISTORY
index ee9cd39f85..926c0c2385 100644
--- a/utils/console-tools/HISTORY
+++ b/utils/console-tools/HISTORY
@@ -1,3 +1,6 @@
+2008-06-10 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * PRE_BUILD: added missing include for gcc 4.2, bug #14434
+
2008-01-28 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
* PRE_BUILD: added missing parameter to the is_depends_enabled call
diff --git a/utils/console-tools/PRE_BUILD b/utils/console-tools/PRE_BUILD
index 4cf2740d49..46f1f45970 100755
--- a/utils/console-tools/PRE_BUILD
+++ b/utils/console-tools/PRE_BUILD
@@ -8,5 +8,7 @@ if ! is_depends_enabled $SPELL linuxdoc-tools; then
sed -i -e 's/kbd.FAQ.html//' -e 's/kbd.FAQ.txt//' \
-e 's/lct.html//' -e 's/lct.txt//' doc/Makefile*
fi &&
+# fixes bug #14434 for gcc 4.2 (4.3 doesn't need it)
+sedit "7i#include <locale.h>" include/lct/local.h &&
sedit "s/examples//" Makefile.am &&
sedit "s/examples//" Makefile.in