From 454df6088f3d5ec49ce104839facd707d4334eab Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Fri, 25 Jan 2013 04:34:45 +0000 Subject: 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 Package-Manager: portage-2.2.0_alpha155/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D --- sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch (limited to 'sys-fs/udisks/files') 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; + } -- cgit v1.2.3-65-gdbad