Merge lp:~jtaylor/ubuntu/oneiric/tenmado/fix-832831 into lp:ubuntu/oneiric/tenmado

Proposed by Julian Taylor
Status: Merged
Merged at revision: 7
Proposed branch: lp:~jtaylor/ubuntu/oneiric/tenmado/fix-832831
Merge into: lp:ubuntu/oneiric/tenmado
Diff against target: 114 lines (+62/-4)
4 files modified
Makefile.am (+3/-2)
Makefile.in (+3/-2)
debian/changelog (+6/-0)
debian/patches/fix-as-needed-build.patch (+50/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/oneiric/tenmado/fix-832831
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Fabrice Coutadeur (community) Needs Fixing
Ubuntu branches Pending
Review via email: mp+74556@code.launchpad.net

Description of the change

fix ftbs and change to quilt 3.0 (format)

To post a comment you must log in.
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

To reduce the diff between Debian and Ubuntu, please use the same 'patch system' as used in Debian. In this case, as the previous changes has been made inline, without any do the same with your changes.

Otherwise, looks good.

Once you do that change, I'll build your branch.

Thanks,
Fabrice

review: Needs Fixing
10. By Julian Taylor

remove 3.0 (quilt) patchsystem

Revision history for this message
Julian Taylor (jtaylor) wrote :

done, also patched .am in case it .in is regenerated, as per advice I got from a sponsor on a different package.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile.am'
2--- Makefile.am 2009-11-16 14:39:24 +0000
3+++ Makefile.am 2011-09-09 08:58:31 +0000
4@@ -42,7 +42,7 @@
5
6 # -g -O2 are in CFLAGS by default, don't use @CFLAGS@ here
7 AM_CFLAGS = $(SDL_CFLAGS) $(CC_WARNINGS)
8-AM_LDFLAGS = @LIBS@ $(SDL_LIBS)
9+AM_LDFLAGS = @LIBS@
10
11 AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" \
12 -DLOCALSTATEDIR=\"$(localstatedir)\" \
13@@ -53,7 +53,8 @@
14 # there is no AM_LDADD
15 tenmado_LDADD = $(top_srcdir)/happy-L/libhappy-L.a \
16 $(top_srcdir)/libbac/libbac.a \
17- $(top_srcdir)/libtenm/libtenm.a
18+ $(top_srcdir)/libtenm/libtenm.a \
19+ $(SDL_LIBS)
20
21 man_MANS = tenmado.6
22
23
24=== modified file 'Makefile.in'
25--- Makefile.in 2009-11-16 14:39:24 +0000
26+++ Makefile.in 2011-09-09 08:58:31 +0000
27@@ -168,7 +168,7 @@
28
29 # -g -O2 are in CFLAGS by default, don't use @CFLAGS@ here
30 AM_CFLAGS = $(SDL_CFLAGS) $(CC_WARNINGS)
31-AM_LDFLAGS = @LIBS@ $(SDL_LIBS)
32+AM_LDFLAGS = @LIBS@
33
34 AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" \
35 -DLOCALSTATEDIR=\"$(localstatedir)\" \
36@@ -180,7 +180,8 @@
37 # there is no AM_LDADD
38 tenmado_LDADD = $(top_srcdir)/happy-L/libhappy-L.a \
39 $(top_srcdir)/libbac/libbac.a \
40- $(top_srcdir)/libtenm/libtenm.a
41+ $(top_srcdir)/libtenm/libtenm.a \
42+ $(SDL_LIBS)
43
44
45 man_MANS = tenmado.6
46
47=== modified file 'debian/changelog'
48--- debian/changelog 2009-11-16 14:39:24 +0000
49+++ debian/changelog 2011-09-09 08:58:31 +0000
50@@ -1,3 +1,9 @@
51+tenmado (0.8-1ubuntu1) oneiric; urgency=low
52+
53+ * patch Makefile.{in,am} to fix ftbs with ld --as-needed (LP: #832831)
54+
55+ -- Julian Taylor <jtaylor.debian@googlemail.com> Wed, 31 Aug 2011 20:28:51 +0200
56+
57 tenmado (0.8-1) unstable; urgency=low
58
59 * new upstream release
60
61=== added file 'debian/patches/fix-as-needed-build.patch'
62--- debian/patches/fix-as-needed-build.patch 1970-01-01 00:00:00 +0000
63+++ debian/patches/fix-as-needed-build.patch 2011-09-09 08:58:31 +0000
64@@ -0,0 +1,50 @@
65+Description: fix build with ld --as-needed
66+ libraries must be behind objects needing their symbols
67+Author: Julian Taylor <jtaylor.debian@googlemail.com>
68+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tenmado/+bug/832831
69+Index: fix-832831/Makefile.in
70+===================================================================
71+--- fix-832831.orig/Makefile.in 2011-09-09 10:48:15.383308000 +0200
72++++ fix-832831/Makefile.in 2011-09-09 10:48:20.854477520 +0200
73+@@ -168,7 +168,7 @@
74+
75+ # -g -O2 are in CFLAGS by default, don't use @CFLAGS@ here
76+ AM_CFLAGS = $(SDL_CFLAGS) $(CC_WARNINGS)
77+-AM_LDFLAGS = @LIBS@ $(SDL_LIBS)
78++AM_LDFLAGS = @LIBS@
79+
80+ AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" \
81+ -DLOCALSTATEDIR=\"$(localstatedir)\" \
82+@@ -180,7 +180,8 @@
83+ # there is no AM_LDADD
84+ tenmado_LDADD = $(top_srcdir)/happy-L/libhappy-L.a \
85+ $(top_srcdir)/libbac/libbac.a \
86+- $(top_srcdir)/libtenm/libtenm.a
87++ $(top_srcdir)/libtenm/libtenm.a \
88++ $(SDL_LIBS)
89+
90+
91+ man_MANS = tenmado.6
92+Index: fix-832831/Makefile.am
93+===================================================================
94+--- fix-832831.orig/Makefile.am 2011-09-09 10:48:26.584477450 +0200
95++++ fix-832831/Makefile.am 2011-09-09 10:48:52.454477135 +0200
96+@@ -42,7 +42,7 @@
97+
98+ # -g -O2 are in CFLAGS by default, don't use @CFLAGS@ here
99+ AM_CFLAGS = $(SDL_CFLAGS) $(CC_WARNINGS)
100+-AM_LDFLAGS = @LIBS@ $(SDL_LIBS)
101++AM_LDFLAGS = @LIBS@
102+
103+ AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" \
104+ -DLOCALSTATEDIR=\"$(localstatedir)\" \
105+@@ -53,7 +53,8 @@
106+ # there is no AM_LDADD
107+ tenmado_LDADD = $(top_srcdir)/happy-L/libhappy-L.a \
108+ $(top_srcdir)/libbac/libbac.a \
109+- $(top_srcdir)/libtenm/libtenm.a
110++ $(top_srcdir)/libtenm/libtenm.a \
111++ $(SDL_LIBS)
112+
113+ man_MANS = tenmado.6
114+

Subscribers

People subscribed via source and target branches

to all changes: