summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtigervnc/build/tigervnc.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/tigervnc/build/tigervnc.SlackBuild b/tigervnc/build/tigervnc.SlackBuild
index 07d83d42..921fb923 100755
--- a/tigervnc/build/tigervnc.SlackBuild
+++ b/tigervnc/build/tigervnc.SlackBuild
@@ -230,7 +230,7 @@ rm -rf unix/xserver/hw
mv ../xorg-server-${XORG}/* unix/xserver/
# Do we have a patch for X.Org which tigervnc does not have?
-if [ ! -f unix/xserver${PATCHVER}.patch -a -f $SRCDIR/xserver${PATCHVER}.patch ]
+if [ ! -f unix/xserver${PATCHVER}.patch -a -f $SRCDIR/tigervnc$(echo $VERSION | cut -f1,2 -d. --output-delimiter=)-xorg${PATCHVER}.patch ]
then
cp $SRCDIR/xserver${PATCHVER}.patch unix/
fi