summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irssi/files/irssi-socks-fix.patch')
-rw-r--r--net-irc/irssi/files/irssi-socks-fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-irc/irssi/files/irssi-socks-fix.patch b/net-irc/irssi/files/irssi-socks-fix.patch
new file mode 100644
index 000000000000..c0445ec24153
--- /dev/null
+++ b/net-irc/irssi/files/irssi-socks-fix.patch
@@ -0,0 +1,25 @@
+diff -Nur irssi.orig/src/core/network.h irssi/src/core/network.h
+--- irssi.orig/src/core/network.h 2005-03-01 00:36:21.634296397 +0100
++++ irssi/src/core/network.h 2005-03-01 00:36:37.204104608 +0100
+@@ -1,10 +1,6 @@
+ #ifndef __NETWORK_H
+ #define __NETWORK_H
+
+-#ifdef HAVE_SOCKS_H
+-#include <socks.h>
+-#endif
+-
+ #include <sys/types.h>
+ #ifndef WIN32
+ # include <sys/socket.h>
+@@ -13,6 +9,10 @@
+ # include <arpa/inet.h>
+ #endif
+
++#ifdef HAVE_SOCKS_H
++#include <socks.h>
++#endif
++
+ #ifndef AF_INET6
+ # ifdef PF_INET6
+ # define AF_INET6 PF_INET6