~ubuntu-branches/ubuntu/wily/udisks2/wily

« back to all changes in this revision

Viewing changes to debian/patches/00git_firewire_removable.patch

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2013-08-30 12:54:45 UTC
  • mfrom: (1.1.8) (14.2.2 sid)
  • Revision ID: package-import@ubuntu.com-20130830125445-9qe68xunroan90yv
* New upstream release.
* Drop patches which have been merged upstream.
* Refresh dosfslabel.patch.
* Update symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From b841e30a98459816dfc49a735d3db4355a88edcd Mon Sep 17 00:00:00 2001
2
 
From: David Zeuthen <zeuthen@gmail.com>
3
 
Date: Mon, 18 Mar 2013 21:31:40 -0700
4
 
Subject: Properly identify firewire devices as non-system devices
5
 
 
6
 
This was reported in bug 62077.
7
 
 
8
 
https://bugs.freedesktop.org/show_bug.cgi?id=62077
9
 
 
10
 
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11
 
---
12
 
 src/udiskslinuxblock.c | 2 +-
13
 
 1 file changed, 1 insertion(+), 1 deletion(-)
14
 
 
15
 
diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c
16
 
index a1781cf..d619850 100644
17
 
--- a/src/udiskslinuxblock.c
18
 
+++ b/src/udiskslinuxblock.c
19
 
@@ -354,7 +354,7 @@ update_hints (UDisksLinuxBlock  *block,
20
 
       connection_bus = udisks_drive_get_connection_bus (drive);
21
 
       removable = udisks_drive_get_media_removable (drive);
22
 
       if (removable ||
23
 
-          (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "firewire") == 0) ||
24
 
+          (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "ieee1394") == 0) ||
25
 
           (g_str_has_prefix (device_file, "/dev/mmcblk") || g_str_has_prefix (device_file, "/dev/mspblk")))
26
 
         {
27
 
           hint_system = FALSE;
28
 
1.8.1.2
29