summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/leafnode/Makefile6
-rw-r--r--news/leafnode/distinfo3
-rw-r--r--news/leafnode/patches/patch-ab13
3 files changed, 20 insertions, 2 deletions
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index 4a893c902b4..1e6f4f9e3ca 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2006/04/23 00:12:41 jlam Exp $
+# $NetBSD: Makefile,v 1.35 2006/10/15 20:06:59 schwarz Exp $
DISTNAME= leafnode-1.11.3.rel
PKGNAME= ${DISTNAME:S/.rel//}
@@ -67,5 +67,9 @@ post-install:
${WRKSRC}/README-daemontools \
${WRKSRC}/README.FIRST ${PREFIX}/share/doc/leafnode
+.if !empty(LOWER_OPSYS:Mirix5*)
+# needs snprintf(), vsnprintf()
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+.endif
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/news/leafnode/distinfo b/news/leafnode/distinfo
index 20425ac8fb6..1b512e317cf 100644
--- a/news/leafnode/distinfo
+++ b/news/leafnode/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2005/06/09 18:21:23 salo Exp $
+$NetBSD: distinfo,v 1.16 2006/10/15 20:06:59 schwarz Exp $
SHA1 (leafnode-1.11.3.rel.tar.bz2) = 6910f05c0fa4b1bb5a4baaa6e6fd529fef5ece22
RMD160 (leafnode-1.11.3.rel.tar.bz2) = 786fc42b58660d8d47eccd5d610718202eb50a3c
Size (leafnode-1.11.3.rel.tar.bz2) = 506217 bytes
SHA1 (patch-aa) = 6820ab420cb656e61848f9eb29d4674bccb856a6
+SHA1 (patch-ab) = 02f0911d41bf7934d44306054edb77b1d1751045
diff --git a/news/leafnode/patches/patch-ab b/news/leafnode/patches/patch-ab
new file mode 100644
index 00000000000..2aad55d3a51
--- /dev/null
+++ b/news/leafnode/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/10/15 20:06:59 schwarz Exp $
+
+--- mastring.h.orig 2006-10-15 21:51:05.000000000 +0200
++++ mastring.h 2006-10-15 21:51:19.000000000 +0200
+@@ -38,7 +38,7 @@
+ /*@only@*/ mastr *mastr_new(size_t);
+ /*@only@*/ mastr *mastr_newstr(const char *);
+ int mastr_cpy(mastr *, const char *);
+-int mastr_cat(mastr *, /*@unique@*/ /*@observer@*/ const char *);
++int mastr_cat(mastr *, /*@unique@*/ /*@observer@*/ const char *const);
+ int mastr_vcat(mastr *, ...);
+ int mastr_resizekeep(mastr *, size_t);
+ int mastr_resizekill(mastr *, size_t);