summaryrefslogtreecommitdiffstats
path: root/network/leafnode/leafnode.SlackBuild
diff options
context:
space:
mode:
author Andrew Strong <andrew.david.45@gmail.com>2010-12-26 12:02:19 -0600
committer Niels Horn <niels.horn@slackbuilds.org>2010-12-27 20:06:57 -0200
commitef09447e36f282203a14900c2c303d7a343ba726 (patch)
tree62e20d192199092f0decc660b0e4436560ac3df1 /network/leafnode/leafnode.SlackBuild
parent215bf2d1f7aed56bfa205c864cec738ef371d899 (diff)
downloadslackbuilds-ef09447e36f282203a14900c2c303d7a343ba726.tar.gz
slackbuilds-ef09447e36f282203a14900c2c303d7a343ba726.tar.xz
network/leafnode: Fix memory leak with applyfilter
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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" \