summaryrefslogtreecommitdiffstats
path: root/source/a/udisks/udisks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/udisks/udisks.SlackBuild')
-rwxr-xr-xsource/a/udisks/udisks.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/a/udisks/udisks.SlackBuild b/source/a/udisks/udisks.SlackBuild
index 52bb13fb4..af3e6ecdc 100755
--- a/source/a/udisks/udisks.SlackBuild
+++ b/source/a/udisks/udisks.SlackBuild
@@ -30,7 +30,7 @@ PKGNAM=udisks
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-4}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
@@ -91,6 +91,7 @@ find . \
-exec chmod 644 {} \;
zcat $CWD/udisks.no.pci-db.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/udisks.glibc228.diff.gz | patch -p1 --verbose || exit 1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \