Merge lp:~scarneiro/ubuntu/oneiric/gosmore/fix-for-770751 into lp:ubuntu/oneiric/gosmore

Proposed by Sebastian Carneiro
Status: Merged
Merged at revision: 8
Proposed branch: lp:~scarneiro/ubuntu/oneiric/gosmore/fix-for-770751
Merge into: lp:ubuntu/oneiric/gosmore
Diff against target: 64 lines (+14/-7)
2 files modified
Makefile.in (+7/-7)
debian/changelog (+7/-0)
To merge this branch: bzr merge lp:~scarneiro/ubuntu/oneiric/gosmore/fix-for-770751
Reviewer Review Type Date Requested Status
Stefano Rivera Approve
Ubuntu branches Pending
Review via email: mp+65432@code.launchpad.net

Description of the change

Linker parameter order changed to avoid build problems with GCC-4.6

To post a comment you must log in.
Revision history for this message
Stefano Rivera (stefanor) wrote :

This patch isn't sufficient for it to build on oneiric. The issue visible in the build log still trips it up.

"-l xml2 -lm" Drop the first space?

Please re-target the changelog entry to oneiric. Also, your changelog line is too long.

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

I will look into that... I wasn't aware it was in such a bad shape. i will make the corrections and test it well, before asking for another review.

Thanks.

> This patch isn't sufficient for it to build on oneiric. The issue visible in
> the build log still trips it up.
>
> "-l xml2 -lm" Drop the first space?

>
> Please re-target the changelog entry to oneiric. Also, your changelog line is
> too long

Revision history for this message
Stefano Rivera (stefanor) wrote :

I'm marking this branch "Work in progress", as it isn't ready for sponsorship right now. Please change it back to "Needs review" when ready.

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

Corrected both problems mentioned by Stefano. I will also check the patch sent to Debian.

Ready for review.

Thanks Stefano!

Revision history for this message
Stefano Rivera (stefanor) wrote :

LGTM. Please forward this patch to Debian.

review: Approve
Revision history for this message
Stefano Rivera (stefanor) wrote :

...and upstream, if possible

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

Forwarded corrected patch to Debian. Will try to forwarded to upstream... All I could find is a README file with an email address for bug reporting.-

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile.in'
--- Makefile.in 2010-07-12 11:24:32 +0000
+++ Makefile.in 2011-07-09 11:56:34 +0000
@@ -34,8 +34,8 @@
34# I found that it's more reliable and more portable to use aplay, but34# I found that it's more reliable and more portable to use aplay, but
35# gnome sound can still be activated with this:35# gnome sound can still be activated with this:
36# `pkg-config --cflags --libs libgnomeui-2.0 && echo -DUSE_GNOMESOUND`36# `pkg-config --cflags --libs libgnomeui-2.0 && echo -DUSE_GNOMESOUND`
37XMLFLAGS=`pkg-config --cflags libxml-2.0 || echo -I /usr/include/libxml2` \37XMLFLAGS=`pkg-config --cflags libxml-2.0 || echo -I /usr/include/libxml2`
38 `pkg-config --libs libxml-2.0 || echo -l xml2 -lm`38XMLLIBS= `pkg-config --libs libxml-2.0 || echo -lxml2 -lm`
39ARCH=arm-mingw32ce-39ARCH=arm-mingw32ce-
40else40else
41# To compile with mingw, install MSYS and mingw, and then download41# To compile with mingw, install MSYS and mingw, and then download
@@ -58,11 +58,11 @@
58# it. THE CODE IS NOT FINISHED. Linux version looks promising.58# it. THE CODE IS NOT FINISHED. Linux version looks promising.
59gosmore: gosmore.cpp libgosm.cpp libgosm.h bboxes.c59gosmore: gosmore.cpp libgosm.cpp libgosm.h bboxes.c
60 g++ -DCHILDREN=16 ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \60 g++ -DCHILDREN=16 ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \
61 gosmore.cpp libgosm.cpp -o gosmore ${EXTRA}61 gosmore.cpp libgosm.cpp -o gosmore ${EXTRA} ${XMLLIBS}
6262
63gosmore16: gosmore.cpp libgosm.cpp libgosm.h63gosmore16: gosmore.cpp libgosm.cpp libgosm.h
64 g++ -DGOSMZ=16 ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \64 g++ -DGOSMZ=16 ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \
65 gosmore.cpp libgosm.cpp -o gosmore16 ${EXTRA}65 gosmore.cpp libgosm.cpp -o gosmore16 ${EXTRA} ${XMLLIBS}
6666
67$(ARCH)gosmore.exe: gosmore.cpp libgosm.cpp gosmore.rsc resource.h \67$(ARCH)gosmore.exe: gosmore.cpp libgosm.cpp gosmore.rsc resource.h \
68 libgosm.h ceglue.h ceglue.c bboxes.c68 libgosm.h ceglue.h ceglue.c bboxes.c
@@ -83,17 +83,17 @@
83 wget -O - ${WIKIPAGE}/Translations |./extract >translations.c83 wget -O - ${WIKIPAGE}/Translations |./extract >translations.c
8484
85extract: extract.c85extract: extract.c
86 ${CC} ${CFLAGS} ${XMLFLAGS} extract.c -o extract86 ${CC} ${CFLAGS} ${XMLFLAGS} extract.c -o extract ${XMLLIBS}
8787
88bboxes.c: density.c density.txt88bboxes.c: density.c density.txt
89 gcc -lm density.c -o density89 gcc density.c -o density -lm
90 ./density <density.txt >density.sh90 ./density <density.txt >density.sh
91# wget http://www.openstreetmap.org/api/0.6/changeset/1707270/download -O \91# wget http://www.openstreetmap.org/api/0.6/changeset/1707270/download -O \
92# countries.osm92# countries.osm
9393
94osmunda: osmunda.cpp libgosm.cpp libgosm.h94osmunda: osmunda.cpp libgosm.cpp libgosm.h
95 g++ ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \95 g++ ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \
96 osmunda.cpp libgosm.cpp -o osmunda96 osmunda.cpp libgosm.cpp -o osmunda ${XMLLIBS}
97voices:97voices:
98 echo '(voice_rab_diphone)' >/tmp/voice_rab_diphone98 echo '(voice_rab_diphone)' >/tmp/voice_rab_diphone
99 echo 'At the junction, turn left.' | festival_client \99 echo 'At the junction, turn left.' | festival_client \
100100
=== modified file 'debian/changelog'
--- debian/changelog 2010-07-12 11:24:32 +0000
+++ debian/changelog 2011-07-09 11:56:34 +0000
@@ -1,3 +1,10 @@
1gosmore (0.0.0.20100711-1ubuntu1) oneiric; urgency=low
2
3 * Makefile.in: Reordered linker parameters to avoid problem with
4 GCC-4.6 (LP: #770751)
5
6 -- Sebastian Carneiro <scarneiro@fibertel.com.ar> Fri, 08 Jul 2011 23:58:36 -0300
7
1gosmore (0.0.0.20100711-1) unstable; urgency=low8gosmore (0.0.0.20100711-1) unstable; urgency=low
29
3 * New upstream snapshot fetched for svn, revision: 2228410 * New upstream snapshot fetched for svn, revision: 22284

Subscribers

People subscribed via source and target branches