aboutsummaryrefslogtreecommitdiffstats
path: root/testing/entr/remove-strlcpy-compat.h.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-05-01 16:58:38 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-05-05 01:01:00 +0200
commitede1fe4919ddee8eba97a32847bbd2f169d4d302 (patch)
tree1f493e2aea0d62dbc0e7fc3cad0934fa4af456a3 /testing/entr/remove-strlcpy-compat.h.patch
parent7d10f820094f2221b55f6e49274d508b2c16b7b4 (diff)
downloadaports-ede1fe4919ddee8eba97a32847bbd2f169d4d302.tar.bz2
aports-ede1fe4919ddee8eba97a32847bbd2f169d4d302.tar.xz
testing/entr: new aport
Event Notify Test Runner: Run arbitrary commands when files change http://entrproject.org 41k binary
Diffstat (limited to 'testing/entr/remove-strlcpy-compat.h.patch')
-rw-r--r--testing/entr/remove-strlcpy-compat.h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/entr/remove-strlcpy-compat.h.patch b/testing/entr/remove-strlcpy-compat.h.patch
new file mode 100644
index 0000000000..ae2d271a1b
--- /dev/null
+++ b/testing/entr/remove-strlcpy-compat.h.patch
@@ -0,0 +1,14 @@
+--- eradman-entr-c20e34ec153a/missing/compat.h
++++ eradman-entr-c20e34ec153a/missing/compat.h.new
+@@ -4,11 +4,6 @@
+ #define NOTE_TRUNCATE 0
+ #endif
+
+-#if defined(_LINUX_PORT)
+-#include <sys/types.h>
+-size_t strlcpy(char *to, const char *from, int l);
+-#endif
+-
+ #if defined(_MACOS_PORT)
+ #include <stdio.h>
+ FILE *fmemopen(void *buf, size_t size, const char *mode);