summaryrefslogtreecommitdiff
path: root/openwrt/package/bluez-utils/patches
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-26 21:35:01 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-26 21:35:01 +0000
commit6df7acff9abc0043775f2683c877924bd15b857c (patch)
treead9240976968d2cc253913e8ce26dba6094c0e26 /openwrt/package/bluez-utils/patches
parent83e7893f56b490836826ff1590af375b8bb7792d (diff)
bluetooth fixes from Tomas Vanek
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1571 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/bluez-utils/patches')
-rw-r--r--openwrt/package/bluez-utils/patches/001-include_limits.patch22
-rw-r--r--openwrt/package/bluez-utils/patches/002-hcid_pin_helper.patch21
2 files changed, 43 insertions, 0 deletions
diff --git a/openwrt/package/bluez-utils/patches/001-include_limits.patch b/openwrt/package/bluez-utils/patches/001-include_limits.patch
new file mode 100644
index 0000000000..6f6cb824b4
--- /dev/null
+++ b/openwrt/package/bluez-utils/patches/001-include_limits.patch
@@ -0,0 +1,22 @@
+diff -ur bluez-utils-2.17.orig/hidd/sdp.c bluez-utils-2.17/hidd/sdp.c
+--- bluez-utils-2.17.orig/hidd/sdp.c 2005-05-09 20:33:24.000000000 +0200
++++ bluez-utils-2.17/hidd/sdp.c 2005-07-26 14:38:13.000000000 +0200
+@@ -39,6 +39,7 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/socket.h>
++#include <linux/limits.h>
+
+ #include <bluetooth/bluetooth.h>
+ #include <bluetooth/l2cap.h>
+diff -ur bluez-utils-2.17.orig/tools/hciconfig.c bluez-utils-2.17/tools/hciconfig.c
+--- bluez-utils-2.17.orig/tools/hciconfig.c 2005-05-09 20:33:24.000000000 +0200
++++ bluez-utils-2.17/tools/hciconfig.c 2005-07-26 14:34:29.000000000 +0200
+@@ -40,6 +40,7 @@
+ #include <getopt.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#include <linux/limits.h>
+
+ #include <bluetooth/bluetooth.h>
+ #include <bluetooth/hci.h>
diff --git a/openwrt/package/bluez-utils/patches/002-hcid_pin_helper.patch b/openwrt/package/bluez-utils/patches/002-hcid_pin_helper.patch
new file mode 100644
index 0000000000..17a7f36403
--- /dev/null
+++ b/openwrt/package/bluez-utils/patches/002-hcid_pin_helper.patch
@@ -0,0 +1,21 @@
+diff -ur bluez-utils-2.17.orig/hcid/hcid.conf bluez-utils-2.17/hcid/hcid.conf
+--- bluez-utils-2.17.orig/hcid/hcid.conf 2004-12-25 19:06:00.000000000 +0100
++++ bluez-utils-2.17/hcid/hcid.conf 2005-07-26 14:44:23.000000000 +0200
+@@ -23,7 +23,7 @@
+ pairing multi;
+
+ # PIN helper
+- pin_helper /usr/bin/bluepin;
++ pin_helper /etc/bluetooth/givepin;
+
+ # D-Bus PIN helper
+ #dbus_pin_helper;
+@@ -34,7 +34,7 @@
+ # Local device name
+ # %d - device id
+ # %h - host name
+- name "BlueZ (%d)";
++ name "OpenWRT";
+
+ # Local device class
+ class 0x3e0100;