summaryrefslogtreecommitdiff
path: root/extra/bluez/0001-udev-remove-deprecated-function.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /extra/bluez/0001-udev-remove-deprecated-function.patch
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'extra/bluez/0001-udev-remove-deprecated-function.patch')
-rw-r--r--extra/bluez/0001-udev-remove-deprecated-function.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/extra/bluez/0001-udev-remove-deprecated-function.patch b/extra/bluez/0001-udev-remove-deprecated-function.patch
deleted file mode 100644
index 7dadf5cd1..000000000
--- a/extra/bluez/0001-udev-remove-deprecated-function.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 9e850650bd98e9d05fc937489692b26a64924d16 Mon Sep 17 00:00:00 2001
-From: Tom Gundersen <teg@jklm.no>
-Date: Sun, 27 May 2012 00:53:36 +0200
-Subject: [PATCH] udev: remove deprecated function
-
-This function has in the past returned "/sys" unconditionally. As of udev-183 it
-is gone, so just replace it with the string.
----
- tools/hid2hci.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/hid2hci.c b/tools/hid2hci.c
-index 45a3a3d..e3a5b2e 100644
---- a/tools/hid2hci.c
-+++ b/tools/hid2hci.c
-@@ -291,7 +291,7 @@ int main(int argc, char *argv[])
- 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);
---
-1.7.10.2
-