xorg-server: compile with _GNU_SOURCE on musl.
This commit is contained in:
parent
b4adbcacfb
commit
5a8c51142e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue