Package: ssh-agent-filter
Version: 0.3-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu 14.04, the attached patch was applied to achieve the following:

  * Changed linking order to resolve FTBFS.


I've taken the liberty of realigning the linker variables to bring them
in line with convention. Also, I noticed in the master git branch that
you've moved to boost:iostreams; I made the least invasive change to
resolve the FTBFS. Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8.0-33-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ssh-agent-filter-0.3/debian/patches/0001-Fix-linking-order-FTBFS.patch ssh-agent-filter-0.3/debian/patches/0001-Fix-linking-order-FTBFS.patch
--- ssh-agent-filter-0.3/debian/patches/0001-Fix-linking-order-FTBFS.patch	1969-12-31 19:00:00.000000000 -0500
+++ ssh-agent-filter-0.3/debian/patches/0001-Fix-linking-order-FTBFS.patch	2013-11-13 10:46:52.000000000 -0500
@@ -0,0 +1,21 @@
+Index: ssh-agent-filter-0.3/Makefile
+===================================================================
+--- ssh-agent-filter-0.3.orig/Makefile	2013-10-25 19:18:11.000000000 -0400
++++ ssh-agent-filter-0.3/Makefile	2013-11-13 10:46:50.438054442 -0500
+@@ -19,7 +19,7 @@
+ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast
+ 
+ CXXFLAGS += -std=c++11
+-LDFLAGS += -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lnettle
++LDADD += -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lnettle
+ 
+ all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1
+ 
+@@ -30,6 +30,7 @@
+ 	help2man -n $< -o $@ -N ./$<
+ 
+ ssh-agent-filter: ssh-agent-filter.o
++	$(CXX) $< -o $@ $(LDADD)
+ 
+ ssh-agent-filter.o: ssh-agent-filter.C rfc4251.h ssh-agent.h version.h
+ 
diff -Nru ssh-agent-filter-0.3/debian/patches/series ssh-agent-filter-0.3/debian/patches/series
--- ssh-agent-filter-0.3/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ ssh-agent-filter-0.3/debian/patches/series	2013-11-13 10:30:27.000000000 -0500
@@ -0,0 +1 @@
+0001-Fix-linking-order-FTBFS.patch

Reply via email to