summaryrefslogtreecommitdiff
path: root/network/leafnode/leafnode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/leafnode/leafnode.SlackBuild')
-rw-r--r--network/leafnode/leafnode.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/leafnode/leafnode.SlackBuild b/network/leafnode/leafnode.SlackBuild
index 720e91c334..d485cba99e 100644
--- a/network/leafnode/leafnode.SlackBuild
+++ b/network/leafnode/leafnode.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=leafnode
VERSION=2.0.0.alpha20081229a
-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,7 +69,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix compiler error with recent gcc:
patch -p1 < $CWD/sizeof_fix.diff
+# Fix memory leak with applyfilter:
+patch -p1 < $CWD/applyfilter_plugleak.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \