diff options
Diffstat (limited to 'development/bmake/compilefix.diff')
-rw-r--r-- | development/bmake/compilefix.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/development/bmake/compilefix.diff b/development/bmake/compilefix.diff new file mode 100644 index 000000000000..e2b91821b127 --- /dev/null +++ b/development/bmake/compilefix.diff @@ -0,0 +1,14 @@ +diff -Naur bmake/make.h bmake.patched/make.h +--- bmake/make.h 2016-12-09 18:01:56.000000000 -0500 ++++ bmake.patched/make.h 2017-02-14 14:43:00.590199142 -0500 +@@ -99,6 +99,10 @@ + #include <unistd.h> + #include <sys/cdefs.h> + ++#ifndef HAVE_STRLCPY ++extern size_t strlcpy(char *dst, const char *src, size_t siz); ++#endif ++ + #ifndef FD_CLOEXEC + #define FD_CLOEXEC 1 + #endif |