From 746b7d8a506de047a8bd30394cae5362f5d935e4 Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: Aug 09 2020 15:59:49 +0000 Subject: groups/251.native_packages_lib.group: adds libite (master) Signed-off-by: Lucio Andrés Illanes Albornoz --- diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group index ed75a39..aeaeb75 100644 --- a/groups/251.native_packages_lib.group +++ b/groups/251.native_packages_lib.group @@ -4,7 +4,7 @@ GROUP_TARGET="native_packages"; NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" " glib lame libarchive libassuan libatomic_ops libdmtx libedit libeditline libelf libestr -libevent libfastjson libfetch libffi libfirm libflac libgcrypt libgpg_error +libevent libfastjson libfetch libffi libfirm libflac libgcrypt libgpg_error libite libjpeg_turbo libksba libmspack libnettle libogg libpcap libpipeline libpng libreadline libredwg libressl libsasl2 libshine libsndfile libsolv libssh libtasn1 libtelnet libtheora libtirpc libudns libunistring libuv libvorbis libxml2 @@ -94,6 +94,8 @@ libxslt libz libzip wolfssl")"; : ${PKG_LIBGPG_ERROR_URL:=https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${PKG_LIBGPG_ERROR_VERSION}.tar.bz2}; : ${PKG_LIBGPG_ERROR_FORCE_AUTORECONF:=1}; : ${PKG_LIBGPG_ERROR_IN_TREE:=1}; +: ${PKG_LIBITE_URLS_GIT:=libite=https://github.com/troglobit/libite.git@master}; +: ${PKG_LIBITE_SUBDIR:=libite}; : ${PKG_LIBJPEG_TURBO_SHA256SUM:=acb8599fe5399af114287ee5907aea4456f8f2c1cc96d26c28aebfdf5ee82fed}; : ${PKG_LIBJPEG_TURBO_VERSION:=2.0.2}; : ${PKG_LIBJPEG_TURBO_URL:=https://sourceforge.mirrorservice.org/l/li/libjpeg-turbo/${PKG_LIBJPEG_TURBO_VERSION}/libjpeg-turbo-${PKG_LIBJPEG_TURBO_VERSION}.tar.gz}; diff --git a/patches/libite_pre.local.patch b/patches/libite_pre.local.patch new file mode 100644 index 0000000..739681b --- /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