]> git.pld-linux.org Git - packages/bluez.git/commitdiff
- rel 6 auto/th/bluez-4_99-6
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Jun 2012 15:32:49 +0000 (15:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- udev_get_sys_path is deprecated and has been removed in udev 183

Changed files:
    bluez.spec -> 1.91
    udev-deprecated.patch -> 1.1

bluez.spec
udev-deprecated.patch [new file with mode: 0644]

index a4f4a70146556b23212dad859b6c5177f7eb7bc7..44db24a6d73f2c241255f9ae0cdd8c4c4df642d4 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Bluetooth utilities
 Summary(pl.UTF-8):     Narzędzia Bluetooth
 Name:          bluez
 Version:       4.99
-Release:       5
+Release:       6
 License:       GPL v2+
 Group:         Applications/System
 #Source0Download: http://www.bluez.org/download.html
@@ -17,6 +17,7 @@ Patch0:               %{name}-etc_dir.patch
 Patch1:                %{name}-wacom-mode-2.patch
 Patch2:                %{name}-systemd.patch
 Patch3:                %{name}-audio_socket.patch
+Patch4:                udev-deprecated.patch
 URL:           http://www.bluez.org/
 BuildRequires: alsa-lib-devel >= 1.0.10-1
 BuildRequires: autoconf >= 2.60
@@ -181,6 +182,7 @@ aplikacji Bluetooth.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
diff --git a/udev-deprecated.patch b/udev-deprecated.patch
new file mode 100644 (file)
index 0000000..8e4b3e8
--- /dev/null
@@ -0,0 +1,11 @@
+--- bluez-4.99/tools/hid2hci.c~        2011-05-03 10:20:36.000000000 +0200
++++ bluez-4.99/tools/hid2hci.c 2012-06-02 17:30:34.286326842 +0200
+@@ -291,7 +291,7 @@
+       if (udev == NULL)
+               goto exit;
+-      snprintf(syspath, sizeof(syspath), "%s/%s", udev_get_sys_path(udev), devpath);
++      snprintf(syspath, sizeof(syspath), "/sys/%s", devpath);
+       udev_dev = udev_device_new_from_syspath(udev, syspath);
+       if (udev_dev == NULL) {
+               fprintf(stderr, "error: could not find '%s'\n", devpath);
This page took 0.039283 seconds and 4 git commands to generate.