summaryrefslogtreecommitdiffstats
path: root/source/l/zlib/zlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/zlib/zlib.SlackBuild')
-rwxr-xr-xsource/l/zlib/zlib.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/l/zlib/zlib.SlackBuild b/source/l/zlib/zlib.SlackBuild
index a7417d991..a33375835 100755
--- a/source/l/zlib/zlib.SlackBuild
+++ b/source/l/zlib/zlib.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=zlib
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | 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
@@ -69,6 +69,8 @@ rm -rf zlib-$VERSION
tar xvf $CWD/zlib-$VERSION.tar.xz || exit 1
cd zlib-$VERSION || exit 1
+cat $CWD/ec3df00224d4b396e2ac6586ab5d25f673caa4c2.patch | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \