From ca463b87887d8151b83d222dc35d461991c1dd63 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 21 Dec 2013 21:37:59 +0100 Subject: another musl fix round --- package/bluez/patches/patch-Makefile_am | 10 ++++++++++ package/bluez/patches/patch-Makefile_in | 11 +++++++++++ package/bluez/patches/patch-plugins_wiimote_c | 10 ++++++++++ package/bluez/patches/patch-profiles_network_bnep_c | 10 ++++++++++ package/bluez/patches/patch-tools_bccmd_c | 8 ++++---- package/bluez/patches/patch-tools_csr_usb_c | 10 ++++++++++ package/bluez/patches/patch-tools_hciattach_c | 8 ++++---- package/bluez/patches/patch-tools_hciconfig_c | 10 ++++++++++ package/bluez/patches/patch-unit_test-sdp_c | 15 +++++++++++++++ 9 files changed, 84 insertions(+), 8 deletions(-) create mode 100644 package/bluez/patches/patch-Makefile_am create mode 100644 package/bluez/patches/patch-Makefile_in create mode 100644 package/bluez/patches/patch-plugins_wiimote_c create mode 100644 package/bluez/patches/patch-profiles_network_bnep_c create mode 100644 package/bluez/patches/patch-tools_csr_usb_c create mode 100644 package/bluez/patches/patch-tools_hciconfig_c create mode 100644 package/bluez/patches/patch-unit_test-sdp_c (limited to 'package/bluez/patches') diff --git a/package/bluez/patches/patch-Makefile_am b/package/bluez/patches/patch-Makefile_am new file mode 100644 index 000000000..ab4c015af --- /dev/null +++ b/package/bluez/patches/patch-Makefile_am @@ -0,0 +1,10 @@ +--- bluez-5.12.orig/Makefile.am 2013-12-10 07:59:06.000000000 +0100 ++++ bluez-5.12/Makefile.am 2013-12-21 20:18:52.000000000 +0100 +@@ -245,6 +245,7 @@ unit_tests += unit/test-sdp + + unit_test_sdp_SOURCES = unit/test-sdp.c \ + src/shared/util.h src/shared/util.c \ ++ src/log.h src/log.c \ + src/sdpd.h src/sdpd-database.c \ + src/sdpd-service.c src/sdpd-request.c + unit_test_sdp_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ diff --git a/package/bluez/patches/patch-Makefile_in b/package/bluez/patches/patch-Makefile_in new file mode 100644 index 000000000..d1abdecec --- /dev/null +++ b/package/bluez/patches/patch-Makefile_in @@ -0,0 +1,11 @@ +--- bluez-5.12.orig/Makefile.in 2013-12-10 07:59:32.000000000 +0100 ++++ bluez-5.12/Makefile.in 2013-12-21 20:02:59.000000000 +0100 +@@ -157,7 +157,7 @@ DIST_COMMON = README $(am__configure_dep + @ANDROID_TRUE@ android/bluetoothd android/haltest + @ANDROID_TRUE@am__append_30 = android/libhal-internal.la + @HID2HCI_TRUE@am__append_31 = $(rules_DATA) +-TESTS = $(am__EXEEXT_8) ++TESTS = + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ diff --git a/package/bluez/patches/patch-plugins_wiimote_c b/package/bluez/patches/patch-plugins_wiimote_c new file mode 100644 index 000000000..30ba5e647 --- /dev/null +++ b/package/bluez/patches/patch-plugins_wiimote_c @@ -0,0 +1,10 @@ +--- bluez-5.12.orig/plugins/wiimote.c 2013-12-10 07:59:06.000000000 +0100 ++++ bluez-5.12/plugins/wiimote.c 2013-12-21 19:29:22.000000000 +0100 +@@ -28,6 +28,7 @@ + #include + + #include ++#include + #include + + #include "plugin.h" diff --git a/package/bluez/patches/patch-profiles_network_bnep_c b/package/bluez/patches/patch-profiles_network_bnep_c new file mode 100644 index 000000000..5423f4e45 --- /dev/null +++ b/package/bluez/patches/patch-profiles_network_bnep_c @@ -0,0 +1,10 @@ +--- bluez-5.12.orig/profiles/network/bnep.c 2013-12-10 07:59:06.000000000 +0100 ++++ bluez-5.12/profiles/network/bnep.c 2013-12-21 19:31:52.000000000 +0100 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/package/bluez/patches/patch-tools_bccmd_c b/package/bluez/patches/patch-tools_bccmd_c index 8278a834c..d9ac8ac35 100644 --- a/package/bluez/patches/patch-tools_bccmd_c +++ b/package/bluez/patches/patch-tools_bccmd_c @@ -1,6 +1,6 @@ ---- 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[]) +--- bluez-5.12.orig/tools/bccmd.c 2013-09-16 10:36:07.000000000 +0200 ++++ bluez-5.12/tools/bccmd.c 2013-12-21 19:19:21.000000000 +0100 +@@ -1159,6 +1159,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; @@ -8,7 +8,7 @@ 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[]) +@@ -1178,6 +1179,7 @@ int main(int argc, char *argv[]) #ifdef B4000000 case 4000000: bcsp_rate = B4000000; break; #endif diff --git a/package/bluez/patches/patch-tools_csr_usb_c b/package/bluez/patches/patch-tools_csr_usb_c new file mode 100644 index 000000000..509061b56 --- /dev/null +++ b/package/bluez/patches/patch-tools_csr_usb_c @@ -0,0 +1,10 @@ +--- bluez-5.12.orig/tools/csr_usb.c 2013-09-16 10:36:07.000000000 +0200 ++++ bluez-5.12/tools/csr_usb.c 2013-12-21 19:22:48.000000000 +0100 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/package/bluez/patches/patch-tools_hciattach_c b/package/bluez/patches/patch-tools_hciattach_c index 45c8e2e7f..1021bb9f1 100644 --- a/package/bluez/patches/patch-tools_hciattach_c +++ b/package/bluez/patches/patch-tools_hciattach_c @@ -1,6 +1,6 @@ ---- 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) +--- bluez-5.12.orig/tools/hciattach.c 2012-12-24 18:46:55.000000000 +0100 ++++ bluez-5.12/tools/hciattach.c 2013-12-21 19:19:21.000000000 +0100 +@@ -101,6 +101,7 @@ static int uart_speed(int s) return B230400; case 460800: return B460800; @@ -8,7 +8,7 @@ case 500000: return B500000; case 576000: -@@ -137,6 +138,7 @@ static int uart_speed(int s) +@@ -135,6 +136,7 @@ static int uart_speed(int s) case 4000000: return B4000000; #endif diff --git a/package/bluez/patches/patch-tools_hciconfig_c b/package/bluez/patches/patch-tools_hciconfig_c new file mode 100644 index 000000000..6e137449c --- /dev/null +++ b/package/bluez/patches/patch-tools_hciconfig_c @@ -0,0 +1,10 @@ +--- bluez-5.12.orig/tools/hciconfig.c 2013-10-15 15:41:07.000000000 +0200 ++++ bluez-5.12/tools/hciconfig.c 2013-12-21 19:26:45.000000000 +0100 +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/package/bluez/patches/patch-unit_test-sdp_c b/package/bluez/patches/patch-unit_test-sdp_c new file mode 100644 index 000000000..355300b79 --- /dev/null +++ b/package/bluez/patches/patch-unit_test-sdp_c @@ -0,0 +1,15 @@ +--- bluez-5.12.orig/unit/test-sdp.c 2013-10-15 15:41:07.000000000 +0200 ++++ bluez-5.12/unit/test-sdp.c 2013-12-21 20:23:50.000000000 +0100 +@@ -128,12 +128,6 @@ static void sdp_debug(const char *str, v + g_print("%s%s\n", prefix, str); + } + +-void btd_debug(const char *format, ...); +- +-void btd_debug(const char *format, ...) +-{ +-} +- + static void context_quit(struct context *context) + { + g_main_loop_quit(context->main_loop); -- cgit v1.2.3