diff options
Diffstat (limited to 'source')
-rwxr-xr-x | source/ap/dash/dash.SlackBuild | 2 | ||||
-rwxr-xr-x | source/ap/vim/vim-gvim.SlackBuild | 2 | ||||
-rwxr-xr-x | source/ap/vim/vim.SlackBuild | 2 | ||||
-rwxr-xr-x | source/d/parallel/parallel.SlackBuild | 2 | ||||
-rwxr-xr-x | source/l/mozjs78/mozjs78.SlackBuild | 2 | ||||
-rw-r--r-- | source/n/rsync.nolchmod.diff | 21 | ||||
-rwxr-xr-x | source/n/rsync/rsync.SlackBuild | 4 | ||||
-rw-r--r-- | source/n/rsync/rsync.no_lchmod.diff | 21 | ||||
-rwxr-xr-x | source/x/ibus-anthy/ibus-anthy.SlackBuild | 2 | ||||
-rwxr-xr-x | source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild | 2 |
10 files changed, 52 insertions, 8 deletions
diff --git a/source/ap/dash/dash.SlackBuild b/source/ap/dash/dash.SlackBuild index 172c098c..62af6dcf 100755 --- a/source/ap/dash/dash.SlackBuild +++ b/source/ap/dash/dash.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=dash VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/ap/vim/vim-gvim.SlackBuild b/source/ap/vim/vim-gvim.SlackBuild index 8bf37ef7..8091411e 100755 --- a/source/ap/vim/vim-gvim.SlackBuild +++ b/source/ap/vim/vim-gvim.SlackBuild @@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=vim-gvim VIMBRANCH=8.2 VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/ap/vim/vim.SlackBuild b/source/ap/vim/vim.SlackBuild index 3737748c..1ef6744b 100755 --- a/source/ap/vim/vim.SlackBuild +++ b/source/ap/vim/vim.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=vim VIMBRANCH=8.2 CTAGSVER=5.8 -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} if [ -r vim-${VIMBRANCH}*.tar.?z ]; then # if there's a source archive already, use the version number from it: VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) diff --git a/source/d/parallel/parallel.SlackBuild b/source/d/parallel/parallel.SlackBuild index cdfd03a4..7bb6863e 100755 --- a/source/d/parallel/parallel.SlackBuild +++ b/source/d/parallel/parallel.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=parallel VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/mozjs78/mozjs78.SlackBuild b/source/l/mozjs78/mozjs78.SlackBuild index 3dc8304f..26d0a5fc 100755 --- a/source/l/mozjs78/mozjs78.SlackBuild +++ b/source/l/mozjs78/mozjs78.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mozjs78 SRCNAME=firefox VERSION=$(basename $(ls $SRCNAME-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source) -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/n/rsync.nolchmod.diff b/source/n/rsync.nolchmod.diff new file mode 100644 index 00000000..9fc90dd3 --- /dev/null +++ b/source/n/rsync.nolchmod.diff @@ -0,0 +1,21 @@ +--- ./rsync-3.2.3/syscall.c.orig 2020-07-27 18:36:55.000000000 -0500 ++++ ./rsync-3.2.3/syscall.c 2021-02-22 14:28:02.306029758 -0600 +@@ -232,7 +232,8 @@ + RETURN_ERROR_IF_RO_OR_LO; + #ifdef HAVE_LCHMOD + code = lchmod(path, mode & CHMOD_BITS); +-#else ++ if (code < 0 && errno == ENOTSUP) { ++#endif + if (S_ISLNK(mode)) { + # if defined HAVE_SETATTRLIST + struct attrlist attrList; +@@ -247,6 +248,8 @@ + # endif + } else + code = chmod(path, mode & CHMOD_BITS); /* DISCOURAGED FUNCTION */ ++#ifdef HAVE_LCHMOD ++ } + #endif /* !HAVE_LCHMOD */ + if (code != 0 && (preserve_perms || preserve_executability)) + return code; diff --git a/source/n/rsync/rsync.SlackBuild b/source/n/rsync/rsync.SlackBuild index ab36eed7..07fbb1a8 100755 --- a/source/n/rsync/rsync.SlackBuild +++ b/source/n/rsync/rsync.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=rsync VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -66,6 +66,8 @@ rm -rf rsync-$VERSION tar xvf $CWD/rsync-$VERSION.tar.?z || exit 1 cd rsync-$VERSION || exit 1 +zcat $CWD/rsync.no_lchmod.diff.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/source/n/rsync/rsync.no_lchmod.diff b/source/n/rsync/rsync.no_lchmod.diff new file mode 100644 index 00000000..7d7d33bf --- /dev/null +++ b/source/n/rsync/rsync.no_lchmod.diff @@ -0,0 +1,21 @@ +--- ./syscall.c.orig 2021-02-22 14:30:03.639032473 -0600 ++++ ./syscall.c 2021-02-22 14:30:07.490032559 -0600 +@@ -232,7 +232,8 @@ + RETURN_ERROR_IF_RO_OR_LO; + #ifdef HAVE_LCHMOD + code = lchmod(path, mode & CHMOD_BITS); +-#else ++ if (code < 0 && errno == ENOTSUP) { ++#endif + if (S_ISLNK(mode)) { + # if defined HAVE_SETATTRLIST + struct attrlist attrList; +@@ -247,6 +248,8 @@ + # endif + } else + code = chmod(path, mode & CHMOD_BITS); /* DISCOURAGED FUNCTION */ ++#ifdef HAVE_LCHMOD ++ } + #endif /* !HAVE_LCHMOD */ + if (code != 0 && (preserve_perms || preserve_executability)) + return code; diff --git a/source/x/ibus-anthy/ibus-anthy.SlackBuild b/source/x/ibus-anthy/ibus-anthy.SlackBuild index 4654ae46..a414c40e 100755 --- a/source/x/ibus-anthy/ibus-anthy.SlackBuild +++ b/source/x/ibus-anthy/ibus-anthy.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ibus-anthy VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild b/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild index 83ee611a..47ac305c 100755 --- a/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild +++ b/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xfce4-panel-profiles VERSION=${VERSION:-$(echo xfce4-panel-profiles-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then |