pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/helpdeco Do not include malloc.h, and add HAV...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a60bde4fbe5a
branches:  trunk
changeset: 496683:a60bde4fbe5a
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Jul 08 18:56:56 2005 +0000

description:
Do not include malloc.h, and add HAVE_STRLCPY for Darwin too.

diffstat:

 textproc/helpdeco/Makefile         |   4 ++--
 textproc/helpdeco/distinfo         |   3 ++-
 textproc/helpdeco/patches/patch-aa |  12 ++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 196f8c311f9a -r a60bde4fbe5a textproc/helpdeco/Makefile
--- a/textproc/helpdeco/Makefile        Fri Jul 08 18:22:49 2005 +0000
+++ b/textproc/helpdeco/Makefile        Fri Jul 08 18:56:56 2005 +0000
@@ -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 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin"
 CFLAGS+=               -DHAVE_STRLCPY
 .endif
 
diff -r 196f8c311f9a -r a60bde4fbe5a textproc/helpdeco/distinfo
--- a/textproc/helpdeco/distinfo        Fri Jul 08 18:22:49 2005 +0000
+++ b/textproc/helpdeco/distinfo        Fri Jul 08 18:56:56 2005 +0000
@@ -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 -r 196f8c311f9a -r a60bde4fbe5a textproc/helpdeco/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/helpdeco/patches/patch-aa        Fri Jul 08 18:56:56 2005 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index