From 3448f5ad50f027d82afce7fdf1efe9e26951485b Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 24 Mar 2003 00:06:57 +0000 Subject: use config.h and friends in man/tgexinfo2man.c, fixes build on FreeBSD 5 where malloc.h exists but should not be used. --- devel/gindent/distinfo | 3 ++- devel/gindent/patches/patch-ab | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 devel/gindent/patches/patch-ab (limited to 'devel') diff --git a/devel/gindent/distinfo b/devel/gindent/distinfo index ca8621cc106..93f2a30efec 100644 --- a/devel/gindent/distinfo +++ b/devel/gindent/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2002/12/05 11:47:26 wiz Exp $ +$NetBSD: distinfo,v 1.6 2003/03/24 00:06:57 grant Exp $ SHA1 (indent-2.2.8a.tar.gz) = 0d8dc53bf6411d1c87dce7775e2ddddc4a6e9355 Size (indent-2.2.8a.tar.gz) = 594855 bytes SHA1 (patch-aa) = aadb9d20c6fa61840e6c9a66b9cab46ea1f4bcd3 +SHA1 (patch-ab) = 3feeab7810572653916e256645c7a7d8ec93764e diff --git a/devel/gindent/patches/patch-ab b/devel/gindent/patches/patch-ab new file mode 100644 index 00000000000..5dce8f578e0 --- /dev/null +++ b/devel/gindent/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.7 2003/03/24 00:06:57 grant Exp $ + +--- man/texinfo2man.c.orig Fri Jan 18 06:28:51 2002 ++++ man/texinfo2man.c +@@ -1,5 +1,11 @@ ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ + #include ++#ifdef HAVE_MALLOC_H + #include ++#endif + #include + #include + -- cgit v1.2.3