diff options
author | mandree <mandree@FreeBSD.org> | 2014-01-08 07:24:20 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2014-01-08 07:24:20 +0800 |
commit | 75951c856984d3b34663ecb49f3ed5b86607ddf2 (patch) | |
tree | 389855273ca31ec006c2fd5ef2f892f219e3a5d4 /sysutils | |
parent | 234976075ed75654b98589a934f5dcc0fdbd1317 (diff) | |
download | freebsd-ports-gnome-75951c856984d3b34663ecb49f3ed5b86607ddf2.tar.gz freebsd-ports-gnome-75951c856984d3b34663ecb49f3ed5b86607ddf2.tar.zst freebsd-ports-gnome-75951c856984d3b34663ecb49f3ed5b86607ddf2.zip |
Remove patch no longer required on any supported FreeBSD version (8.3+).
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/busybox-unstable/files/patch-sysklogd__logread.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sysutils/busybox-unstable/files/patch-sysklogd__logread.c b/sysutils/busybox-unstable/files/patch-sysklogd__logread.c deleted file mode 100644 index 6337c65d5770..000000000000 --- a/sysutils/busybox-unstable/files/patch-sysklogd__logread.c +++ /dev/null @@ -1,23 +0,0 @@ ---- ./sysklogd/logread.c.orig 2012-06-26 13:35:45.000000000 +0000 -+++ ./sysklogd/logread.c 2012-07-17 02:08:37.000000000 +0000 -@@ -20,6 +20,20 @@ - #include <sys/sem.h> - #include <sys/shm.h> - -+#include <osreldate.h> -+#if __FreeBSD_version < 800067 -+size_t strnlen(const char *s, size_t maxlen); -+size_t strnlen(const char *s, size_t maxlen) -+{ -+ size_t i; -+ for (i = 0; i < maxlen; i++) { -+ if (s[i] == '\0') -+ break; -+ } -+ return i; -+} -+#endif -+ - #define DEBUG 0 - - /* our shared key (syslogd.c and logread.c must be in sync) */ |