aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-06 21:41:59 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-06 21:41:59 +0000
commit882cd8de0927342055aa26771812ec961eb73cd8 (patch)
treee5873749dc762761b35f7a13906dd50e0e03c307 /net
parent69133984246bd2931e6c9d2ef9bc5abfceea3bb5 (diff)
downloadslackbuilds-882cd8de0927342055aa26771812ec961eb73cd8.tar.gz
slackbuilds-882cd8de0927342055aa26771812ec961eb73cd8.tar.bz2
tsocks: added a x86_64 patch
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@909 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net')
-rw-r--r--net/proxy/tsocks/tsocks-1.8pre5-x86_64.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/net/proxy/tsocks/tsocks-1.8pre5-x86_64.diff b/net/proxy/tsocks/tsocks-1.8pre5-x86_64.diff
new file mode 100644
index 00000000..53b86afe
--- /dev/null
+++ b/net/proxy/tsocks/tsocks-1.8pre5-x86_64.diff
@@ -0,0 +1,36 @@
+diff -Naur tsocks-1.8.orig/tsocks tsocks-1.8/tsocks
+--- tsocks-1.8.orig/tsocks 2002-03-16 07:27:18.000000000 -0300
++++ tsocks-1.8/tsocks 2006-12-06 19:33:31.000000000 -0200
+@@ -46,14 +46,14 @@
+ on)
+ if [ -z "$LD_PRELOAD" ]
+ then
+- export LD_PRELOAD="/usr/lib/libtsocks.so"
++ export LD_PRELOAD="/usr/lib64/libtsocks.so"
+ else
+- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
+- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
++ echo $LD_PRELOAD | grep -q "/usr/lib64/libtsocks\.so" || \
++ export LD_PRELOAD="/usr/lib64/libtsocks.so $LD_PRELOAD"
+ fi
+ ;;
+ off)
+- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'`
++ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib64\/libtsocks.so \?//'`
+ if [ -z "$LD_PRELOAD" ]
+ then
+ unset LD_PRELOAD
+@@ -68,10 +68,10 @@
+ *)
+ if [ -z "$LD_PRELOAD" ]
+ then
+- export LD_PRELOAD="/usr/lib/libtsocks.so"
++ export LD_PRELOAD="/usr/lib64/libtsocks.so"
+ else
+- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
+- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
++ echo $LD_PRELOAD | grep -q "/usr/lib64/libtsocks\.so" || \
++ export LD_PRELOAD="/usr/lib64/libtsocks.so $LD_PRELOAD"
+ fi
+
+ if [ $# = 0 ]