From 05cb3b4eae57cf9c5bf82b3a903358f59b2690b8 Mon Sep 17 00:00:00 2001 From: jbu Date: Sun, 2 Aug 2015 17:45:38 +0200 Subject: [PATCH] libnfnetlink: Always include stdint.h types --- srcpkgs/libnfnetlink/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libnfnetlink/template b/srcpkgs/libnfnetlink/template index 518dd28fdd5..0e94f0a40f6 100644 --- a/srcpkgs/libnfnetlink/template +++ b/srcpkgs/libnfnetlink/template @@ -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 " 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 /i #include " \ + -i ${wrksrc}/include/libnfnetlink/libnfnetlink.h find ${wrksrc} -type f -exec sed -e "s;u_int;uint;g" -i "{}" \; }