From 6304e34d29e2f5242f8604578116b6782ba034d0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 27 Jan 2018 00:50:39 -0200 Subject: [PATCH] libbsd: update to 0.8.7. Closes: #11129 [via git-merge-pr] --- srcpkgs/libbsd/patches/musl.patch | 22 ++++++++++++++++++++++ srcpkgs/libbsd/template | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/libbsd/patches/musl.patch diff --git a/srcpkgs/libbsd/patches/musl.patch b/srcpkgs/libbsd/patches/musl.patch new file mode 100644 index 00000000000..f6436c0f706 --- /dev/null +++ b/srcpkgs/libbsd/patches/musl.patch @@ -0,0 +1,22 @@ +--- include/bsd/string.h 2017-08-05 13:20:54.000000000 +0200 ++++ include/bsd/string.h 2018-02-24 12:07:30.705680366 +0100 +@@ -42,7 +42,7 @@ + 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) ++#if defined(_GNU_SOURCE) + void explicit_bzero(void *buf, size_t len); + #endif + __END_DECLS +--- include/bsd/stdlib.h 2017-08-05 13:20:00.000000000 +0200 ++++ include/bsd/stdlib.h 2018-02-24 12:09:25.072688523 +0100 +@@ -67,7 +67,7 @@ + const unsigned char *table, unsigned endbyte); + + void *reallocf(void *ptr, size_t size); +-#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 26) ++#if defined(_GNU_SOURCE) + void *reallocarray(void *ptr, size_t nmemb, size_t size); + #endif + diff --git a/srcpkgs/libbsd/template b/srcpkgs/libbsd/template index bc885e135af..9045c7b3f56 100644 --- a/srcpkgs/libbsd/template +++ b/srcpkgs/libbsd/template @@ -1,6 +1,6 @@ # Template file for 'libbsd' pkgname=libbsd -version=0.8.6 +version=0.8.7 revision=1 build_style=gnu-configure makedepends="libressl-devel" @@ -9,7 +9,7 @@ maintainer="Juan RP " homepage="http://libbsd.freedesktop.org/" license="BSD" distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz" -checksum=467fbf9df1f49af11f7f686691057c8c0a7613ae5a870577bef9155de39f9687 +checksum=f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31 post_install() { vlicense COPYING