summaryrefslogtreecommitdiffstats
path: root/source/a/less/less.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/less/less.SlackBuild')
-rwxr-xr-xsource/a/less/less.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/a/less/less.SlackBuild b/source/a/less/less.SlackBuild
index 1ea2e2077..b4ea88c72 100755
--- a/source/a/less/less.SlackBuild
+++ b/source/a/less/less.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=less
VERSION=${VERSION:-$(echo less-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -85,6 +85,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# newline in filenames patch for CVE-2024-32487:
+cat $CWD/007521ac3c95bc76.patch | patch -p1 --verbose || exit 1
+
if [ ! -r configure ]; then
if [ -x ./autogen.sh ]; then
NOCONFIGURE=1 ./autogen.sh