summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-06-20 18:45:28 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-06-20 18:45:28 +0200
commitf7232fd5d99b4d8761f05f647a2e4e73cf2a2125 (patch)
tree06ce06c89a23917faed9ec49b20153da7b471110 /debian/patches
parent22a578174378ef8f897de2fb524e728f95506f37 (diff)
add missing hurd/system.h
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0100-hurd.patch16
-rw-r--r--debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0100-hurd.patch b/debian/patches/0100-hurd.patch
new file mode 100644
index 0000000..bc6c4d5
--- /dev/null
+++ b/debian/patches/0100-hurd.patch
@@ -0,0 +1,16 @@
+Index: trunk/lib/psocksxx/sockstreambuf.h
+===================================================================
+--- trunk.orig/lib/psocksxx/sockstreambuf.h
++++ trunk/lib/psocksxx/sockstreambuf.h
+@@ -25,6 +25,11 @@
+
+ #include <streambuf>
+ #include <sys/socket.h>
++
++#if defined(__GNU__) || defined(__gnu_hurd__)
++#include <hurd/socket.h>
++#endif
++
+ #include <netinet/in.h>
+ #include <unistd.h>
+
diff --git a/debian/patches/series b/debian/patches/series
index 343422e..544092b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0500-ReproducibleBuilds.patch
10_test_network.patch
+0100-hurd.patch