fix xtrans includes

This commit is contained in:
Max Howell 2023-03-15 18:25:00 -04:00
parent b6008b4c24
commit 6bd9b7d246
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -15,13 +15,17 @@ build:
x.org/util-macros: '*' x.org/util-macros: '*'
freedesktop.org/pkg-config: ~0.29 freedesktop.org/pkg-config: ~0.29
script: | script: |
# otherwise X11 fails to build on all platforms we support at least lol
sed -i.bak 's|# include <sys/stropts.h>|# include <sys/ioctl.h>|g' Xtranslcl.c
./configure \ ./configure \
--prefix="{{prefix}}" \ --prefix="{{prefix}}" \
--sysconfdir="$SHELF"/etc \ --sysconfdir="$SHELF"/etc \
--localstatedir="$SHELF"/var \ --localstatedir="$SHELF"/var \
--disable-debug \ --disable-debug \
--enable-docs=no --enable-docs=no
make --jobs {{ hw.concurrency }} install make
make install
env: env:
SHELF: ${{tea.prefix}}/x.org SHELF: ${{tea.prefix}}/x.org