Merge lp:~scarneiro/ubuntu/oneiric/opendrim-lmp-softwareupdate/fix-for-755974 into lp:ubuntu/oneiric/opendrim-lmp-softwareupdate

Proposed by Sebastian Carneiro
Status: Merged
Merged at revision: 3
Proposed branch: lp:~scarneiro/ubuntu/oneiric/opendrim-lmp-softwareupdate/fix-for-755974
Merge into: lp:ubuntu/oneiric/opendrim-lmp-softwareupdate
Diff against target: 47 lines (+29/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/01-ftbfs-add-opendrim-lib.patch (+20/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~scarneiro/ubuntu/oneiric/opendrim-lmp-softwareupdate/fix-for-755974
Reviewer Review Type Date Requested Status
Stefano Rivera Needs Fixing
Ubuntu branches Pending
Review via email: mp+66673@code.launchpad.net

Description of the change

Added library to linker parameters to fix ftbfs related to toolchain defaults changes.

To post a comment you must log in.
Revision history for this message
Stefano Rivera (stefanor) wrote :
review: Needs Fixing
Revision history for this message
Martin Pitt (pitti) wrote :

Can this be handled centrally like https://code.launchpad.net/~scarneiro/ubuntu/oneiric/opendrim-lmp-boot/fix-for-755942/+merge/66544 ? Also, as this is an upstream bug, can you please forward the patch there, too?

Please set back to "needs review" when you are done.

Thanks!

Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Previous changes reverted. Added a patch to acinclude.m4 to manage the adding of the opendrim library centrally. Updated upstream bug with patch:

 https://sourceforge.net/apps/trac/opendrim/ticket/1

Thanks.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2010-06-11 15:46:00 +0000
+++ debian/changelog 2011-07-07 23:56:36 +0000
@@ -1,3 +1,11 @@
1opendrim-lmp-softwareupdate (1.0.0-0ubuntu2) oneiric; urgency=low
2
3 * debian/patches/01-ftbfs-add-openldrim-lib.patch: Added library opendrim to
4 LIBS variable in check routine of acinclude.m4 to build with ld
5 --as-needed (LP: #755974)
6
7 -- Sebastian Carneiro <scarneiro@fibertel.com.ar> Thu, 07 Jul 2011 20:51:40 -0300
8
1opendrim-lmp-softwareupdate (1.0.0-0ubuntu1) maverick; urgency=low9opendrim-lmp-softwareupdate (1.0.0-0ubuntu1) maverick; urgency=low
210
3 * Initial release11 * Initial release
412
=== added directory 'debian/patches'
=== added file 'debian/patches/01-ftbfs-add-opendrim-lib.patch'
--- debian/patches/01-ftbfs-add-opendrim-lib.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/01-ftbfs-add-opendrim-lib.patch 2011-07-07 23:56:36 +0000
@@ -0,0 +1,20 @@
1Description: To fix FTBFS because of changes in defaults for toolchain (binutils)
2 it is necessary to include library opendrim at linking time. This patch modifies
3 acinclude.m4 adding such library to the LIBS variable.
4 .
5Forwarded: http://sourceforge.net/apps/trac/opendrim/ticket/1
6Author: Sebastian Carneiro <scarneiro@fibertel.com.ar>
7Last-Update: 2011-07-07
8
9Index: opendrim-lmp-softwareupdate/acinclude.m4
10===================================================================
11--- opendrim-lmp-softwareupdate.orig/acinclude.m4 2011-07-06 09:26:32.217179002 -0300
12+++ opendrim-lmp-softwareupdate/acinclude.m4 2011-07-06 09:27:16.117212462 -0300
13@@ -262,6 +262,7 @@
14 if test -e $OPENDRIMCOMMONLIBDIR/libopendrim.so
15 then
16 AC_MSG_RESULT(yes)
17+ LIBS="${LIBS} -lopendrim"
18 else
19 AC_MSG_ERROR([[no. The OpenDRIM Common library could not be found (libopendrim.so)]])
20 fi
021
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2011-07-07 23:56:36 +0000
@@ -0,0 +1,1 @@
101-ftbfs-add-opendrim-lib.patch

Subscribers

People subscribed via source and target branches