summaryrefslogtreecommitdiff
path: root/debian/patches/0705-hurd.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-23 21:22:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-23 21:22:08 +0200
commit6ecc9f7c370a9c33692ec787c81a32c0e5795f8c (patch)
tree2681454075136131da9e5a11f1534f580f05bf1f /debian/patches/0705-hurd.patch
parent4390f386dd3e4febf3c16d8e651640f5e966d5f7 (diff)
changes for symbols files; rename patches
Diffstat (limited to 'debian/patches/0705-hurd.patch')
-rw-r--r--debian/patches/0705-hurd.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0705-hurd.patch b/debian/patches/0705-hurd.patch
new file mode 100644
index 0000000..70dabaa
--- /dev/null
+++ b/debian/patches/0705-hurd.patch
@@ -0,0 +1,21 @@
+Description: Add hurd/system.h
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2015-06-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+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>
+