[kdelibs] adapt the patch

Than Ngo than at fedoraproject.org
Tue Sep 4 10:21:04 UTC 2012


commit dede8a12d60005e22b9612bef9f8254589df8298
Author: Than Ngo <than at redhat.com>
Date:   Tue Sep 4 12:20:40 2012 +0200

    adapt the patch

 ...kdelibs-4.9.1-udisks_detatch_external_hdd.patch |   14 +++++++-------
 kdelibs.spec                                       |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/kdelibs-4.9.0-udisks_detatch_external_hdd.patch b/kdelibs-4.9.1-udisks_detatch_external_hdd.patch
similarity index 58%
rename from kdelibs-4.9.0-udisks_detatch_external_hdd.patch
rename to kdelibs-4.9.1-udisks_detatch_external_hdd.patch
index ace636b..801a575 100644
--- a/kdelibs-4.9.0-udisks_detatch_external_hdd.patch
+++ b/kdelibs-4.9.1-udisks_detatch_external_hdd.patch
@@ -1,7 +1,7 @@
-diff -up kdelibs-4.9.0/solid/solid/backends/udisks/udisksstorageaccess.cpp.solid-detach-external-hdd kdelibs-4.9.0/solid/solid/backends/udisks/udisksstorageaccess.cpp
---- kdelibs-4.9.0/solid/solid/backends/udisks/udisksstorageaccess.cpp.solid-detach-external-hdd	2012-07-20 03:07:42.000000000 -0500
-+++ kdelibs-4.9.0/solid/solid/backends/udisks/udisksstorageaccess.cpp	2012-08-29 10:25:28.162850570 -0500
-@@ -204,7 +204,14 @@ void UDisksStorageAccess::slotDBusReply(
+diff -up kdelibs-4.9.1/solid/solid/backends/udisks/udisksstorageaccess.cpp.solid-detach-external-hdd kdelibs-4.9.1/solid/solid/backends/udisks/udisksstorageaccess.cpp
+--- kdelibs-4.9.1/solid/solid/backends/udisks/udisksstorageaccess.cpp.solid-detach-external-hdd	2012-08-28 15:37:29.000000000 +0200
++++ kdelibs-4.9.1/solid/solid/backends/udisks/udisksstorageaccess.cpp	2012-09-04 12:18:00.030489289 +0200
+@@ -199,7 +199,14 @@ void UDisksStorageAccess::slotDBusReply(
                  QDBusMessage msg = QDBusMessage::createMethodCall(UD_DBUS_SERVICE, drivePath, UD_DBUS_INTERFACE_DISKS_DEVICE, "DriveEject");
                  msg << QStringList();   // options, unused now
                  c.call(msg, QDBus::NoBlock);
@@ -13,7 +13,7 @@ diff -up kdelibs-4.9.0/solid/solid/backends/udisks/udisksstorageaccess.cpp.solid
 +                    msg2 << QStringList();   // options, unused now
 +                    c.call(msg2, QDBus::NoBlock);
 +                }
-+            }  
++            } 
  
-             slotChanged();
-         }
+             m_teardownInProgress = false;
+             m_device->broadcastActionDone("teardown");
diff --git a/kdelibs.spec b/kdelibs.spec
index 5c53e1d..835ce58 100644
--- a/kdelibs.spec
+++ b/kdelibs.spec
@@ -145,7 +145,7 @@ Patch53: kdelibs-4.7.2-kjs-s390.patch
 Patch54: kdelibs-4.8.4-kjs-locale.patch
 
 # Can't safely remove a USB removable hard drive ( http://bugzilla.redhat.com/852196 )
-Patch55: kdelibs-4.9.0-udisks_detatch_external_hdd.patch 
+Patch55: kdelibs-4.9.1-udisks_detatch_external_hdd.patch 
 
 ## upstream
 


More information about the scm-commits mailing list