summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-03-24 00:06:57 +0000
committergrant <grant@pkgsrc.org>2003-03-24 00:06:57 +0000
commit3448f5ad50f027d82afce7fdf1efe9e26951485b (patch)
tree2d76fa2c2e084456e14424cb038f8a5a010249a4 /devel
parentd1e5712296547c6fd980c21d84141a7d7fb52419 (diff)
downloadpkgsrc-3448f5ad50f027d82afce7fdf1efe9e26951485b.tar.gz
use config.h and friends in man/tgexinfo2man.c, fixes build on
FreeBSD 5 where malloc.h exists but should not be used.
Diffstat (limited to 'devel')
-rw-r--r--devel/gindent/distinfo3
-rw-r--r--devel/gindent/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
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 <stdio.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include <ctype.h>
+