summaryrefslogtreecommitdiff
path: root/network/torsocks/torsocks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/torsocks/torsocks.SlackBuild')
-rw-r--r--network/torsocks/torsocks.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/torsocks/torsocks.SlackBuild b/network/torsocks/torsocks.SlackBuild
index 2255db54ce..3f34263f13 100644
--- a/network/torsocks/torsocks.SlackBuild
+++ b/network/torsocks/torsocks.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=torsocks
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,6 +53,8 @@ find -L . \
# Fix a hardcoded lib path.
sed -i -e 's|@prefix@/lib|@libdir@|' src/Makefile.in
+sed -i -e 's|@prefix@/lib|@libdir@|' src/torsocks.in
+patch -p0 < $CWD/symbol_lookup.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \