From 746b7d8a506de047a8bd30394cae5362f5d935e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sun, 9 Aug 2020 17:41:21 +0200 Subject: groups/251.native_packages_lib.group: adds libite (master) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/libite_pre.local.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 patches/libite_pre.local.patch (limited to 'patches') 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 -- cgit v1.2.3