diff options
Diffstat (limited to 'source/ap/dvd+rw-tools')
-rwxr-xr-x | source/ap/dvd+rw-tools/dvd+rw-tools.SlackBuild | 3 | ||||
-rw-r--r-- | source/ap/dvd+rw-tools/dvd+rw-tools.glibc228.diff | 10 |
2 files changed, 12 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 diff --git a/source/ap/dvd+rw-tools/dvd+rw-tools.glibc228.diff b/source/ap/dvd+rw-tools/dvd+rw-tools.glibc228.diff new file mode 100644 index 00000000..d9d5d325 --- /dev/null +++ b/source/ap/dvd+rw-tools/dvd+rw-tools.glibc228.diff @@ -0,0 +1,10 @@ +--- ./growisofs.c.orig 2008-03-04 03:15:03.000000000 -0600 ++++ ./growisofs.c 2018-09-18 18:45:29.640059861 -0500 +@@ -441,6 +441,7 @@ + #include <fcntl.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <assert.h> + #include "mp.h" + |