summaryrefslogtreecommitdiff
path: root/source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild')
-rwxr-xr-xsource/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild b/source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild
index 71f74253..698e0671 100755
--- a/source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild
+++ b/source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild
@@ -46,7 +46,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-dvd+rw-tools
@@ -66,6 +66,7 @@ find . \
-exec chmod 644 {} \;
zcat $CWD/dvd+rw-tools.limits.h.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/dvd+rw-tools.glibc228.diff.gz | patch -p1 --verbose || exit 1
make $NUMJOBS || make || exit 1