aboutsummaryrefslogtreecommitdiff
path: root/utils/bluez/patches
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-02-20 16:02:15 -0800
committerIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-02-20 16:02:15 -0800
commit5d8d4fbbcb5c5de9370711c19bb3510210989a98 (patch)
treed0754921833f413b7eb93fb6bb1b1c8a22fb0498 /utils/bluez/patches
parentd651082447b4392399a40ea1ae11d0bce4bfe83a (diff)
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Diffstat (limited to 'utils/bluez/patches')
-rw-r--r--utils/bluez/patches/001-bcm43xx-Add-bcm43xx-3wire-variant.patch6
-rw-r--r--utils/bluez/patches/002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch6
-rw-r--r--utils/bluez/patches/003-Increase-firmware-load-timeout-to-30s.patch6
-rw-r--r--utils/bluez/patches/004-Move-the-43xx-firmware-into-lib-firmware.patch6
-rw-r--r--utils/bluez/patches/201-readline.patch6
-rw-r--r--utils/bluez/patches/202-fix-endianness.patch6
-rw-r--r--utils/bluez/patches/203-obexd_without_systemd.patch14
-rw-r--r--utils/bluez/patches/205-refresh_adv_manager_for_non-LE_devices.patch6
8 files changed, 18 insertions, 38 deletions
diff --git a/utils/bluez/patches/001-bcm43xx-Add-bcm43xx-3wire-variant.patch b/utils/bluez/patches/001-bcm43xx-Add-bcm43xx-3wire-variant.patch
index 070ed5841..2a3510b6f 100644
--- a/utils/bluez/patches/001-bcm43xx-Add-bcm43xx-3wire-variant.patch
+++ b/utils/bluez/patches/001-bcm43xx-Add-bcm43xx-3wire-variant.patch
@@ -7,10 +7,8 @@ Subject: [PATCH 1/4] bcm43xx: Add bcm43xx-3wire variant
tools/hciattach.c | 3 +++
1 file changed, 3 insertions(+)
-Index: bluez-5.51/tools/hciattach.c
-===================================================================
---- bluez-5.51.orig/tools/hciattach.c
-+++ bluez-5.51/tools/hciattach.c
+--- a/tools/hciattach.c
++++ b/tools/hciattach.c
@@ -1091,6 +1091,9 @@ struct uart_t uart[] = {
{ "bcm43xx", 0x0000, 0x0000, HCI_UART_H4, 115200, 3000000,
FLOW_CTL, DISABLE_PM, NULL, bcm43xx, NULL },
diff --git a/utils/bluez/patches/002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch b/utils/bluez/patches/002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
index 0ae7d15cd..4b68f07bb 100644
--- a/utils/bluez/patches/002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
+++ b/utils/bluez/patches/002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
@@ -8,10 +8,8 @@ Subject: [PATCH 2/4] bcm43xx: The UART speed must be reset after the firmware
tools/hciattach_bcm43xx.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
-Index: bluez-5.51/tools/hciattach_bcm43xx.c
-===================================================================
---- bluez-5.51.orig/tools/hciattach_bcm43xx.c
-+++ bluez-5.51/tools/hciattach_bcm43xx.c
+--- a/tools/hciattach_bcm43xx.c
++++ b/tools/hciattach_bcm43xx.c
@@ -367,11 +367,8 @@ int bcm43xx_init(int fd, int def_speed,
return -1;
diff --git a/utils/bluez/patches/003-Increase-firmware-load-timeout-to-30s.patch b/utils/bluez/patches/003-Increase-firmware-load-timeout-to-30s.patch
index e66ac5e53..b99976643 100644
--- a/utils/bluez/patches/003-Increase-firmware-load-timeout-to-30s.patch
+++ b/utils/bluez/patches/003-Increase-firmware-load-timeout-to-30s.patch
@@ -7,10 +7,8 @@ Subject: [PATCH 3/4] Increase firmware load timeout to 30s
tools/hciattach.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: bluez-5.51/tools/hciattach.c
-===================================================================
---- bluez-5.51.orig/tools/hciattach.c
-+++ bluez-5.51/tools/hciattach.c
+--- a/tools/hciattach.c
++++ b/tools/hciattach.c
@@ -1240,7 +1240,7 @@ int main(int argc, char *argv[])
{
struct uart_t *u = NULL;
diff --git a/utils/bluez/patches/004-Move-the-43xx-firmware-into-lib-firmware.patch b/utils/bluez/patches/004-Move-the-43xx-firmware-into-lib-firmware.patch
index b86dc8363..355f17b6d 100644
--- a/utils/bluez/patches/004-Move-the-43xx-firmware-into-lib-firmware.patch
+++ b/utils/bluez/patches/004-Move-the-43xx-firmware-into-lib-firmware.patch
@@ -7,10 +7,8 @@ Subject: [PATCH 4/4] Move the 43xx firmware into /lib/firmware
tools/hciattach_bcm43xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: bluez-5.51/tools/hciattach_bcm43xx.c
-===================================================================
---- bluez-5.51.orig/tools/hciattach_bcm43xx.c
-+++ bluez-5.51/tools/hciattach_bcm43xx.c
+--- a/tools/hciattach_bcm43xx.c
++++ b/tools/hciattach_bcm43xx.c
@@ -44,7 +44,7 @@
#include "hciattach.h"
diff --git a/utils/bluez/patches/201-readline.patch b/utils/bluez/patches/201-readline.patch
index 089604fc9..e0dc08c76 100644
--- a/utils/bluez/patches/201-readline.patch
+++ b/utils/bluez/patches/201-readline.patch
@@ -1,7 +1,5 @@
-Index: bluez-5.54/Makefile.in
-===================================================================
---- bluez-5.54.orig/Makefile.in
-+++ bluez-5.54/Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
@@ -3214,7 +3214,7 @@ unit_tests = $(am__append_54) unit/test-
@CLIENT_TRUE@ client/gatt.h client/gatt.c
diff --git a/utils/bluez/patches/202-fix-endianness.patch b/utils/bluez/patches/202-fix-endianness.patch
index 34b42cbfa..a92cdd04a 100644
--- a/utils/bluez/patches/202-fix-endianness.patch
+++ b/utils/bluez/patches/202-fix-endianness.patch
@@ -1,7 +1,5 @@
-Index: bluez-5.53/src/shared/util.h
-===================================================================
---- bluez-5.53.orig/src/shared/util.h
-+++ bluez-5.53/src/shared/util.h
+--- a/src/shared/util.h
++++ b/src/shared/util.h
@@ -26,6 +26,7 @@
#include <alloca.h>
#include <byteswap.h>
diff --git a/utils/bluez/patches/203-obexd_without_systemd.patch b/utils/bluez/patches/203-obexd_without_systemd.patch
index 9e3761f92..c79ce3e77 100644
--- a/utils/bluez/patches/203-obexd_without_systemd.patch
+++ b/utils/bluez/patches/203-obexd_without_systemd.patch
@@ -16,10 +16,8 @@ directly, and to do so it needs the full path of the daemon.
delete mode 100644 obexd/src/org.bluez.obex.service
create mode 100644 obexd/src/org.bluez.obex.service.in
-Index: bluez-5.51/Makefile.obexd
-===================================================================
---- bluez-5.51.orig/Makefile.obexd
-+++ bluez-5.51/Makefile.obexd
+--- a/Makefile.obexd
++++ b/Makefile.obexd
@@ -1,12 +1,12 @@
if SYSTEMD
systemduserunitdir = $(SYSTEMD_USERUNITDIR)
@@ -35,19 +33,15 @@ Index: bluez-5.51/Makefile.obexd
if OBEX
-Index: bluez-5.51/obexd/src/org.bluez.obex.service
-===================================================================
---- bluez-5.51.orig/obexd/src/org.bluez.obex.service
+--- a/obexd/src/org.bluez.obex.service
+++ /dev/null
@@ -1,4 +0,0 @@
-[D-BUS Service]
-Name=org.bluez.obex
-Exec=/bin/false
-SystemdService=dbus-org.bluez.obex.service
-Index: bluez-5.51/obexd/src/org.bluez.obex.service.in
-===================================================================
--- /dev/null
-+++ bluez-5.51/obexd/src/org.bluez.obex.service.in
++++ b/obexd/src/org.bluez.obex.service.in
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=org.bluez.obex
diff --git a/utils/bluez/patches/205-refresh_adv_manager_for_non-LE_devices.patch b/utils/bluez/patches/205-refresh_adv_manager_for_non-LE_devices.patch
index f0fc7dcd8..ed45f98cd 100644
--- a/utils/bluez/patches/205-refresh_adv_manager_for_non-LE_devices.patch
+++ b/utils/bluez/patches/205-refresh_adv_manager_for_non-LE_devices.patch
@@ -32,10 +32,8 @@ This commit prevents the call to btd_adv_manager_refresh for non-LE devices.
src/adapter.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-Index: bluez-5.54/src/adapter.c
-===================================================================
---- bluez-5.54.orig/src/adapter.c
-+++ bluez-5.54/src/adapter.c
+--- a/src/adapter.c
++++ b/src/adapter.c
@@ -567,7 +567,8 @@ static void settings_changed(struct btd_
g_dbus_emit_property_changed(dbus_conn, adapter->path,
ADAPTER_INTERFACE, "Discoverable");