libbsd: fix for musl.
This commit is contained in:
parent
95cc60d666
commit
686e472403
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libbsd'
|
||||
pkgname=libbsd
|
||||
version=0.7.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
short_desc="Provides useful functions commonly found on BSD system"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -10,6 +10,11 @@ license="BSD"
|
|||
distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
|
||||
checksum=0f3b0e17e5c34c038126e0a04351b11e23c6101a7d0ce3beeab29bb6415c10bb
|
||||
|
||||
post_extract() {
|
||||
sed -i '1i#include <fcntl.h>' src/flopen.c src/nlist.c
|
||||
sed -i '/#error/d' src/funopen.c
|
||||
sed -i 's,<a.out.h>,<linux/a.out.h>,g' src/nlist.c
|
||||
}
|
||||
libbsd-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue