clens: unbreak musl builds.
This commit is contained in:
parent
7086016144
commit
b1e3c768b7
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'clens'
|
||||
pkgname=clens
|
||||
version=0.7.0
|
||||
revision=1
|
||||
revision=2
|
||||
makedepends="libbsd-devel"
|
||||
short_desc="Convenience library to aid in porting code from OpenBSD"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -11,6 +11,8 @@ distfiles="https://opensource.conformal.com/snapshots/clens/clens-${version}.tar
|
|||
checksum=064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267
|
||||
|
||||
do_build() {
|
||||
sed -i 's,-Werror,,g' GNUmakefile
|
||||
sed -i 's,u_char,unsigned char,g;s,u_int32_t,uint32_t,g;s,u_int,unsigned int,g;s,u_short,unsigned short,g' src/*.[ch]
|
||||
mkdir -p obj
|
||||
make ${makejobs} CC=$CC LOCALBASE=/usr
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue