summaryrefslogtreecommitdiff
path: root/net/proxychains/files/patch-proxychains::main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxychains/files/patch-proxychains::main.c')
-rw-r--r--net/proxychains/files/patch-proxychains::main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/proxychains/files/patch-proxychains::main.c b/net/proxychains/files/patch-proxychains::main.c
new file mode 100644
index 000000000000..74394c262773
--- /dev/null
+++ b/net/proxychains/files/patch-proxychains::main.c
@@ -0,0 +1,11 @@
+--- proxychains/main.c.orig Thu Jun 24 13:13:46 2004
++++ proxychains/main.c Thu Jun 24 13:14:05 2004
+@@ -41,7 +41,7 @@
+ "More help in README file\n");
+ return 0 ;
+ }
+- putenv("LD_PRELOAD=/usr/lib/libproxychains.so");
++ putenv("LD_PRELOAD=" PREFIX_DIR "/lib/libproxychains.so.2");
+ execvp(argv[1],&argv[1]);
+ perror("proxychains can't load process....");
+ return EXIT_SUCCESS;