added upstream patch for menu-cache and modified lxqt.SlackBuild to incorporate it.
[lxqt-slackware.git] / lxqt.SlackBuild
index 7921829..3a48007 100755 (executable)
@@ -119,7 +119,7 @@ fix_perms
 
 # If any patches are needed, call this script to apply them:
 if [ -r $CWD/patch/${PROGRAM}.patch ]; then
-  . $CWD/patch/${PROGRAM}.patch || exit 1
+  patch -p1 < ${PROGRAM}.patch || exit 1
 fi
 
 # Check autotools builds before continuing with cmake programs