FreeBSD Bugzilla – Attachment 160276 Details for
Bug 202603
[PATCH] net-p2p/namecoin: fix build with _FORTIFY_SOURCE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Cleaner fix
net-p2p-namecoin.diff (text/plain), 1.10 KB, created by
Pedro F. Giffuni
on 2015-08-24 00:45:27 UTC
(
hide
)
Description:
Cleaner fix
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2015-08-24 00:45:27 UTC
Size:
1.10 KB
patch
obsolete
>Index: net-p2p/namecoin/files/patch-src__strlcpy.h >=================================================================== >--- net-p2p/namecoin/files/patch-src__strlcpy.h (revision 0) >+++ net-p2p/namecoin/files/patch-src__strlcpy.h (working copy) >@@ -0,0 +1,20 @@ >+--- src/strlcpy.h.orig 2015-08-24 00:28:33 UTC >++++ src/strlcpy.h >+@@ -15,6 +15,10 @@ >+ */ >+ #ifndef BITCOIN_STRLCPY_H >+ #define BITCOIN_STRLCPY_H >++ >++#ifdef __FreeBSD__ >++#include <string.h> >++#else >+ /* >+ * Copy src to string dst of size siz. At most siz-1 characters >+ * will be copied. Always NUL terminates (unless siz == 0). >+@@ -83,4 +87,6 @@ inline size_t strlcat(char *dst, const c >+ >+ return(dlen + (s - src)); /* count does not include NUL */ >+ } >++#endif /* FreeBSD */ >++ >+ #endif > >Property changes on: net-p2p/namecoin/files/patch-src__strlcpy.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202603
:
160267
|
160276
|
160277
|
160427