libnfnetlink: Always include stdint.h types

This commit is contained in:
jbu 2015-08-02 17:45:38 +02:00
parent c468027da4
commit 05cb3b4eae
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libnfnetlink'
pkgname=libnfnetlink
version=1.0.1
revision=2
revision=3
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
license="GPL-2"
@ -10,7 +10,9 @@ short_desc="A low-level library for netfilter kernel/userspace communication"
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
checksum=f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a
post_configure() {
pre_configure() {
sed -e "/#include <linux\/netlink.h>/i #include <stdint.h>" \
-i ${wrksrc}/include/libnfnetlink/libnfnetlink.h
find ${wrksrc} -type f -exec sed -e "s;u_int;uint;g" -i "{}" \;
}