summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-disable_network_test.patch39
-rw-r--r--debian/patches/0700-ReproducibleBuilds.patch19
-rw-r--r--debian/patches/0705-hurd.patch21
-rw-r--r--debian/patches/series3
4 files changed, 82 insertions, 0 deletions
diff --git a/debian/patches/0001-disable_network_test.patch b/debian/patches/0001-disable_network_test.patch
new file mode 100644
index 0000000..3861c55
--- /dev/null
+++ b/debian/patches/0001-disable_network_test.patch
@@ -0,0 +1,39 @@
+Description: disable network tests
+ disable network tests to prevent errors on buildsystems
+ without any networks.
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2014-10-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/test/nsockaddr_test.h
+===================================================================
+--- trunk.orig/test/nsockaddr_test.h
++++ trunk/test/nsockaddr_test.h
+@@ -28,11 +28,11 @@ class nsockaddr_test : public CppUnit::T
+ // setup the test suite
+ CPPUNIT_TEST_SUITE( nsockaddr_test );
+ CPPUNIT_TEST( test_constructor_localhost );
+- CPPUNIT_TEST( test_constructor_remote );
++// CPPUNIT_TEST( test_constructor_remote );
+ CPPUNIT_TEST( test_constructor_fail );
+ CPPUNIT_TEST( test_constructor_local_any );
+- CPPUNIT_TEST( test_constructor_local_service );
+- CPPUNIT_TEST( test_constructor_remote_service );
++// CPPUNIT_TEST( test_constructor_local_service );
++// CPPUNIT_TEST( test_constructor_remote_service );
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+Index: trunk/test/lsockstream_test.h
+===================================================================
+--- trunk.orig/test/lsockstream_test.h
++++ trunk/test/lsockstream_test.h
+@@ -39,7 +39,7 @@ class lsockstream_test : public CppUnit:
+ CPPUNIT_TEST( test_connect_fail );
+ CPPUNIT_TEST( test_connect_addr_fail );
+ CPPUNIT_TEST( test_connect );
+- CPPUNIT_TEST( test_connect_addr );
++// CPPUNIT_TEST( test_connect_addr );
+ CPPUNIT_TEST( test_read_timeout );
+ CPPUNIT_TEST_SUITE_END();
+
diff --git a/debian/patches/0700-ReproducibleBuilds.patch b/debian/patches/0700-ReproducibleBuilds.patch
new file mode 100644
index 0000000..7451143
--- /dev/null
+++ b/debian/patches/0700-ReproducibleBuilds.patch
@@ -0,0 +1,19 @@
+Description: Remove timestamp from doxygen generated files
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Forwarded: not-needed
+Last-Update: 2015-02-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/doc/doxygen.cfg.in
+===================================================================
+--- trunk.orig/doc/doxygen.cfg.in
++++ trunk/doc/doxygen.cfg.in
+@@ -156,7 +156,7 @@ HTML_EXTRA_FILES =
+ HTML_COLORSTYLE_HUE = 220
+ HTML_COLORSTYLE_SAT = 100
+ HTML_COLORSTYLE_GAMMA = 80
+-HTML_TIMESTAMP = YES
++HTML_TIMESTAMP = NO
+ HTML_DYNAMIC_SECTIONS = NO
+ HTML_INDEX_NUM_ENTRIES = 100
+ GENERATE_DOCSET = NO
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>
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8d660a8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+0700-ReproducibleBuilds.patch
+0001-disable_network_test.patch
+0705-hurd.patch