diff options
Diffstat (limited to 'x11/wdm/files')
-rw-r--r-- | x11/wdm/files/patch-src::wdm::loghelpers.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/x11/wdm/files/patch-src::wdm::loghelpers.c b/x11/wdm/files/patch-src::wdm::loghelpers.c deleted file mode 100644 index ddaa4081d49d..000000000000 --- a/x11/wdm/files/patch-src::wdm::loghelpers.c +++ /dev/null @@ -1,24 +0,0 @@ ---- src/wdm/loghelpers.c.orig Sun Jun 1 17:00:09 2003 -+++ src/wdm/loghelpers.c Sun Jun 1 23:30:40 2003 -@@ -26,6 +26,21 @@ - #include <sys/wait.h> - #include <unistd.h> - -+#ifdef __FreeBSD__ -+static char * -+wstrndup(const char *src, size_t size) -+{ -+ char *dst; -+ -+ dst = malloc(size + 1); -+ if (dst == NULL) -+ return (NULL); -+ dst[size] = '\0'; -+ strncpy(dst, src, size); -+ return (dst); -+} -+#endif -+ - /* - * Function that treats buffer as set of lines separated with '\n' - * These lines will be directed to WDMLogMessage function with |