summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dante/files/dante-1.1.14-socksify.patch')
-rw-r--r--net-misc/dante/files/dante-1.1.14-socksify.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/dante/files/dante-1.1.14-socksify.patch b/net-misc/dante/files/dante-1.1.14-socksify.patch
new file mode 100644
index 000000000000..626d9b0911f6
--- /dev/null
+++ b/net-misc/dante/files/dante-1.1.14-socksify.patch
@@ -0,0 +1,16 @@
+--- dante-1.1.14/bin/socksify.in.agriffis 2001-12-04 06:57:18.000000000 -0500
++++ dante-1.1.14/bin/socksify.in 2003-12-08 15:15:29.000000000 -0500
+@@ -60,7 +60,11 @@
+ @PRELOAD_VARIABLE@="${LIBRARY}${SOCKSIFY_PRELOAD_LIBS:+${PRELOAD_SEPERATOR}}${SOCKSIFY_PRELOAD_LIBS}${PRELOAD_POSTFIX:+${PRELOAD_SEPERATOR}}${PRELOAD_POSTFIX}"
+ export @PRELOAD_VARIABLE@
+
+-LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${LIBDIR}"
+-export LD_LIBRARY_PATH
++# There is no reason to set LD_LIBRARY_PATH, at least on Linux, where
++# LD_PRELOAD can contain a full path to the library. Setting the
++# following breaks socksify on Linux/Alpha at least with
++# binutils-2.14.90.0.7-r3 (08 Dec 2003 agriffis)
++#LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${LIBDIR}"
++#export LD_LIBRARY_PATH
+
+ exec "$@"