From 42881751bae42c9e838245eea1ce76dcc931049f Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Tue, 21 Oct 2014 17:29:59 +0200 Subject: 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 --- debian/patches/0001-workaround-FTBFS-caused-by-doko | 17 +++++++++++++++++ debian/patches/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 debian/patches/0001-workaround-FTBFS-caused-by-doko create mode 100644 debian/patches/series (limited to 'debian/patches') 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 +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 -- cgit v1.2.3