Merge lp:~vibhavp/ubuntu/raring/thoggen/fix-format-string-warning into lp:ubuntu/raring/thoggen

Proposed by Vibhav Pant
Status: Work in progress
Proposed branch: lp:~vibhavp/ubuntu/raring/thoggen/fix-format-string-warning
Merge into: lp:ubuntu/raring/thoggen
Diff against target: 41 lines (+18/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/02_format_string.patch (+10/-0)
src/th-app-window.c (+1/-0)
To merge this branch: bzr merge lp:~vibhavp/ubuntu/raring/thoggen/fix-format-string-warning
Reviewer Review Type Date Requested Status
Martin Pitt Needs Fixing
Marc Deslauriers Needs Fixing
Review via email: mp+150969@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

NACK on the merge request. The thoggen package in Raring using a patch system. Please resubmit this change as a proper patch, instead of doing the change inline.

Thanks!

review: Needs Fixing
Revision history for this message
Martin Pitt (pitti) wrote :

Looks good now, thanks!

review: Approve
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Actually, applying the patch inline is wrong (as this isn't using quilt), and the patch doesn't apply as it's not -p1 and doesn't even specify a path. Please test this with an actual package build first.

review: Needs Fixing
Revision history for this message
Martin Pitt (pitti) wrote :

When you are done, please set back the status to "needs review". Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

For the record, I removed thoggen from raring:

Comment: does not build against current glib, hal, and dbus, dead upstream, uses old gstreamer, removed from Debian testing, long-standing RC bugs

If you ever manage to get this to actually build, we can reintroduce it into Ubuntu.

Unmerged revisions

14. By Vibhav Pant

Add correct patch

13. By Vibhav Pant

* debian/patches/02_fomat_string.patch
  - Fix format string warning leading to FTBFS.

12. By Vibhav Pant

* src/th-app-window.c:
  - Fix compiler warning due to incorrect usage of format string.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2009-02-19 12:09:33 +0000
+++ debian/changelog 2013-03-21 16:13:27 +0000
@@ -1,3 +1,10 @@
1thoggen (0.7.1-1ubuntu2) raring; urgency=low
2
3 * debian/patches/02_fomat_string.patch
4 - Fix format string warning leading to FTBFS.
5
6 -- Vibhav Pant <vibhavp@ubuntu.com> Thu, 28 Feb 2013 14:07:41 +0530
7
1thoggen (0.7.1-1ubuntu1) jaunty; urgency=low8thoggen (0.7.1-1ubuntu1) jaunty; urgency=low
29
3 * No change rebuild to build with latest libdvdread. (LP: #330684)10 * No change rebuild to build with latest libdvdread. (LP: #330684)
411
=== added file 'debian/patches/02_format_string.patch'
--- debian/patches/02_format_string.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/02_format_string.patch 2013-03-21 16:13:27 +0000
@@ -0,0 +1,10 @@
1--- th-app-window.c.old 2013-03-21 21:38:34.701211644 +0530
2+++ th-app-window.c 2013-03-21 21:39:23.249211183 +0530
3@@ -1137,6 +1137,7 @@
4 GTK_DIALOG_MODAL,
5 GTK_MESSAGE_WARNING,
6 GTK_BUTTONS_YES_NO,
7+ "%s"
8 errmsg->str);
9
10 gtk_window_set_title (GTK_WINDOW (dlg), _("Not enough disk space - continue anyway?"));
011
=== modified file 'src/th-app-window.c'
--- src/th-app-window.c 2008-06-13 12:09:15 +0000
+++ src/th-app-window.c 2013-03-21 16:13:27 +0000
@@ -1137,6 +1137,7 @@
1137 GTK_DIALOG_MODAL,1137 GTK_DIALOG_MODAL,
1138 GTK_MESSAGE_WARNING,1138 GTK_MESSAGE_WARNING,
1139 GTK_BUTTONS_YES_NO,1139 GTK_BUTTONS_YES_NO,
1140 "%s"
1140 errmsg->str);1141 errmsg->str);
11411142
1142 gtk_window_set_title (GTK_WINDOW (dlg), _("Not enough disk space - continue anyway?"));1143 gtk_window_set_title (GTK_WINDOW (dlg), _("Not enough disk space - continue anyway?"));

Subscribers

People subscribed via source and target branches

to all changes: