Merge lp:~om26er/ubuntu/lucid/libimobiledevice/fix-iOS5-support into lp:ubuntu/lucid-proposed/libimobiledevice

Proposed by Omer Akram
Status: Needs review
Proposed branch: lp:~om26er/ubuntu/lucid/libimobiledevice/fix-iOS5-support
Merge into: lp:ubuntu/lucid-proposed/libimobiledevice
Diff against target: 47 lines (+27/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/91_fix_iOS5.patch (+19/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~om26er/ubuntu/lucid/libimobiledevice/fix-iOS5-support
Reviewer Review Type Date Requested Status
Luke Yelavich (community) Disapprove
Review via email: mp+64293@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work, the current SRU candidate needs to be verified and moved to updates before a new upload though

Revision history for this message
Luke Yelavich (themuso) wrote :

As per the other branches, we need a fix for IOS 5 beta 2.

review: Disapprove

Unmerged revisions

5. By Omer Akram

* debian/patches/91_fix_iOS5.patch:
  - Fix support for iOS5. (LP: #795475)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-06-06 12:31:24 +0000
+++ debian/changelog 2011-06-11 11:01:23 +0000
@@ -1,3 +1,10 @@
1libimobiledevice (0.9.7-1ubuntu1.2) lucid-proposed; urgency=low
2
3 * debian/patches/91_fix_iOS5.patch:
4 - Fix support for iOS5. (LP: #795475)
5
6 -- Omer Akram <om26er@ubuntu.com> Sat, 11 Jun 2011 15:54:36 +0500
7
1libimobiledevice (0.9.7-1ubuntu1.1) lucid-proposed; urgency=low8libimobiledevice (0.9.7-1ubuntu1.1) lucid-proposed; urgency=low
29
3 * Add compatibility for iOS 4.2 and 4.3. This doesn't add new device10 * Add compatibility for iOS 4.2 and 4.3. This doesn't add new device
411
=== added file 'debian/patches/91_fix_iOS5.patch'
--- debian/patches/91_fix_iOS5.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/91_fix_iOS5.patch 2011-06-11 11:01:23 +0000
@@ -0,0 +1,19 @@
1From: Omer Akram <om26er@ubuntu.com>
2Author: Nikias Bassen
3Subject: Lockdown: fix support for iOS 5.
4Origin: http://cgit.sukimashita.com/libimobiledevice.git/commit/?id=f0487376671ffd6ac3fc121657f1fbd0acea3cb0
5Bug-Ubuntu: https://launchpad.net/bugs/795475
6
7--- a/src/lockdown.c
8+++ b/src/lockdown.c
9@@ -86,7 +86,9 @@ static int lockdown_check_result(plist_t dict, const char *query_match)
10
11 plist_t result_node = plist_dict_get_item(dict, "Result");
12 if (!result_node) {
13- return ret;
14+ /* iOS 5: the 'Result' key is not present anymore.
15+ Just assume success here */
16+ return RESULT_SUCCESS;
17 }
18
19 plist_type result_type = plist_get_node_type(result_node);
020
=== modified file 'debian/patches/series'
--- debian/patches/series 2011-06-06 12:31:24 +0000
+++ debian/patches/series 2011-06-11 11:01:23 +0000
@@ -3,3 +3,4 @@
303-fix-python-import.patch303-fix-python-import.patch
404-ios-42-compat.patch404-ios-42-compat.patch
505-ios-43-compat.patch505-ios-43-compat.patch
691_fix_iOS5.patch

Subscribers

People subscribed via source and target branches

to all changes: