Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (680ca1030ecf454e85564b342f002a59ec437b71)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (680ca1030ecf454e85564b342f002a59ec437b71)
  • Date: Wed, 6 Mar 2024 20:20:04 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

utils/bluez5/HISTORY | 4
utils/bluez5/patches/0001-Fix-missing-inclusion-of-limits.h.patch | 316
++++++++++
2 files changed, 320 insertions(+)

New commits:
commit 680ca1030ecf454e85564b342f002a59ec437b71
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

bluez5: Fix build against musl libc

diff --git a/utils/bluez5/HISTORY b/utils/bluez5/HISTORY
index ab55ae4..d2eb589 100644
--- a/utils/bluez5/HISTORY
+++ b/utils/bluez5/HISTORY
@@ -1,3 +1,7 @@
+2024-03-06 Ismael Luceno <ismael AT sourcemage.org>
+ * patches/0001-Fix-missing-inclusion-of-limits.h.patch:
+ fixed build against musl libc
+
2024-01-13 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 5.72

diff --git
a/utils/bluez5/patches/0001-Fix-missing-inclusion-of-limits.h.patch
b/utils/bluez5/patches/0001-Fix-missing-inclusion-of-limits.h.patch
new file mode 100644
index 0000000..c950613
--- /dev/null
+++ b/utils/bluez5/patches/0001-Fix-missing-inclusion-of-limits.h.patch
@@ -0,0 +1,316 @@
+From 3b83de4edc51417ba7fec4701f531fb587852be8 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Wed, 6 Mar 2024 21:11:42 +0100
+Subject: [PATCH] Fix missing inclusion of <limits.h>
+
+Needed for PATH_MAX.
+
+Upstream-Status: Pending
+Origin: Source Mage
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ android/ipc-tester.c | 1 +
+ android/system-emulator.c | 1 +
+ android/tester-main.c | 1 +
+ client/mgmt.c | 1 +
+ emulator/serial.c | 1 +
+ emulator/vhci.c | 1 +
+ monitor/att.c | 2 +-
+ peripheral/efivars.c | 1 +
+ profiles/audio/a2dp.c | 1 +
+ src/adapter.c | 1 +
+ src/device.c | 1 +
+ src/gatt-database.c | 1 +
+ src/main.c | 1 +
+ src/rfkill.c | 1 +
+ src/storage.c | 1 +
+ src/textfile.c | 1 +
+ tools/bluemoon.c | 1 +
+ tools/hciattach.c | 1 +
+ tools/hciattach_ath3k.c | 1 +
+ tools/hciattach_intel.c | 1 +
+ tools/hciattach_st.c | 1 +
+ tools/hciattach_ti.c | 1 +
+ tools/test-runner.c | 1 +
+ 23 files changed, 23 insertions(+), 1 deletion(-)
+
+diff --git a/android/ipc-tester.c b/android/ipc-tester.c
+index 780e1dc4ce1c..68e2ad10e747 100644
+--- a/android/ipc-tester.c
++++ b/android/ipc-tester.c
+@@ -17,6 +17,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <poll.h>
++#include <limits.h>
+
+ #include <sys/socket.h>
+ #include <sys/types.h>
+diff --git a/android/system-emulator.c b/android/system-emulator.c
+index bf1499df0957..50bb088d3188 100644
+--- a/android/system-emulator.c
++++ b/android/system-emulator.c
+@@ -19,6 +19,7 @@
+ #include <stdlib.h>
+ #include <signal.h>
+ #include <string.h>
++#include <limits.h>
+ #include <libgen.h>
+ #include <poll.h>
+ #include <sys/wait.h>
+diff --git a/android/tester-main.c b/android/tester-main.c
+index 317c1de06463..361c519ef5a3 100644
+--- a/android/tester-main.c
++++ b/android/tester-main.c
+@@ -7,6 +7,7 @@
+ #define _GNU_SOURCE
+ #include <stdbool.h>
+ #include <unistd.h>
++#include <limits.h>
+ #include <libgen.h>
+
+ #include <sys/un.h>
+diff --git a/client/mgmt.c b/client/mgmt.c
+index 44bf4d2019ea..fba409f823ef 100644
+--- a/client/mgmt.c
++++ b/client/mgmt.c
+@@ -17,6 +17,7 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <limits.h>
+ #include <sys/types.h>
+ #include <sys/param.h>
+ #include <sys/socket.h>
+diff --git a/emulator/serial.c b/emulator/serial.c
+index c9e6d7cd67c8..b74556b13547 100644
+--- a/emulator/serial.c
++++ b/emulator/serial.c
+@@ -21,6 +21,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/param.h>
+ #include <sys/epoll.h>
+ #include <sys/uio.h>
+diff --git a/emulator/vhci.c b/emulator/vhci.c
+index 355ab63897dc..cab35354549e 100644
+--- a/emulator/vhci.c
++++ b/emulator/vhci.c
+@@ -23,6 +23,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <dirent.h>
++#include <limits.h>
+
+ #include "lib/bluetooth.h"
+ #include "lib/hci.h"
+diff --git a/monitor/att.c b/monitor/att.c
+index 4628db44b139..f85c9408a89f 100644
+--- a/monitor/att.c
++++ b/monitor/att.c
+@@ -22,7 +22,7 @@
+ #include <inttypes.h>
+ #include <stdbool.h>
+ #include <errno.h>
+-#include <linux/limits.h>
++#include <limits.h>
+ #include <sys/stat.h>
+
+ #include <glib.h>
+diff --git a/peripheral/efivars.c b/peripheral/efivars.c
+index 987572b63968..d4e724e2ded6 100644
+--- a/peripheral/efivars.c
++++ b/peripheral/efivars.c
+@@ -20,6 +20,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <stdint.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/param.h>
+diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
+index b43161a13645..6dd27244f294 100644
+--- a/profiles/audio/a2dp.c
++++ b/profiles/audio/a2dp.c
+@@ -19,6 +19,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <errno.h>
++#include <limits.h>
+
+ #include <dbus/dbus.h>
+ #include <glib.h>
+diff --git a/src/adapter.c b/src/adapter.c
+index 4bcc464de656..e0024039230f 100644
+--- a/src/adapter.c
++++ b/src/adapter.c
+@@ -24,6 +24,7 @@
+ #include <sys/file.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
++#include <limits.h>
+
+ #include <glib.h>
+ #include <dbus/dbus.h>
+diff --git a/src/device.c b/src/device.c
+index aecceb100754..6125ec13ac63 100644
+--- a/src/device.c
++++ b/src/device.c
+@@ -22,6 +22,7 @@
+ #include <errno.h>
+ #include <dirent.h>
+ #include <time.h>
++#include <limits.h>
+ #include <sys/stat.h>
+
+ #include <glib.h>
+diff --git a/src/gatt-database.c b/src/gatt-database.c
+index 7221ffc87f0d..f9970f2207e4 100644
+--- a/src/gatt-database.c
++++ b/src/gatt-database.c
+@@ -16,6 +16,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <unistd.h>
++#include <limits.h>
+
+ #include "lib/bluetooth.h"
+ #include "lib/sdp.h"
+diff --git a/src/main.c b/src/main.c
+index b1339c2306db..287d571e87d4 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -22,6 +22,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <stdbool.h>
++#include <limits.h>
+ #include <sys/signalfd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+diff --git a/src/rfkill.c b/src/rfkill.c
+index a0a50d9e45d9..bbf7eb7b2ec5 100644
+--- a/src/rfkill.c
++++ b/src/rfkill.c
+@@ -20,6 +20,7 @@
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <limits.h>
+
+ #include <glib.h>
+
+diff --git a/src/storage.c b/src/storage.c
+index 6e69be978b46..187ba156ce6c 100644
+--- a/src/storage.c
++++ b/src/storage.c
+@@ -21,6 +21,7 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <time.h>
++#include <limits.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
+
+diff --git a/src/textfile.c b/src/textfile.c
+index a5b9e73a6421..313098f38c6e 100644
+--- a/src/textfile.c
++++ b/src/textfile.c
+@@ -21,6 +21,7 @@
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <string.h>
++#include <limits.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+diff --git a/tools/bluemoon.c b/tools/bluemoon.c
+index f50107a2a7e3..9aaf6428da42 100644
+--- a/tools/bluemoon.c
++++ b/tools/bluemoon.c
+@@ -18,6 +18,7 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <limits.h>
+ #include <getopt.h>
+ #include <sys/stat.h>
+ #include <sys/param.h>
+diff --git a/tools/hciattach.c b/tools/hciattach.c
+index 276a4e56ef9d..adf79baf6ebd 100644
+--- a/tools/hciattach.c
++++ b/tools/hciattach.c
+@@ -26,6 +26,7 @@
+ #include <termios.h>
+ #include <time.h>
+ #include <poll.h>
++#include <limits.h>
+ #include <sys/time.h>
+ #include <sys/param.h>
+ #include <sys/ioctl.h>
+diff --git a/tools/hciattach_ath3k.c b/tools/hciattach_ath3k.c
+index d119155bb53b..8922b480f629 100644
+--- a/tools/hciattach_ath3k.c
++++ b/tools/hciattach_ath3k.c
+@@ -16,6 +16,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <time.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+diff --git a/tools/hciattach_intel.c b/tools/hciattach_intel.c
+index e243b3d07c5e..b68678991bf9 100644
+--- a/tools/hciattach_intel.c
++++ b/tools/hciattach_intel.c
+@@ -19,6 +19,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/param.h>
+ #include <sys/ioctl.h>
+ #include <time.h>
+diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c
+index 4a7186aa6633..def761305944 100644
+--- a/tools/hciattach_st.c
++++ b/tools/hciattach_st.c
+@@ -12,6 +12,7 @@
+ #include <config.h>
+ #endif
+
++#include <limits.h>
+ #include <stdio.h>
+ #include <errno.h>
+ #include <fcntl.h>
+diff --git a/tools/hciattach_ti.c b/tools/hciattach_ti.c
+index 24efceaa1ae5..c0a0025ff888 100644
+--- a/tools/hciattach_ti.c
++++ b/tools/hciattach_ti.c
+@@ -14,6 +14,7 @@
+ #endif
+
+ #define _GNU_SOURCE
++#include <limits.h>
+ #include <stdio.h>
+ #include <errno.h>
+ #include <unistd.h>
+diff --git a/tools/test-runner.c b/tools/test-runner.c
+index 243eab468e6f..499395631053 100644
+--- a/tools/test-runner.c
++++ b/tools/test-runner.c
+@@ -23,6 +23,7 @@
+ #include <string.h>
+ #include <getopt.h>
+ #include <poll.h>
++#include <limits.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+--
+2.43.0
+


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (680ca1030ecf454e85564b342f002a59ec437b71), Ismael Luceno, 03/06/2024

Archive powered by MHonArc 2.6.24.

Top of Page