From f9e1895f8c487a22b58b5015fc4db2d72610b600 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 16 Jul 2017 08:55:21 +0200 Subject: [PATCH] faad2: unbreak musl builds. --- srcpkgs/faad2/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/faad2/template b/srcpkgs/faad2/template index a37cd413a16..63c3c43986a 100644 --- a/srcpkgs/faad2/template +++ b/srcpkgs/faad2/template @@ -12,6 +12,9 @@ distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2" checksum=4167727d69f7c8d8e4e87ceec3c9eb0a4e5e1a5187e96ab66b2b7250b871cd9e pre_configure() { + case "$XBPS_TARGET_MACHINE" in + *-musl) export CFLAGS+=" -D__GNU_LIBRARY__";; + esac ./bootstrap } post_install() {