aboutsummaryrefslogtreecommitdiff
path: root/libraries/libproxy/libproxy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libproxy/libproxy.SlackBuild')
-rw-r--r--libraries/libproxy/libproxy.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/libproxy/libproxy.SlackBuild b/libraries/libproxy/libproxy.SlackBuild
index 5892efaafff95..b2f4b56ac3aa1 100644
--- a/libraries/libproxy/libproxy.SlackBuild
+++ b/libraries/libproxy/libproxy.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=libproxy
VERSION=${VERSION:-0.4.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,10 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# http://code.google.com/p/libproxy/source/detail?r=786
-patch -p0 < $CWD/libproxy-mozjs2.patch
-# http://code.google.com/p/libproxy/source/detail?r=774
-patch -p1 < $CWD/mozjs-link_directory.patch
+# http://code.google.com/p/libproxy/source/detail?r=797
+# This patch brings the 4.6 (r753) code up to r797.
+patch -p0 < $CWD/4.6-r797.patch
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \