From 5b7f56aed8805af806ceee2a8704a4aec03ba539 Mon Sep 17 00:00:00 2001 From: kristerw Date: Fri, 8 Jul 2005 18:56:56 +0000 Subject: Do not include malloc.h, and add HAVE_STRLCPY for Darwin too. --- textproc/helpdeco/Makefile | 4 ++-- textproc/helpdeco/distinfo | 3 ++- textproc/helpdeco/patches/patch-aa | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 textproc/helpdeco/patches/patch-aa (limited to 'textproc') 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 +-#include + #include + #include + #include -- cgit v1.2.3