From 3e22e24004f68ec62dfba60d56b626ac40903cc1 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 25 May 2018 11:45:40 +0200 Subject: [PATCH] Bump libbsd version Signed-off-by: David Oberhollenzer --- pkg/libbsd/0001.patch | 30 ++++++++---------------------- pkg/libbsd/build | 4 ++-- 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/pkg/libbsd/0001.patch b/pkg/libbsd/0001.patch index b1b5d39..be12a5f 100644 --- a/pkg/libbsd/0001.patch +++ b/pkg/libbsd/0001.patch @@ -1,24 +1,10 @@ ---- a/include/bsd/stdlib.h -+++ b/include/bsd/stdlib.h -@@ -67,9 +67,6 @@ int sradixsort(const unsigned char **base, int nmemb, - const unsigned char *table, unsigned endbyte); +--- a/src/flopen.c ++++ b/src/flopen.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include - void *reallocf(void *ptr, size_t size); --#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 26) --void *reallocarray(void *ptr, size_t nmemb, size_t size); --#endif + #include - long long strtonum(const char *nptr, long long minval, long long maxval, - const char **errstr); ---- a/include/bsd/string.h -+++ b/include/bsd/string.h -@@ -42,9 +42,6 @@ size_t strlcat(char *dst, const char *src, size_t siz); - char *strnstr(const char *str, const char *find, size_t str_len); - void strmode(mode_t mode, char *str); - --#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 25) --void explicit_bzero(void *buf, size_t len); --#endif - __END_DECLS - - #endif diff --git a/pkg/libbsd/build b/pkg/libbsd/build index 9f6e50e..b9891f6 100644 --- a/pkg/libbsd/build +++ b/pkg/libbsd/build @@ -1,8 +1,8 @@ -VERSION="0.8.7" +VERSION="0.9.1" SRCDIR="libbsd-${VERSION}" TARBALL="${SRCDIR}.tar.xz" URL="https://libbsd.freedesktop.org/releases" -SHA256SUM="f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31" +SHA256SUM="56d835742327d69faccd16955a60b6dcf30684a8da518c4eca0ac713b9e0a7a4" DEPENDS="toolchain" prepare() {