diff options
author | joerg <joerg@pkgsrc.org> | 2020-03-30 19:32:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-03-30 19:32:24 +0000 |
commit | 2e26380ea83590cb153f60c33422fc33df86e79f (patch) | |
tree | a981be1e1ee699e2e705e77210b6f84c9c5c5ccf /textproc | |
parent | 4ee7fed107c519b439757d81fd8f56b21c6a9a37 (diff) | |
download | pkgsrc-2e26380ea83590cb153f60c33422fc33df86e79f.tar.gz |
Include config.h before stdlib.h before the overwrite for math.h bails
out otherwise.
Diffstat (limited to 'textproc')
12 files changed, 177 insertions, 1 deletions
diff --git a/textproc/groff/distinfo b/textproc/groff/distinfo index 6421769fe4e..f53dddf2374 100644 --- a/textproc/groff/distinfo +++ b/textproc/groff/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.26 2019/04/01 16:48:37 ryoon Exp $ +$NetBSD: distinfo,v 1.27 2020/03/30 19:32:24 joerg Exp $ SHA1 (groff-1.22.4.tar.gz) = 2ce4ab107e3fab1414fef2c5b5312f562a4e4d35 RMD160 (groff-1.22.4.tar.gz) = 6f0555695ac882a8e1f925cce22f7e3d267188cb @@ -6,4 +6,15 @@ SHA512 (groff-1.22.4.tar.gz) = 1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba744 Size (groff-1.22.4.tar.gz) = 4137480 bytes SHA1 (patch-aa) = 98c10a0ef1854ee4baca00c702746a948f5a0fe2 SHA1 (patch-configure) = b4193e18b1e7159f5dfbc96f9a84787f6648f616 +SHA1 (patch-src_libs_libgroff_assert.cpp) = 3b9ee7280af1235e942573e4c83eb228c353af99 +SHA1 (patch-src_libs_libgroff_curtime.cpp) = f95f01086161a71a1a55cd2a0ccd053d41009840 +SHA1 (patch-src_libs_libgroff_device.cpp) = d86cfa3f6c730b25c888df7d3cfceb051839094e +SHA1 (patch-src_libs_libgroff_error.cpp) = 96102d8457584744242ecef920e9e66c84564716 +SHA1 (patch-src_libs_libgroff_fatal.cpp) = 20d998e05cfbac6c0788583b14927f20f50fc4f1 +SHA1 (patch-src_libs_libgroff_string.cpp) = f10e617475d6a5d0e4aa554ce47b6834af844d87 +SHA1 (patch-src_libs_libgroff_strsave.cpp) = 3274b38b4cb1e747c42473090586aed743b970b9 SHA1 (patch-src_libs_libgroff_tmpfile.cpp) = 3794a028dc7c569e5adea6b7b876c3ac085376ba +SHA1 (patch-src_preproc_eqn_eqn.ypp) = 8249a560a1bbe9b80aade66929a96e4fc39f0af2 +SHA1 (patch-src_preproc_eqn_other.cpp) = 46f8cc23bdc06dc0341ba86d74ef1bdf5fd5d35e +SHA1 (patch-src_preproc_eqn_text.cpp) = d5ce06f49a40a8e8586247beb9639261ec624a9c +SHA1 (patch-src_preproc_pic_object.cpp) = 9e7bdfc5ad93857c92302cd7bb6da35e35f76459 diff --git a/textproc/groff/patches/patch-src_libs_libgroff_assert.cpp b/textproc/groff/patches/patch-src_libs_libgroff_assert.cpp new file mode 100644 index 00000000000..b9178de1711 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_assert.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_assert.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/assert.cpp.orig 2020-03-29 11:10:06.073227505 +0000 ++++ src/libs/libgroff/assert.cpp +@@ -16,6 +16,10 @@ 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 <stdlib.h> + #include "assert.h" diff --git a/textproc/groff/patches/patch-src_libs_libgroff_curtime.cpp b/textproc/groff/patches/patch-src_libs_libgroff_curtime.cpp new file mode 100644 index 00000000000..fde64400e04 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_curtime.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_curtime.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/curtime.cpp.orig 2020-03-29 11:10:42.888676630 +0000 ++++ src/libs/libgroff/curtime.cpp +@@ -15,6 +15,10 @@ 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 <errno.h> + #include <limits.h> + #include <stdlib.h> diff --git a/textproc/groff/patches/patch-src_libs_libgroff_device.cpp b/textproc/groff/patches/patch-src_libs_libgroff_device.cpp new file mode 100644 index 00000000000..466178009a6 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_device.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_device.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/device.cpp.orig 2020-03-29 11:10:59.988876406 +0000 ++++ src/libs/libgroff/device.cpp +@@ -17,6 +17,10 @@ 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 <stdlib.h> + #include "device.h" + #include "defs.h" diff --git a/textproc/groff/patches/patch-src_libs_libgroff_error.cpp b/textproc/groff/patches/patch-src_libs_libgroff_error.cpp new file mode 100644 index 00000000000..5755786da50 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_error.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_error.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/error.cpp.orig 2020-03-29 11:11:17.837577107 +0000 ++++ src/libs/libgroff/error.cpp +@@ -17,6 +17,10 @@ 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 <stdlib.h> + #include <string.h> diff --git a/textproc/groff/patches/patch-src_libs_libgroff_fatal.cpp b/textproc/groff/patches/patch-src_libs_libgroff_fatal.cpp new file mode 100644 index 00000000000..90ca3c6f195 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_fatal.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_fatal.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/fatal.cpp.orig 2020-03-29 11:16:04.337962906 +0000 ++++ src/libs/libgroff/fatal.cpp +@@ -16,6 +16,10 @@ 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 <stdlib.h> + + #define FATAL_ERROR_EXIT_CODE 3 diff --git a/textproc/groff/patches/patch-src_libs_libgroff_string.cpp b/textproc/groff/patches/patch-src_libs_libgroff_string.cpp new file mode 100644 index 00000000000..b1d9695db83 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_string.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_string.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/string.cpp.orig 2020-03-29 11:16:35.446496528 +0000 ++++ src/libs/libgroff/string.cpp +@@ -17,6 +17,10 @@ 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 <stdlib.h> + + #include "lib.h" diff --git a/textproc/groff/patches/patch-src_libs_libgroff_strsave.cpp b/textproc/groff/patches/patch-src_libs_libgroff_strsave.cpp new file mode 100644 index 00000000000..4fe11502990 --- /dev/null +++ b/textproc/groff/patches/patch-src_libs_libgroff_strsave.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_libs_libgroff_strsave.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/libs/libgroff/strsave.cpp.orig 2020-03-29 11:17:43.644694801 +0000 ++++ src/libs/libgroff/strsave.cpp +@@ -17,6 +17,10 @@ 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 <string.h> + #include <stdlib.h> + diff --git a/textproc/groff/patches/patch-src_preproc_eqn_eqn.ypp b/textproc/groff/patches/patch-src_preproc_eqn_eqn.ypp new file mode 100644 index 00000000000..fe0b6337099 --- /dev/null +++ b/textproc/groff/patches/patch-src_preproc_eqn_eqn.ypp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_preproc_eqn_eqn.ypp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/preproc/eqn/eqn.ypp.orig 2020-03-29 11:19:42.584035045 +0000 ++++ src/preproc/eqn/eqn.ypp +@@ -16,6 +16,10 @@ 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 <string.h> + #include <stdlib.h> diff --git a/textproc/groff/patches/patch-src_preproc_eqn_other.cpp b/textproc/groff/patches/patch-src_preproc_eqn_other.cpp new file mode 100644 index 00000000000..6ac6a43211f --- /dev/null +++ b/textproc/groff/patches/patch-src_preproc_eqn_other.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_preproc_eqn_other.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/preproc/eqn/other.cpp.orig 2020-03-29 11:19:22.013530414 +0000 ++++ src/preproc/eqn/other.cpp +@@ -17,6 +17,10 @@ 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 <stdlib.h> + + #include "eqn.h" diff --git a/textproc/groff/patches/patch-src_preproc_eqn_text.cpp b/textproc/groff/patches/patch-src_preproc_eqn_text.cpp new file mode 100644 index 00000000000..8bbf6bf158d --- /dev/null +++ b/textproc/groff/patches/patch-src_preproc_eqn_text.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_preproc_eqn_text.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/preproc/eqn/text.cpp.orig 2020-03-29 11:19:04.623523486 +0000 ++++ src/preproc/eqn/text.cpp +@@ -17,6 +17,10 @@ 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 <ctype.h> + #include <stdlib.h> + #include "eqn.h" diff --git a/textproc/groff/patches/patch-src_preproc_pic_object.cpp b/textproc/groff/patches/patch-src_preproc_pic_object.cpp new file mode 100644 index 00000000000..64e3914311b --- /dev/null +++ b/textproc/groff/patches/patch-src_preproc_pic_object.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_preproc_pic_object.cpp,v 1.1 2020/03/30 19:32:24 joerg Exp $ + +--- src/preproc/pic/object.cpp.orig 2020-03-29 11:20:12.373241574 +0000 ++++ src/preproc/pic/object.cpp +@@ -17,6 +17,10 @@ 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 <stdlib.h> + + #include "pic.h" |