libnetfilter_conntrack: fix musl.
This commit is contained in:
parent
472fa043c9
commit
ce25d5fc11
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libnetfilter_conntrack'
|
# Template file for 'libnetfilter_conntrack'
|
||||||
pkgname=libnetfilter_conntrack
|
pkgname=libnetfilter_conntrack
|
||||||
version=1.0.4
|
version=1.0.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -12,6 +12,9 @@ short_desc="A userspace library providing an API to the in-kernel connection tra
|
||||||
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=d9ec4a3caf49417f2b0a2d8d44249133e8c3ec78c757b7eb8c273f1cb6929c7d
|
checksum=d9ec4a3caf49417f2b0a2d8d44249133e8c3ec78c757b7eb8c273f1cb6929c7d
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' $(find -name '*.[ch]')
|
||||||
|
}
|
||||||
|
|
||||||
libnetfilter_conntrack-devel_package() {
|
libnetfilter_conntrack-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} libnfnetlink-devel"
|
depends="${sourcepkg}>=${version}_${revision} libnfnetlink-devel"
|
||||||
|
|
Loading…
Reference in a new issue