View | Details | Raw Unified | Return to bug 202603 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	namecoin
4
PORTNAME=	namecoin
5
PORTVERSION=	0.3.80
5
PORTVERSION=	0.3.80
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	nc
7
DISTVERSIONPREFIX=	nc
7
PORTEPOCH=	1
8
PORTEPOCH=	1
8
CATEGORIES=	net-p2p dns
9
CATEGORIES=	net-p2p dns
(-)files/patch-src__strlcpy.h (+23 lines)
Line 0 Link Here
1
--- net-p2p/namecoin/files/patch-src__strlcpy.h	(revision 0)
2
+++ net-p2p/namecoin/files/patch-src__strlcpy.h	(working copy)
3
@@ -0,0 +1,20 @@ 
4
+--- src/strlcpy.h.orig	2015-08-24 00:28:33 UTC
5
++++ src/strlcpy.h
6
+@@ -15,6 +15,10 @@
7
+  */
8
+ #ifndef BITCOIN_STRLCPY_H
9
+ #define BITCOIN_STRLCPY_H
10
++
11
++#if defined(__FreeBSD__) && (__FreeBSD_version >= 330000)
12
++#include <string.h>
13
++#else
14
+ /*
15
+  * Copy src to string dst of size siz.  At most siz-1 characters
16
+  * will be copied.  Always NUL terminates (unless siz == 0).
17
+@@ -83,4 +87,6 @@ inline size_t strlcat(char *dst, const c
18
+ 
19
+     return(dlen + (s - src)); /* count does not include NUL */
20
+ }
21
++#endif	/* FreeBSD */
22
++
23
+ #endif

Return to bug 202603