summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/libite_pre.local.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/libite_pre.local.patch b/patches/libite_pre.local.patch
new file mode 100644
index 00000000..739681b2
--- /dev/null
+++ b/patches/libite_pre.local.patch
@@ -0,0 +1,28 @@
+diff -ru libite.orig/src/Makefile.am libite/src/Makefile.am
+--- libite.orig/src/Makefile.am 2020-08-09 16:25:29.242999136 +0200
++++ libite/src/Makefile.am 2020-08-09 17:29:21.283194792 +0200
+@@ -12,7 +12,7 @@
+ makepath.c progress.c \
+ pidfile.c pidfilefn.c \
+ reallocarray.c rsync.c \
+- strlcpy.c strlcat.c strtonum.c \
++ strtonum.c \
+ strdupa.h strndupa.h strnlen.h \
+ strmatch.c systemf.c \
+ telnet.c tempfile.c truncatef.c \
+diff -ru libite.orig/src/strlite.h libite/src/strlite.h
+--- libite.orig/src/strlite.h 2020-08-09 16:25:29.246999136 +0200
++++ libite/src/strlite.h 2020-08-09 17:25:08.951202692 +0200
+@@ -57,12 +57,6 @@
+ int strnmatch (const char *str, const char **list, size_t num);
+ int strmatch (const char *str, const char **list);
+
+-#ifndef strlcpy
+-size_t strlcpy (char *dst, const char *src, size_t siz);
+-#endif
+-#ifndef strlcat
+-size_t strlcat (char *dst, const char *src, size_t siz);
+-#endif
+ #ifndef strtonum
+ long long strtonum (const char *numstr, long long minval, long long maxval, const char **errstrp);
+ #endif