zsync: fix musl build
This commit is contained in:
parent
71093e24ab
commit
9a3a80cea1
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zsync'
|
# Template file for 'zsync'
|
||||||
pkgname=zsync
|
pkgname=zsync
|
||||||
version=0.6.2
|
version=0.6.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Client-side implementation of the rsync algorithm"
|
short_desc="Client-side implementation of the rsync algorithm"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -9,3 +9,8 @@ license="Artistic"
|
||||||
homepage="http://zsync.moria.org.uk/"
|
homepage="http://zsync.moria.org.uk/"
|
||||||
distfiles="http://zsync.moria.org.uk/download/zsync-$version.tar.bz2"
|
distfiles="http://zsync.moria.org.uk/download/zsync-$version.tar.bz2"
|
||||||
checksum=0b9d53433387aa4f04634a6c63a5efa8203070f2298af72a705f9be3dda65af2
|
checksum=0b9d53433387aa4f04634a6c63a5efa8203070f2298af72a705f9be3dda65af2
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i "11a#include <sys/types.h>" libzsync/sha1.h
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue