From 09068ddadb79ec338c529365ab321073298bb5cc Mon Sep 17 00:00:00 2001 From: epg Date: Wed, 10 Nov 2004 16:18:29 +0000 Subject: Make this build on FreeBSD (stop fussing about with malloc.h). --- textproc/diffstat/distinfo | 3 ++- textproc/diffstat/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 textproc/diffstat/patches/patch-aa (limited to 'textproc') diff --git a/textproc/diffstat/distinfo b/textproc/diffstat/distinfo index 31486c9fa10..2f6acfe92c1 100644 --- a/textproc/diffstat/distinfo +++ b/textproc/diffstat/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2003/12/14 11:14:21 jmmv Exp $ +$NetBSD: distinfo,v 1.3 2004/11/10 16:18:29 epg Exp $ SHA1 (diffstat-1.34.tgz) = 5a14769e35381fc3a6e784eddd4f7cb4621b46ec Size (diffstat-1.34.tgz) = 58633 bytes +SHA1 (patch-aa) = 9d2cfa172259f31ecf8e7652ae7c38e8f1e05c41 diff --git a/textproc/diffstat/patches/patch-aa b/textproc/diffstat/patches/patch-aa new file mode 100644 index 00000000000..b8ec438361f --- /dev/null +++ b/textproc/diffstat/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2004/11/10 16:18:29 epg Exp $ + +--- diffstat.c.orig 2003-11-09 13:45:00.000000000 -0500 ++++ diffstat.c +@@ -117,8 +117,6 @@ extern int isatty(); + + #ifdef HAVE_MALLOC_H + #include +-#else +-extern char *malloc(); + #endif + + #ifdef HAVE_GETOPT_H -- cgit v1.2.3