diff options
author | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2017-07-12 00:36:16 +0200 |
---|---|---|
committer | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2017-07-22 01:54:12 +0200 |
commit | fa41eeba06987a12bc0434f8b51896d4618a3997 (patch) | |
tree | 7811874ee58354b01bbd97f6111d471a2faa54eb | |
parent | 9eb63293ab8d4283100c55989cfc56f5dd3af531 (diff) | |
download | groff-git-fa41eeba06987a12bc0434f8b51896d4618a3997.tar.gz |
Add gnulib module fprintf-posix
* bootstrap.conf: do it.
* Fix compilation in some files that needed inclusion of
`config.h'.
See https://savannah.gnu.org/bugs/?51330
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | src/devices/xditview/draw.c | 3 | ||||
-rw-r--r-- | src/libs/libgroff/geometry.cpp | 3 | ||||
-rw-r--r-- | src/libs/libgroff/prime.cpp | 3 | ||||
-rw-r--r-- | src/preproc/grn/hdb.cpp | 4 | ||||
-rw-r--r-- | src/preproc/grn/hpoint.cpp | 4 |
7 files changed, 29 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2017-07-12 Bertrand Garrigues <bertrand.garrigues@laposte.net> + + Add gnulib module fprintf-posix + + * bootstrap.conf: do it. + + * Fix compilation in some files that needed inclusion of + `config.h'. + + See https://savannah.gnu.org/bugs/?51330 + 2017-05-09 Bertrand Garrigues <bertrand.garrigues@laposte.net> Package `ghostscript' 9.21 renamed some fonts installed in diff --git a/bootstrap.conf b/bootstrap.conf index c9e43ddfb..dc392076d 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -39,6 +39,7 @@ gnulib_modules=" havelib non-recursive-gnulib-prefix-hack wcwidth + fprintf-posix " # Name of the Makefile.am diff --git a/src/devices/xditview/draw.c b/src/devices/xditview/draw.c index a808abafb..fe480d6e4 100644 --- a/src/devices/xditview/draw.c +++ b/src/devices/xditview/draw.c @@ -3,6 +3,9 @@ * * accept dvi function calls and translate to X */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <X11/Xos.h> #include <X11/IntrinsicP.h> diff --git a/src/libs/libgroff/geometry.cpp b/src/libs/libgroff/geometry.cpp index e6d88b1af..175efd9d6 100644 --- a/src/libs/libgroff/geometry.cpp +++ b/src/libs/libgroff/geometry.cpp @@ -18,6 +18,9 @@ for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <stdio.h> #include <math.h> diff --git a/src/libs/libgroff/prime.cpp b/src/libs/libgroff/prime.cpp index a19a8ae38..5109f45e7 100644 --- a/src/libs/libgroff/prime.cpp +++ b/src/libs/libgroff/prime.cpp @@ -15,6 +15,9 @@ for more details. The GNU General Public License version 2 (GPL2) is available in the internet at <http://www.gnu.org/licenses/gpl-2.0.txt>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <math.h> int is_prime(unsigned n) diff --git a/src/preproc/grn/hdb.cpp b/src/preproc/grn/hdb.cpp index 408609a09..4d1896d0c 100644 --- a/src/preproc/grn/hdb.cpp +++ b/src/preproc/grn/hdb.cpp @@ -6,6 +6,10 @@ * gremlin picture editor. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include "gprint.h" #include <string.h> diff --git a/src/preproc/grn/hpoint.cpp b/src/preproc/grn/hpoint.cpp index fa24dca7f..b581cb053 100644 --- a/src/preproc/grn/hpoint.cpp +++ b/src/preproc/grn/hpoint.cpp @@ -5,6 +5,10 @@ * for the gremlin picture editor. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include "gprint.h" |