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
2 changed files with 17 additions and 25 deletions
|
@ -1,22 +1,14 @@
|
||||||
--- include/bsd/string.h 2017-08-05 13:20:54.000000000 +0200
|
Source: maxice8
|
||||||
+++ include/bsd/string.h 2018-02-24 12:07:30.705680366 +0100
|
Upstream: no
|
||||||
@@ -42,7 +42,7 @@
|
Reason: fixes compilation
|
||||||
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)
|
--- src/flopen.c
|
||||||
+#if defined(_GNU_SOURCE)
|
+++ src/flopen.c
|
||||||
void explicit_bzero(void *buf, size_t len);
|
@@ -34,6 +34,7 @@
|
||||||
#endif
|
#include <errno.h>
|
||||||
__END_DECLS
|
#include <stdarg.h>
|
||||||
--- include/bsd/stdlib.h 2017-08-05 13:20:00.000000000 +0200
|
#include <unistd.h>
|
||||||
+++ include/bsd/stdlib.h 2018-02-24 12:09:25.072688523 +0100
|
+#include <fcntl.h>
|
||||||
@@ -67,7 +67,7 @@
|
|
||||||
const unsigned char *table, unsigned endbyte);
|
|
||||||
|
|
||||||
void *reallocf(void *ptr, size_t size);
|
#include <libutil.h>
|
||||||
-#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
|
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'libbsd'
|
# Template file for 'libbsd'
|
||||||
pkgname=libbsd
|
pkgname=libbsd
|
||||||
version=0.8.7
|
version=0.9.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
short_desc="Provides useful functions commonly found on BSD system"
|
short_desc="Provides useful functions commonly found on BSD system"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://libbsd.freedesktop.org/"
|
license="BSD-3-Clause"
|
||||||
license="BSD"
|
homepage="https://libbsd.freedesktop.org/"
|
||||||
distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
|
distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
|
||||||
checksum=f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31
|
checksum=56d835742327d69faccd16955a60b6dcf30684a8da518c4eca0ac713b9e0a7a4
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue