libnetfilter_conntrack: fix musl.

This commit is contained in:
Enno Boland 2015-08-17 23:59:53 +02:00
parent 472fa043c9
commit ce25d5fc11

View file

@ -1,7 +1,7 @@
# Template file for 'libnetfilter_conntrack'
pkgname=libnetfilter_conntrack
version=1.0.4
revision=1
revision=2
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
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"
checksum=d9ec4a3caf49417f2b0a2d8d44249133e8c3ec78c757b7eb8c273f1cb6929c7d
pre_configure() {
sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' $(find -name '*.[ch]')
}
libnetfilter_conntrack-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libnfnetlink-devel"