Merge lp:~jtaylor/ubuntu/oneiric/undertaker/fix-803209 into lp:ubuntu/oneiric/undertaker

Proposed by Julian Taylor
Status: Merged
Merged at revision: 5
Proposed branch: lp:~jtaylor/ubuntu/oneiric/undertaker/fix-803209
Merge into: lp:ubuntu/oneiric/undertaker
Diff against target: 70 lines (+40/-1)
4 files modified
debian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/fix-as-needed-build.patch (+30/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/oneiric/undertaker/fix-803209
Reviewer Review Type Date Requested Status
Ubuntu Development Team Pending
Review via email: mp+72346@code.launchpad.net

Description of the change

fix ftbs

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-06-25 16:04:36 +0000
3+++ debian/changelog 2011-08-21 15:26:26 +0000
4@@ -1,3 +1,10 @@
5+undertaker (1.1-2ubuntu1) oneiric; urgency=low
6+
7+ * debian/patches/fix-as-needed-build.patch:
8+ - fix build with ld --as-needed (LP: #803209)
9+
10+ -- Julian Taylor <jtaylor.debian@googlemail.com> Sun, 21 Aug 2011 17:05:37 +0200
11+
12 undertaker (1.1-2) unstable; urgency=low
13
14 * Apply patch from Konstantinos Margaritis for building against newer
15
16=== modified file 'debian/control'
17--- debian/control 2011-02-10 22:26:20 +0000
18+++ debian/control 2011-08-21 15:26:26 +0000
19@@ -1,7 +1,8 @@
20 Source: undertaker
21 Section: devel
22 Priority: optional
23-Maintainer: Christoph Egger <christoph@debian.org>
24+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
25+XSBC-Original-Maintainer: Christoph Egger <christoph@debian.org>
26 Uploaders: Reinhard Tartler <siretart@tauware.de>
27 Build-Depends: debhelper (>= 7.0.50~),
28 picosat (>= 913-4~),
29
30=== added file 'debian/patches/fix-as-needed-build.patch'
31--- debian/patches/fix-as-needed-build.patch 1970-01-01 00:00:00 +0000
32+++ debian/patches/fix-as-needed-build.patch 2011-08-21 15:26:26 +0000
33@@ -0,0 +1,30 @@
34+Description: fix build with ld --as-needed
35+ when building with ld --as-needed libraries must be placed
36+ after object files needing them on the command line so the symbols
37+ of the libraries are registered as needed.
38+Author: Julian Taylor <jtaylor.debian@googlemail.com>
39+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/undertaker/+bug/803209
40+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632297
41+
42+--- undertaker-1.1.orig/ziz/Makefile
43++++ undertaker-1.1/ziz/Makefile
44+@@ -13,7 +13,7 @@ all: zizler
45+ Zizler.o: Zizler.cpp $(HEADERS)
46+
47+ zizler: Zizler.o libziz.a
48+- $(LDXX) -o $@ $(LDLIBS) $^
49++ $(LDXX) -o $@ $^ $(LDLIBS)
50+
51+ $(ZIZOBJ): $(HEADERS)
52+ libziz.a: $(ZIZOBJ) $(HEADERS)
53+--- undertaker-1.1.orig/undertaker/Makefile
54++++ undertaker-1.1/undertaker/Makefile
55+@@ -12,7 +12,7 @@ CXXFLAGS = $(CFLAGS)
56+
57+ LDFLAGS =
58+ # LDCOV = -coverage
59+-LDLIBS = -lstdc++ -lboost_system -lboost_regex -lboost_filesystem libparser.a ../ziz/libziz.a -lpicosat -lboost_wave-mt $(LDCOV)
60++LDLIBS = libparser.a ../ziz/libziz.a -lstdc++ -lboost_system -lboost_regex -lboost_filesystem -lpicosat -lboost_wave-mt $(LDCOV)
61+
62+ PARSEROBJ = CloudContainer.o RsfReader.o KconfigWhitelist.o ConfigurationModel.o \
63+ ModelContainer.o SatChecker.o CodeSatStream.o BlockDefectAnalyzer.o
64
65=== modified file 'debian/patches/series'
66--- debian/patches/series 2011-06-25 16:04:36 +0000
67+++ debian/patches/series 2011-08-21 15:26:26 +0000
68@@ -1,1 +1,2 @@
69 boots-1.46.patch
70+fix-as-needed-build.patch

Subscribers

People subscribed via source and target branches

to all changes: