diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-01-25 04:34:45 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-01-25 04:34:45 +0000 |
commit | 454df6088f3d5ec49ce104839facd707d4334eab (patch) | |
tree | e102e58a67974b4c8bf3e0c7bee84976f40f8237 /sys-fs/udisks/files | |
parent | Remove the patch, since it apparently causes problems when building against o... (diff) | |
download | historical-454df6088f3d5ec49ce104839facd707d4334eab.tar.gz historical-454df6088f3d5ec49ce104839facd707d4334eab.tar.bz2 historical-454df6088f3d5ec49ce104839facd707d4334eab.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
Package-Manager: portage-2.2.0_alpha155/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
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; + } |