[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: * src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
From: |
Werner LEMBERG |
Subject: |
[groff] 01/01: * src/libs/gnulib/lib/wctype.in.h: Include `config.h'. |
Date: |
Mon, 20 Oct 2014 18:54:31 +0000 |
wl pushed a commit to branch master
in repository groff.
commit ac964fdf469d8ac9514296c935d35e4adce1ea5d
Author: Werner Lemberg <address@hidden>
Date: Mon Oct 20 20:54:11 2014 +0200
* src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
Problem reported by Eli Zaretskii <address@hidden>.
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 <address@hidden>
+
+ * src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
+
+ Problem reported by Eli Zaretskii <address@hidden>.
+
+ 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 <address@hidden>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: * src/libs/gnulib/lib/wctype.in.h: Include `config.h'.,
Werner LEMBERG <=