wl pushed a commit to branch master
in repository groff.
commit ac964fdf469d8ac9514296c935d35e4adce1ea5d
Author: Werner Lemberg <[email protected]>
Date: Mon Oct 20 20:54:11 2014 +0200
* src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
Problem reported by Eli Zaretskii <[email protected]>.
This is a temporary hack to make groff compile with MinGW. After
the switch to an automake infrastructure, together with proper use
of `gnulib', we can safely replace the patched file with a standard
version.
---
ChangeLog | 11 +++++++++++
src/libs/gnulib/lib/wctype.in.h | 9 +++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index cff0423..32f26c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2014-10-20 Werner LEMBERG <[email protected]>
+
+ * src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
+
+ Problem reported by Eli Zaretskii <[email protected]>.
+
+ This is a temporary hack to make groff compile with MinGW. After
+ the switch to an automake infrastructure, together with proper use
+ of `gnulib', we can safely replace the patched file with a standard
+ version.
+
2014-10-19 Doug McIlroy <[email protected]>
Fix Savannah bug #42151.
diff --git a/src/libs/gnulib/lib/wctype.in.h b/src/libs/gnulib/lib/wctype.in.h
index b8ecca4..e8d097a 100644
--- a/src/libs/gnulib/lib/wctype.in.h
+++ b/src/libs/gnulib/lib/wctype.in.h
@@ -32,6 +32,15 @@
#endif
@PRAGMA_COLUMNS@
+
+/*
+ * XXX: As soon as groff uses gnulib in a saner way (i.e., only a single
+ * `config.h' file for the whole package) this file should be replaced
+ * with an unpatched version, not containing the next #include line.
+ */
+#include "../config.h"
+
+
#if @HAVE_WINT_T@
/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.
Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit