tce-load -i compiletc meson mesa-dev libEGL-dev libGLES-dev pixman-dev libepoxy-dev libxcvt-dev font-util xwayland libxkbfile-dev libXfont2-dev openssl-dev xkbcomp wget https://www.x.org/pub/individual/xserver/xorg-server-21.1.13.tar.xz cd xorg-server-21.1.13 patch -Np1 -i ../945.diff [manually apply next to last hunk] mkdir build cd build CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti -fcommon" meson --prefix=/usr/local --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --localstatedir=/var --buildtype=plain -Dsuid_wrapper=true -Dxkb_output_dir=/var/lib/xkb -Ddefault_font_path=/usr/local/lib/X11/fonts/misc,/usr/local/lib/X11/fonts/TTF,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1,/usr/local/lib/X11/fonts/100pdi,/usr/local/lib/X11/fonts/75dpi -Dsha1=libcrypto -Dsecure-rpc=false -Dlog_dir=/var/log -Dsystemd_logind=false -Dglamor=true -Dxkb_output_dir=/var/lib/xkb ../ find . -name build.ninja -type f -exec sed -i 's/-Werror=array-bounds//g' {} \; ninja [6m 28.00s] sudo ninja install mkdir -pv /etc/X11/xorg.conf.d && cat >> /etc/sysconfig/createfiles << "EOF" /tmp/.ICE-unix dir 1777 root root /tmp/.X11-unix dir 1777 root root EOF xserver 21.1.13 User defined options buildtype : plain libexecdir : /usr/local/lib/xorg localstatedir : /var prefix : /usr/local sysconfdir : /etc default_font_path: /usr/local/lib/X11/fonts/misc,/usr/local/lib/X11/fonts/TTF,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1,/usr/local/lib/X11/fonts/100pdi,/usr/local/lib/X11/fonts/75dpi glamor : true log_dir : /var/log secure-rpc : false sha1 : libcrypto suid_wrapper : true systemd_logind : false xkb_output_dir : /var/lib/xkb