summaryrefslogtreecommitdiffhomepage
path: root/patches/libite_pre.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-08-09 17:41:21 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-08-09 16:59:49 +0100
commit746b7d8a506de047a8bd30394cae5362f5d935e4 (patch)
treec504eea33d8e3ec7e2f59f01b274cf200b124de0 /patches/libite_pre.local.patch
parent9bf1fc97fb1e8235475fcd6cc731c1f2cac7a753 (diff)
downloadmidipix_build-746b7d8a506de047a8bd30394cae5362f5d935e4.tar.bz2
midipix_build-746b7d8a506de047a8bd30394cae5362f5d935e4.tar.xz
groups/251.native_packages_lib.group: adds libite (master)
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/libite_pre.local.patch')
-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