www/gophernicus: Use libc's strlcpy and strlcat

This commit is contained in:
Tobias Kortkamp 2020-05-10 03:54:26 +00:00
parent aeb1f5ee85
commit 077f74dee0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534807

View file

@ -0,0 +1,11 @@
--- gophernicus.h.orig 2019-07-23 01:52:07 UTC
+++ gophernicus.h
@@ -55,7 +55,7 @@
#define HAVE_SHMEM /* Shared memory support */
#define HAVE_UNAME /* uname() */
#define HAVE_POPEN /* popen() */
-#undef HAVE_STRLCPY /* strlcpy() from OpenBSD */
+#define HAVE_STRLCPY /* strlcpy() from OpenBSD */
#undef HAVE_SENDFILE /* sendfile() in Linux & others */
/* #undef HAVE_LIBWRAP autodetected, don't enable here */