Package: mandos
Version: 1.3.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch
*** /tmp/tmp4q3Kw9
In Ubuntu, the attached patch was applied to achieve the following:
Hi! mandos fails to build from source with binutils-gold and
--as-needed, this patch solves order problem.
Regards,
* debian/patches/fix-ftbfs-with-as-needed:
- Fix FTBFS with --as-needed (LP: #771019)
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0-2-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru mandos-1.3.0/debian/changelog mandos-1.3.0/debian/changelog
diff -Nru mandos-1.3.0/debian/patches/fix-ftbfs-with-as-needed mandos-1.3.0/debian/patches/fix-ftbfs-with-as-needed
--- mandos-1.3.0/debian/patches/fix-ftbfs-with-as-needed 1970-01-01 01:00:00.000000000 +0100
+++ mandos-1.3.0/debian/patches/fix-ftbfs-with-as-needed 2011-06-29 22:43:34.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with --as-needed
+Author: Angel Abad <[email protected]>
+Bug-Ubuntu: https://launchpad.net/bugs/771019
+
+Index: mandos-1.3.0/Makefile
+===================================================================
+--- mandos-1.3.0.orig/Makefile 2011-06-29 22:35:34.339577338 +0200
++++ mandos-1.3.0/Makefile 2011-06-29 22:37:00.508494048 +0200
+@@ -210,8 +210,8 @@
+ $@)
+
+ plugins.d/mandos-client: plugins.d/mandos-client.c
+- $(LINK.c) $(GNUTLS_LIBS) $(AVAHI_LIBS) $(GPGME_LIBS) $(strip\
+- ) $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
++ $(LINK.c) $(strip) $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@ \
++ $(GNUTLS_LIBS) $(AVAHI_LIBS) $(GPGME_LIBS)
+
+ .PHONY : all doc html clean distclean run-client run-server install \
+ install-server install-client uninstall uninstall-server \
diff -Nru mandos-1.3.0/debian/patches/series mandos-1.3.0/debian/patches/series
--- mandos-1.3.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ mandos-1.3.0/debian/patches/series 2011-06-29 22:41:58.000000000 +0200
@@ -0,0 +1 @@
+fix-ftbfs-with-as-needed