libbsd: update to 0.11.3.
This commit is contained in:
parent
ea2d8e647a
commit
db65cc2f58
2 changed files with 21 additions and 2 deletions
18
srcpkgs/libbsd/patches/tests-musl.patch
Normal file
18
srcpkgs/libbsd/patches/tests-musl.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- test/fpurge.c
|
||||
+++ test/fpurge.c
|
||||
@@ -29,15 +29,11 @@
|
||||
int
|
||||
main()
|
||||
{
|
||||
- static FILE fp_bad;
|
||||
FILE *fp;
|
||||
|
||||
if (fpurge(NULL) == 0)
|
||||
return 1;
|
||||
|
||||
- if (fpurge(&fp_bad) == 0)
|
||||
- return 1;
|
||||
-
|
||||
fp = fopen("/dev/zero", "r");
|
||||
if (fpurge(fp) < 0)
|
||||
return 1;
|
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'libbsd'
|
||||
pkgname=libbsd
|
||||
version=0.10.0
|
||||
version=0.11.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
makedepends="libmd-devel"
|
||||
short_desc="Provides useful functions commonly found on BSD system"
|
||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||
license="ISC, MIT, Beerware, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause"
|
||||
homepage="https://libbsd.freedesktop.org/"
|
||||
distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
|
||||
checksum=34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887
|
||||
checksum=ff95cf8184151dacae4247832f8d4ea8800fa127dbd15033ecfe839f285b42a1
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
|
Loading…
Reference in a new issue