From 5a8c51142e6e89aff3da97eb9bdad06f11fd87c4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 14 May 2015 08:00:46 +0200 Subject: [PATCH] xorg-server: compile with _GNU_SOURCE on musl. --- srcpkgs/xorg-server/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template index 0f455bf4402..9509d72216b 100644 --- a/srcpkgs/xorg-server/template +++ b/srcpkgs/xorg-server/template @@ -1,7 +1,7 @@ # Template build file for 'xorg-server'. pkgname=xorg-server version=1.17.1 -revision=8 +revision=9 build_pie=yes build_style=gnu-configure configure_args="--enable-ipv6 --enable-xcsecurity --enable-record @@ -63,7 +63,7 @@ conf_files="/etc/X11/Xwrapper.config" pre_configure() { case "$XBPS_TARGET_MACHINE" in *-musl) - export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t" + export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t -D_GNU_SOURCE" sed -i -e 's/termio.h/termios.h/' hw/xfree86/os-support/xf86_OSlib.h ;; esac