diff options
author | 2013-01-25 04:34:39 +0000 | |
---|---|---|
committer | 2013-01-25 04:34:39 +0000 | |
commit | 7168382252888333e8b41e0ccb4f805ae73a5cd5 (patch) | |
tree | c6e5e7d21f1afd5ba068b051171f501e1b37ba9a /sys-fs/udisks/files | |
parent | Remove the patch, since it apparently causes problems when building against o... (diff) | |
download | gentoo-2-7168382252888333e8b41e0ccb4f805ae73a5cd5.tar.gz gentoo-2-7168382252888333e8b41e0ccb4f805ae73a5cd5.tar.bz2 gentoo-2-7168382252888333e8b41e0ccb4f805ae73a5cd5.zip |
Revert part of upstream commit that prevented UDisks1 from polling for floppy drive so often but while at it broke the actual mounting of floppies wrt #338185 by Ian Abbott and others
(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/udisks/files')
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch b/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch new file mode 100644 index 000000000000..0f13a6aba833 --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch @@ -0,0 +1,18 @@ +This change was done upstream to prevent UDisks1 from polling for floppy drive so often but broke +mounting floppies while at it. + +http://bugs.freedesktop.org/show_bug.cgi?id=30283 +http://bugs.gentoo.org/show_bug.cgi?id=338185 + +--- src/device.c ++++ src/device.c +@@ -4485,7 +4485,8 @@ update_info (Device *device) + } + else + { +- if (g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM_MEDIA")) ++ if (g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM_MEDIA") || ++ g_udev_device_get_property_as_boolean (device->priv->d, "ID_DRIVE_FLOPPY")) + { + media_available = TRUE; + } |