From 0ec2388f34404e31e68b3e2fc325cc4f4ba8196e Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 13 May 2015 20:06:43 +0200 Subject: [PATCH] nftables: set _GNU_SOURCE where needed. --- srcpkgs/nftables/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/nftables/template b/srcpkgs/nftables/template index b6eeec706f..8ec296fd8d 100644 --- a/srcpkgs/nftables/template +++ b/srcpkgs/nftables/template @@ -1,7 +1,7 @@ # Template file for 'nftables' pkgname=nftables version=0.4 -revision=2 +revision=3 build_style=gnu-configure configure_args="--sbindir=/usr/bin CONFIG_MAN=y DB2MAN=docbook2man" hostmakedepends="pkg-config docbook2x flex bison" @@ -13,6 +13,9 @@ homepage="http://netfilter.org/projects/nftables/" distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2" checksum=f6ca69b75c68915f9f3a3972274ec68354dfbbcfc0b9fc55c813a0525c351d3c +post_extract() { + sed -i '1i#include "config.h"' src/proto.c +} post_install() { vsv $pkgname }