From 6dc79cf762174d4201b38a1edef367c3cac02009 Mon Sep 17 00:00:00 2001 From: jbu Date: Tue, 21 Jul 2015 03:11:48 +0200 Subject: [PATCH] libnfnetlink: unbreak musl --- srcpkgs/libnfnetlink/template | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/srcpkgs/libnfnetlink/template b/srcpkgs/libnfnetlink/template index ff065b6932..518dd28fdd 100644 --- a/srcpkgs/libnfnetlink/template +++ b/srcpkgs/libnfnetlink/template @@ -1,21 +1,25 @@ # Template file for 'libnfnetlink' pkgname=libnfnetlink version=1.0.1 -revision=1 +revision=2 build_style=gnu-configure maintainer="Dominik Honnef " license="GPL-2" homepage="http://www.netfilter.org/projects/libnfnetlink/index.html" -short_desc="A low-level library for netfilter related kernel/userspace communication" +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 -libnfnetlink-devel_package() { - depends="${sourcepkg}>=${version}_${revision}" - short_desc+=" -- development files" - pkg_install() { - vmove usr/include - vmove "usr/lib/*.so" - vmove usr/lib/pkgconfig - } +post_configure() { + find ${wrksrc} -type f -exec sed -e "s;u_int;uint;g" -i "{}" \; +} + +libnfnetlink-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } }