From 24d5a76e7978e6d8ed03031861dadb4674aa6fc6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Sep 2014 18:10:51 +0200 Subject: [PATCH] qemu: workaround glibc's sys/xattr.h kludge. --- srcpkgs/qemu/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 0db53425982..abe9af2f8f8 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -31,6 +31,9 @@ do_configure() { sed -e 's,-rpath /usr/local/lib,,g' -i configure + # XXX remove this when kernel headers are updated to 3.16. + export CFLAGS+=" -D_LINUX_XATTR_H" + if [ "$CROSS_BUILD" ]; then args+=" --cross-prefix=${XBPS_CROSS_TRIPLET}-" export PKG_CONFIG=pkg-config