From c187913a160ad89d2864ee193f25b67a5424fec6 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 6 Jun 2015 18:18:43 +0200 Subject: [PATCH] libseccomp: fix musl build. --- srcpkgs/libseccomp/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libseccomp/template b/srcpkgs/libseccomp/template index 8771fc6904..3384524164 100644 --- a/srcpkgs/libseccomp/template +++ b/srcpkgs/libseccomp/template @@ -1,7 +1,7 @@ # Template file for 'libseccomp' pkgname=libseccomp version=2.2.1 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="which automake libtool" short_desc="High level interface to the Linux Kernel's seccomp filter" @@ -11,6 +11,11 @@ license="LGPL-2.1" distfiles="https://github.com/seccomp/${pkgname}/archive/v${version}.tar.gz" checksum=040251870324b37bdeb2448cd8a54d677fd813104028b37dc4e591e6cf3ecf27 +post_extract() { + case "$XBPS_TARGET_MACHINE" in + *-musl) sed -i '//d' src/system.h;; + esac +} pre_configure() { ./autogen.sh }