pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/groff Include config.h before stdlib.h before...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d145b83a4e6c
branches: trunk
changeset: 426380:d145b83a4e6c
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Mar 30 19:32:24 2020 +0000
description:
Include config.h before stdlib.h before the overwrite for math.h bails
out otherwise.
diffstat:
textproc/groff/distinfo | 13 +++++++++++-
textproc/groff/patches/patch-src_libs_libgroff_assert.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_libs_libgroff_curtime.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_libs_libgroff_device.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_libs_libgroff_error.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_libs_libgroff_fatal.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_libs_libgroff_string.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_libs_libgroff_strsave.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_preproc_eqn_eqn.ypp | 15 ++++++++++++++
textproc/groff/patches/patch-src_preproc_eqn_other.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_preproc_eqn_text.cpp | 15 ++++++++++++++
textproc/groff/patches/patch-src_preproc_pic_object.cpp | 15 ++++++++++++++
12 files changed, 177 insertions(+), 1 deletions(-)
diffs (234 lines):
diff -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/distinfo
--- a/textproc/groff/distinfo Mon Mar 30 19:31:19 2020 +0000
+++ b/textproc/groff/distinfo Mon Mar 30 19:32:24 2020 +0000
@@ -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 @@
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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_assert.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_assert.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_curtime.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_curtime.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_device.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_device.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_error.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_error.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_fatal.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_fatal.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_string.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_string.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_libs_libgroff_strsave.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_libs_libgroff_strsave.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_preproc_eqn_eqn.ypp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_preproc_eqn_eqn.ypp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_preproc_eqn_other.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_preproc_eqn_other.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_preproc_eqn_text.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_preproc_eqn_text.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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 -r 6f75044d8a49 -r d145b83a4e6c textproc/groff/patches/patch-src_preproc_pic_object.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/patches/patch-src_preproc_pic_object.cpp Mon Mar 30 19:32:24 2020 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index