From 73689aa596956939ae6e60c012d1b0c249ffc66a Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 19 Oct 2021 14:50:53 +0000 Subject: [PATCH] KASM-786 fix xorg patch bug --- builder/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/builder/build.sh b/builder/build.sh index 772608d..d3627ad 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -37,9 +37,10 @@ tar -C unix/xserver -xf /tmp/xorg-server-${XORG_VER}.tar.bz2 --strip-components= cd unix/xserver patch -Np1 -i ../xserver${XORG_PATCH}.patch -if [[ $XORG_VER =~ ^1\.20\..*$ ]]; then - patch -Np1 -i ../xserver120.7.patch -fi +case "$XORG_VER" in + echo "PATCHING XORG WITH 120.7" + 1.20.*) patch -Np1 -i ../xserver120.7.patch ;; +esac autoreconf -i # Configuring Xorg is long and has many distro-specific paths.