package mango lassi tags 689443 +patch thanks Hi,
I cannot confirm the FTBFS (the package builds fine for me in Wheezy and SID cowbuilder, with gcc (Debian 4.7.1-7) 4.7.1). I see where it comes from though and the trivial patch attached *should* fix it. Regards, Thibaut.
diff -Nru mango-lassi-001+dfsg/debian/changelog mango-lassi-001+dfsg/debian/changelog --- mango-lassi-001+dfsg/debian/changelog 2011-07-22 14:48:12.000000000 +0200 +++ mango-lassi-001+dfsg/debian/changelog 2012-10-03 11:32:08.000000000 +0200 @@ -1,3 +1,12 @@ +mango-lassi (001+dfsg-4.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * debian/patches/fix-ftbfs-689443.patch: + Bug fix: "FTBFS in current wheezy environment (GCC 4.7)", thanks to + Michael Tautschnig (Closes: #689443). + + -- Thibaut Paumard <thib...@debian.org> Wed, 03 Oct 2012 11:32:08 +0200 + mango-lassi (001+dfsg-4) unstable; urgency=low * debian/patches/fix-libnotify0.7-compatibility.patch: diff -Nru mango-lassi-001+dfsg/debian/patches/fix-ftbfs-689443.patch mango-lassi-001+dfsg/debian/patches/fix-ftbfs-689443.patch --- mango-lassi-001+dfsg/debian/patches/fix-ftbfs-689443.patch 1970-01-01 01:00:00.000000000 +0100 +++ mango-lassi-001+dfsg/debian/patches/fix-ftbfs-689443.patch 2012-10-03 11:26:58.000000000 +0200 @@ -0,0 +1,14 @@ +Index: mango-lassi-001+dfsg/src/lassi-prefs.c +=================================================================== +--- mango-lassi-001+dfsg.orig/src/lassi-prefs.c 2010-05-18 14:00:55.000000000 +0200 ++++ mango-lassi-001+dfsg/src/lassi-prefs.c 2012-10-03 11:26:18.000000000 +0200 +@@ -280,7 +280,8 @@ + g_signal_connect(i->icon_view, "selection-changed", G_CALLBACK(on_selection_changed), i); + + cells = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (i->icon_view)); +- for (GList* cell = cells; cell; cell = cell->next) { ++ GList* cell=0; ++ for (cell = cells; cell; cell = cell->next) { + if (!GTK_IS_CELL_RENDERER_TEXT (cell->data)) + continue; + diff -Nru mango-lassi-001+dfsg/debian/patches/series mango-lassi-001+dfsg/debian/patches/series --- mango-lassi-001+dfsg/debian/patches/series 2011-07-22 13:46:02.000000000 +0200 +++ mango-lassi-001+dfsg/debian/patches/series 2012-10-03 11:25:14.000000000 +0200 @@ -2,3 +2,4 @@ skip-patch-by-POTFILES.skip.patch fix-ftbfs-binutils-gold.patch fix-libnotify0.7-compatibility.patch +fix-ftbfs-689443.patch
signature.asc
Description: OpenPGP digital signature