libbsd: update to 0.9.1.
Closes #14632. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
44bbfbbb24
commit
b636da69bf
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue