]> git.pld-linux.org Git - packages/upower.git/commitdiff
- rel 2; fix breakage by http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ae18... auto/th/upower-0.9.20-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 20 Mar 2013 14:48:47 +0000 (15:48 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 20 Mar 2013 14:48:47 +0000 (15:48 +0100)
upower-fixes.patch [new file with mode: 0644]
upower.spec

diff --git a/upower-fixes.patch b/upower-fixes.patch
new file mode 100644 (file)
index 0000000..58794c9
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN upower-0.9.20.org/src/linux/up-device-lg-unifying.c upower-0.9.20/src/linux/up-device-lg-unifying.c
+--- upower-0.9.20.org/src/linux/up-device-lg-unifying.c        2013-03-20 13:42:58.000000000 +0100
++++ upower-0.9.20/src/linux/up-device-lg-unifying.c    2013-03-20 15:45:03.731346809 +0100
+@@ -627,7 +627,7 @@
+       for (entry = hidraw_list; entry; entry = entry->next) {
+               hidraw = entry->data;
+-              if (!g_strcmp0 (g_udev_device_get_sysfs_attr (hidraw, "device"),
++              if (!g_strcmp0 (g_udev_device_get_sysfs_path(g_udev_device_get_parent(hidraw)),
+                               parent_sysfs_path))
+                       receiver = hidraw;
+               else
index ebecd052f96e9fce55e81d46e70088ab65ce6140..107937e87c861a3b2da4eab53d4b2ebfda06f904 100644 (file)
@@ -2,11 +2,12 @@ Summary:      Power management service
 Summary(pl.UTF-8):     Usługa zarządzania energią
 Name:          upower
 Version:       0.9.20
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Libraries
 Source0:       http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # Source0-md5: f175984d142dc8d2353a7da609836b69
+Patch0:                %{name}-fixes.patch
 URL:           http://upower.freedesktop.org/
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
@@ -101,6 +102,7 @@ Dokumentacja API UPower.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gtkdocize}
This page took 0.074154 seconds and 4 git commands to generate.