summaryrefslogtreecommitdiff
path: root/emulators/nonpareil/files/patch-src_util.h
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /emulators/nonpareil/files/patch-src_util.h
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Notes
Notes: svn path=/head/; revision=559822
Diffstat (limited to 'emulators/nonpareil/files/patch-src_util.h')
-rw-r--r--emulators/nonpareil/files/patch-src_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/nonpareil/files/patch-src_util.h b/emulators/nonpareil/files/patch-src_util.h
new file mode 100644
index 000000000000..547729926f27
--- /dev/null
+++ b/emulators/nonpareil/files/patch-src_util.h
@@ -0,0 +1,11 @@
+--- src/util.h.orig 2008-08-24 00:37:18 UTC
++++ src/util.h
+@@ -56,7 +56,7 @@ void realloc_strcpy (char **dest, char *
+ // strlcpy will copy as much of src into dest as it can, up to one less than
+ // the maximum length of dest specified by the argument l. Unlike strncpy(),
+ // strlcpy() will always leave dest NULL-terminated on return.
+-char *strlcpy (char *dest, const char *src, size_t l);
++//char *strlcpy (char *dest, const char *src, size_t l);
+
+
+ // strlncpy will copy up to n characters from src to dest, but not more than