summaryrefslogtreecommitdiff
path: root/package/bluez
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-06-13 19:49:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-06-13 19:49:29 +0200
commitc031bfdb6eb7d78e3747ca19516977a56fc8f71a (patch)
tree0293cffc11b517b3ecf2f976de5e9d2b287d26ba /package/bluez
parentdf099ef028d1d4a3df380c472f450dc7980a846b (diff)
fix some bulk build issues
Diffstat (limited to 'package/bluez')
-rw-r--r--package/bluez/patches/patch-tools_bccmd_c18
-rw-r--r--package/bluez/patches/patch-tools_hciattach_c18
2 files changed, 36 insertions, 0 deletions
diff --git a/package/bluez/patches/patch-tools_bccmd_c b/package/bluez/patches/patch-tools_bccmd_c
new file mode 100644
index 000000000..8278a834c
--- /dev/null
+++ b/package/bluez/patches/patch-tools_bccmd_c
@@ -0,0 +1,18 @@
+--- bluez-4.92.orig/tools/bccmd.c 2010-11-30 15:50:48.000000000 +0100
++++ bluez-4.92/tools/bccmd.c 2011-05-17 18:19:30.856601139 +0200
+@@ -1183,6 +1183,7 @@ int main(int argc, char *argv[])
+ case 115200: bcsp_rate = B115200; break;
+ case 230400: bcsp_rate = B230400; break;
+ case 460800: bcsp_rate = B460800; break;
++#if 0
+ case 500000: bcsp_rate = B500000; break;
+ case 576000: bcsp_rate = B576000; break;
+ case 921600: bcsp_rate = B921600; break;
+@@ -1202,6 +1203,7 @@ int main(int argc, char *argv[])
+ #ifdef B4000000
+ case 4000000: bcsp_rate = B4000000; break;
+ #endif
++#endif
+ default:
+ printf("Unknown BCSP baud rate specified, defaulting to 38400bps\n");
+ bcsp_rate = B38400;
diff --git a/package/bluez/patches/patch-tools_hciattach_c b/package/bluez/patches/patch-tools_hciattach_c
new file mode 100644
index 000000000..45c8e2e7f
--- /dev/null
+++ b/package/bluez/patches/patch-tools_hciattach_c
@@ -0,0 +1,18 @@
+--- bluez-4.92.orig/tools/hciattach.c 2010-11-30 15:50:48.000000000 +0100
++++ bluez-4.92/tools/hciattach.c 2011-05-17 18:18:20.776610031 +0200
+@@ -107,6 +107,7 @@ static int uart_speed(int s)
+ return B230400;
+ case 460800:
+ return B460800;
++#if 0
+ case 500000:
+ return B500000;
+ case 576000:
+@@ -137,6 +138,7 @@ static int uart_speed(int s)
+ case 4000000:
+ return B4000000;
+ #endif
++#endif
+ default:
+ return B57600;
+ }