diff --git a/srcpkgs/bluez/patches/max-input.patch b/srcpkgs/bluez/patches/max-input.patch new file mode 100644 index 00000000000..f11c1684d82 --- /dev/null +++ b/srcpkgs/bluez/patches/max-input.patch @@ -0,0 +1,15 @@ +# Required for musl, taken from alpine: https://git.alpinelinux.org/aports/tree/main/bluez/max-input.patch +diff --git a/src/shared/util.c b/src/shared/util.c +index 0a0308c..a2b8c23 100644 +--- a/src/shared/util.c ++++ b/src/shared/util.c +@@ -65,7 +65,7 @@ void *util_memdup(const void *src, size_t size) + void util_debug_va(util_debug_func_t function, void *user_data, + const char *format, va_list va) + { +- char str[MAX_INPUT]; ++ char str[_POSIX_MAX_INPUT]; + + if (!function || !format) + return; + diff --git a/srcpkgs/bluez/template b/srcpkgs/bluez/template index fa05de5091f..d66ca51557f 100644 --- a/srcpkgs/bluez/template +++ b/srcpkgs/bluez/template @@ -1,6 +1,6 @@ # Template file for 'bluez' pkgname=bluez -version=5.65 +version=5.66 revision=1 build_style=gnu-configure configure_args="--with-udevdir=/usr/lib/udev --disable-systemd @@ -15,7 +15,7 @@ maintainer="Érico Nogueira " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://www.bluez.org/" distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz" -checksum=2565a4d48354b576e6ad92e25b54ed66808296581c8abb80587051f9993d96d4 +checksum=39fea64b590c9492984a0c27a89fc203e1cdc74866086efb8f4698677ab2b574 conf_files="/etc/bluetooth/main.conf" system_groups="bluetooth"