summaryrefslogtreecommitdiffstats
path: root/network/torsocks/torsocks.SlackBuild
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2014-01-13 22:14:24 -0500
committer dsomero <xgizzmo@slackbuilds.org>2014-01-13 22:43:03 -0500
commit6e90b14cc15690e24f35117b35649be1989144fc (patch)
tree9f459b7133b03dd11c9655875dd52e947a0138aa /network/torsocks/torsocks.SlackBuild
parent6e6831c724fbdf9e7980da9af9defc940a626168 (diff)
downloadslackbuilds-6e90b14cc15690e24f35117b35649be1989144fc.tar.gz
slackbuilds-6e90b14cc15690e24f35117b35649be1989144fc.tar.xz
network/torsocks: Fix lib path in torsocks.
Added a patch to fix a symbol warning. Thanks to crumb on irc for the report. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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" \