From b636da69bf08370e23c2cea9b7527553083365e8 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 22 May 2018 09:43:39 -0300 Subject: [PATCH] libbsd: update to 0.9.1. Closes #14632. Signed-off-by: Enno Boland --- srcpkgs/libbsd/patches/musl.patch | 32 ++++++++++++------------------- srcpkgs/libbsd/template | 10 +++++----- 2 files changed, 17 insertions(+), 25 deletions(-) diff --git a/srcpkgs/libbsd/patches/musl.patch b/srcpkgs/libbsd/patches/musl.patch index f6436c0f706..a82343d83d1 100644 --- a/srcpkgs/libbsd/patches/musl.patch +++ b/srcpkgs/libbsd/patches/musl.patch @@ -1,22 +1,14 @@ ---- 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); +Source: maxice8 +Upstream: no +Reason: fixes compilation + +--- src/flopen.c ++++ src/flopen.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include --#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 + #include diff --git a/srcpkgs/libbsd/template b/srcpkgs/libbsd/template index 9045c7b3f56..c7069f8abfe 100644 --- a/srcpkgs/libbsd/template +++ b/srcpkgs/libbsd/template @@ -1,15 +1,15 @@ # Template file for 'libbsd' pkgname=libbsd -version=0.8.7 +version=0.9.1 revision=1 build_style=gnu-configure makedepends="libressl-devel" short_desc="Provides useful functions commonly found on BSD system" maintainer="Juan RP " -homepage="http://libbsd.freedesktop.org/" -license="BSD" -distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz" -checksum=f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31 +license="BSD-3-Clause" +homepage="https://libbsd.freedesktop.org/" +distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz" +checksum=56d835742327d69faccd16955a60b6dcf30684a8da518c4eca0ac713b9e0a7a4 post_install() { vlicense COPYING