1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-17 03:06:12 +02:00

Bump libbsd version

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-05-25 11:45:40 +02:00
parent 3f0c67b4cd
commit 3e22e24004
2 changed files with 10 additions and 24 deletions

View file

@ -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 <errno.h>
#include <stdarg.h>
#include <unistd.h>
+#include <fcntl.h>
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 <libutil.h>
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

View file

@ -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() {