diff options
Diffstat (limited to 'net/proxychains/files/patch-proxychains-libproxychains.c')
-rw-r--r-- | net/proxychains/files/patch-proxychains-libproxychains.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/proxychains/files/patch-proxychains-libproxychains.c b/net/proxychains/files/patch-proxychains-libproxychains.c new file mode 100644 index 000000000000..f2492bc1b3c5 --- /dev/null +++ b/net/proxychains/files/patch-proxychains-libproxychains.c @@ -0,0 +1,22 @@ +--- proxychains/libproxychains.c.orig Wed Mar 15 18:16:59 2006 ++++ proxychains/libproxychains.c Sun Dec 10 01:16:37 2006 +@@ -160,7 +160,7 @@ + + if(!(file=fopen("./proxychains.conf","r"))) + if(!(file=fopen(buff,"r"))) +- if(!(file=fopen("/etc/proxychains.conf","r"))) ++ if(!(file=fopen(PREFIX "/etc/proxychains.conf","r"))) + { + perror("Can't locate proxychains.conf"); + exit(1); +@@ -290,8 +290,8 @@ + + int getnameinfo (const struct sockaddr * sa, + socklen_t salen, char * host, +- socklen_t hostlen, char * serv, +- socklen_t servlen, unsigned int flags) ++ size_t hostlen, char * serv, ++ size_t servlen, int flags) + { + int ret = 0; + if(!init_l) |