groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/02: Add gnulib module fprintf-posix


From: Bertrand Garrigues
Subject: [groff] 01/02: Add gnulib module fprintf-posix
Date: Fri, 21 Jul 2017 20:25:27 -0400 (EDT)

bgarrigues pushed a commit to branch master
in repository groff.

commit fa41eeba06987a12bc0434f8b51896d4618a3997
Author: Bertrand Garrigues <address@hidden>
Date:   Wed Jul 12 00:36:16 2017 +0200

    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
---
 ChangeLog                      | 11 +++++++++++
 bootstrap.conf                 |  1 +
 src/devices/xditview/draw.c    |  3 +++
 src/libs/libgroff/geometry.cpp |  3 +++
 src/libs/libgroff/prime.cpp    |  3 +++
 src/preproc/grn/hdb.cpp        |  4 ++++
 src/preproc/grn/hpoint.cpp     |  4 ++++
 7 files changed, 29 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index d9d78ff..b4d328f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2017-07-12  Bertrand Garrigues <address@hidden>
+
+       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 <address@hidden>
 
        Package `ghostscript' 9.21 renamed some fonts installed in
diff --git a/bootstrap.conf b/bootstrap.conf
index c9e43dd..dc39207 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 a808aba..fe480d6 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 e6d88b1..175efd9 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 a19a8ae..5109f45 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 408609a..4d1896d 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 fa24dca..b581cb0 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"
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]