[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.0.6-1-15-ga2c4582

Stig Sandbeck Mathisen ssm at debian.org
Sun Jul 17 21:49:08 UTC 2011


The following commit has been merged in the master branch:
commit b8099d8405a94646d87e43b734a58a58b03bb141
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Sun Jul 17 23:32:51 2011 +0200

    patch: fix linking with --as-needed option (Closes: #632431) (LP: #803184)

diff --git a/debian/patches/0001-place-needed-library-in-correct-variable-to-fix-link.patch b/debian/patches/0001-place-needed-library-in-correct-variable-to-fix-link.patch
new file mode 100644
index 0000000..c0c2d3b
--- /dev/null
+++ b/debian/patches/0001-place-needed-library-in-correct-variable-to-fix-link.patch
@@ -0,0 +1,23 @@
+From: Ilya Barygin <barygin at gmail.com>
+Date: Sun, 17 Jul 2011 23:13:50 +0200
+Subject: place needed library in correct variable to fix linking failure with
+ --as-needed option.
+
+---
+ Makefile.am |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 6ad0125..ffd94d5 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -53,7 +53,7 @@ check_gearman_SOURCES      = $(common_SOURCES) \
+ 
+ gearman_top_SOURCES        = $(common_SOURCES) \
+                              tools/gearman_top.c
+-gearman_top_LDFLAGS        = -lncurses
++gearman_top_LDADD          = -lncurses
+ 
+ # tests
+ check_PROGRAMS   = 01_utils 02_full 03_exec 04_log
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b28615f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-place-needed-library-in-correct-variable-to-fix-link.patch

-- 
Debian packaging for mod gearman.



More information about the Pkg-nagios-changes mailing list