aboutsummaryrefslogtreecommitdiff
path: root/net/proxy/tsocks/tsocks-1.8pre5-x86_64.diff
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/tsocks/tsocks-1.8pre5-x86_64.diff')
-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 ]