Merge lp:~mordred/gearmand/build-fixes into lp:gearmand/1.0

Proposed by Monty Taylor
Status: Merged
Merged at revision: not available
Proposed branch: lp:~mordred/gearmand/build-fixes
Merge into: lp:gearmand/1.0
Diff against target: 78 lines
5 files modified
configure.ac (+5/-4)
docs/man_gen.perl (+4/-2)
libgearman-server/Makefile.am (+1/-1)
libgearman-server/libgearman-server.ver (+1/-1)
libgearman/libgearman.ver (+1/-1)
To merge this branch: bzr merge lp:~mordred/gearmand/build-fixes
Reviewer Review Type Date Requested Status
Gearman-developers Pending
Review via email: mp+12566@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Monty Taylor (mordred) wrote :

Fix some build issues that came up during debian package testing. Sorry this didn't show up in hudson guys - I'll sort that out later.

lp:~mordred/gearmand/build-fixes updated
222. By Monty Taylor

Cleaned up the lib versioning test - we sure don't need to do the test twice.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure.ac'
2--- configure.ac 2009-09-24 23:43:15 +0000
3+++ configure.ac 2009-09-29 05:01:12 +0000
4@@ -43,12 +43,13 @@
5 # or changed
6 AC_SUBST(GEARMAN_SERVER_LIBRARY_VERSION)
7
8-# libgearman versioning when linked with GNU ld.
9-if test "$lt_cv_prog_gnu_ld" = "yes"
10-then
11+# lib versioning when linked with GNU ld.
12+AS_IF([test "$lt_cv_prog_gnu_ld" = "yes"],[
13 LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libgearman/libgearman.ver"
14-fi
15+ LD_VERSION_SCRIPT_SERVER="-Wl,--version-script=\$(top_srcdir)/libgearman-server/libgearman-server.ver"
16+])
17 AC_SUBST(LD_VERSION_SCRIPT)
18+AC_SUBST(LD_VERSION_SCRIPT_SERVER)
19
20 PANDORA_REQUIRE_PTHREAD
21
22
23=== modified file 'docs/man_gen.perl'
24--- docs/man_gen.perl 2009-07-18 06:42:29 +0000
25+++ docs/man_gen.perl 2009-09-29 05:01:12 +0000
26@@ -57,9 +57,11 @@
27 # We've reached the end of a comment block, try to find a function.
28 my $name= "";
29 my $func= "";
30+ my @func_lines;
31
32 while ($line= <>)
33 {
34+ chomp($line);
35 if ($line=~ m/^$/)
36 {
37 last;
38@@ -74,11 +76,11 @@
39 $name= $1;
40 }
41
42- chomp($line);
43 $line=~ s/^ +/ /;
44- $func.= $line;
45+ push(@func_lines, $line);
46 }
47
48+ $func= join(" ", @func_lines);
49 if ($name)
50 {
51 # We have a function! Output a man page.
52
53=== modified file 'libgearman-server/Makefile.am'
54--- libgearman-server/Makefile.am 2009-09-24 23:43:15 +0000
55+++ libgearman-server/Makefile.am 2009-09-29 05:01:12 +0000
56@@ -81,7 +81,7 @@
57 libgearman_server_la_LDFLAGS= \
58 -version-info \
59 $(GEARMAN_SERVER_LIBRARY_VERSION) \
60- $(LD_VERSION_SCRIPT)
61+ $(LD_VERSION_SCRIPT_SERVER)
62
63 libgearman_server_la_LIBADD= \
64 $(top_builddir)/libgearman/libgearman.la \
65
66=== modified file 'libgearman-server/libgearman-server.ver'
67--- libgearman-server/libgearman-server.ver 2009-09-24 23:43:15 +0000
68+++ libgearman-server/libgearman-server.ver 2009-09-29 05:01:12 +0000
69@@ -1,1 +1,1 @@
70-libgearman-server_1 { global: *; };
71+libgearman_server_0 { global: *; };
72
73=== modified file 'libgearman/libgearman.ver'
74--- libgearman/libgearman.ver 2009-06-14 22:16:21 +0000
75+++ libgearman/libgearman.ver 2009-09-29 05:01:12 +0000
76@@ -1,1 +1,1 @@
77-libgearman_1 { global: *; };
78+libgearman_2 { global: *; };

Subscribers

People subscribed via source and target branches