www/gophernicus: Use libc's strlcpy and strlcat
This commit is contained in:
parent
aeb1f5ee85
commit
077f74dee0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534807
1 changed files with 11 additions and 0 deletions
11
www/gophernicus/files/patch-gophernicus.h
Normal file
11
www/gophernicus/files/patch-gophernicus.h
Normal 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 */
|
||||
|
Loading…
Reference in a new issue