summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0001-workaround-FTBFS-caused-by-doko17
-rw-r--r--debian/patches/series1
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/0001-workaround-FTBFS-caused-by-doko b/debian/patches/0001-workaround-FTBFS-caused-by-doko
new file mode 100644
index 0000000..6387f6f
--- /dev/null
+++ b/debian/patches/0001-workaround-FTBFS-caused-by-doko
@@ -0,0 +1,17 @@
+Description: workaround FTBFS caused by doko
+ Matthias Klose put an asm statement into libstdc++'s thread header forcing
+ applications to link with -lpthread
+Author: Timo_Weingärtner <timo@tiwe.de>
+Bug-Debian: https://bugs.debian.org/759859
+
+--- a/Makefile
++++ b/Makefile
+@@ -20,7 +20,7 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast
+
+ CPPFLAGS += -D_FILE_OFFSET_BITS=64
+ CXXFLAGS += -std=c++11
+-LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle
++LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle -lpthread
+
+ all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e5c2fc8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-workaround-FTBFS-caused-by-doko