aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2014-10-21 17:29:59 +0200
committerTimo Weingärtner <timo@tiwe.de>2014-10-21 17:39:56 +0200
commit42881751bae42c9e838245eea1ce76dcc931049f (patch)
treebddd44e2a89876208ade9e2b1aebb36c25a6da10 /debian/patches
parente3ca37e539d9c6b672cc2401d8542bd3cb66d8b3 (diff)
downloadssh-agent-filter-42881751bae42c9e838245eea1ce76dcc931049f.tar.gz
add debian/patches/0001-workaround-FTBFS-caused-by-doko
Matthias Klose put an asm statement into libstdc++'s thread header forcing applications to link with -lpthread Closes: #759859
Diffstat (limited to 'debian/patches')
-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