aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0001-workaround-FTBFS-caused-by-doko
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-workaround-FTBFS-caused-by-doko')
-rw-r--r--debian/patches/0001-workaround-FTBFS-caused-by-doko17
1 files changed, 17 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
+