mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
parent
d1e2f193f9
commit
6304e34d29
2 changed files with 24 additions and 2 deletions
22
srcpkgs/libbsd/patches/musl.patch
Normal file
22
srcpkgs/libbsd/patches/musl.patch
Normal file
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libbsd'
|
# Template file for 'libbsd'
|
||||||
pkgname=libbsd
|
pkgname=libbsd
|
||||||
version=0.8.6
|
version=0.8.7
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://libbsd.freedesktop.org/"
|
homepage="http://libbsd.freedesktop.org/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
|
distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
|
||||||
checksum=467fbf9df1f49af11f7f686691057c8c0a7613ae5a870577bef9155de39f9687
|
checksum=f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue