summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-07-08 18:56:56 +0000
committerkristerw <kristerw@pkgsrc.org>2005-07-08 18:56:56 +0000
commit8133234ce17d60e68ac2efd56fe2b55db646a41f (patch)
tree8b252eb7b9abdfc6f80fac6b635baf7425c374f8 /textproc
parent7dc5698b161c16bd3cff641d66549cfbe0dda71b (diff)
downloadpkgsrc-8133234ce17d60e68ac2efd56fe2b55db646a41f.tar.gz
Do not include malloc.h, and add HAVE_STRLCPY for Darwin too.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/helpdeco/Makefile4
-rw-r--r--textproc/helpdeco/distinfo3
-rw-r--r--textproc/helpdeco/patches/patch-aa12
3 files changed, 16 insertions, 3 deletions
diff --git a/textproc/helpdeco/Makefile b/textproc/helpdeco/Makefile
index 5742302c606..378d6385ac1 100644
--- a/textproc/helpdeco/Makefile
+++ b/textproc/helpdeco/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/05/22 20:08:34 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2005/07/08 18:56:56 kristerw Exp $
#
DISTNAME= helpdeco-2.1.1
@@ -11,7 +11,7 @@ COMMENT= Windows .hlp to .rtf converter
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin"
CFLAGS+= -DHAVE_STRLCPY
.endif
diff --git a/textproc/helpdeco/distinfo b/textproc/helpdeco/distinfo
index 2034fb52732..9ddb96ffde0 100644
--- a/textproc/helpdeco/distinfo
+++ b/textproc/helpdeco/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/05/19 18:34:34 ben Exp $
+$NetBSD: distinfo,v 1.5 2005/07/08 18:56:56 kristerw Exp $
SHA1 (helpdeco-2.1.1.tar.gz) = bd1dfe9a22b9a966b889b5c2693496e3dfe618ac
RMD160 (helpdeco-2.1.1.tar.gz) = 2777a0d1c8925ceb08ef86e73e80dc08fe2b1a25
Size (helpdeco-2.1.1.tar.gz) = 80041 bytes
+SHA1 (patch-aa) = 0cf435603d3fb8176085f48a725824c9516b51e8
diff --git a/textproc/helpdeco/patches/patch-aa b/textproc/helpdeco/patches/patch-aa
new file mode 100644
index 00000000000..5d766f7036e
--- /dev/null
+++ b/textproc/helpdeco/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.4 2005/07/08 18:56:57 kristerw Exp $
+
+--- helpdeco.h.orig 2005-07-08 20:53:50.000000000 +0200
++++ helpdeco.h 2005-07-08 20:54:01.000000000 +0200
+@@ -23,7 +23,6 @@
+ #ifndef HELPDECO_H
+ #define HELPDECO_H
+ #include <time.h>
+-#include <malloc.h>
+ #include <stdio.h>
+ #include <stdarg.h>
+ #include <stdlib.h>