libbsd: update to 0.9.1.

Closes #14632.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-22 09:43:39 -03:00 committed by Enno Boland
parent 44bbfbbb24
commit b636da69bf
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 17 additions and 25 deletions

View File

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

View File

@ -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 <xtraeme@voidlinux.eu>"
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