aports/main/bluez/basename.patch
2024-05-12 18:15:11 +02:00

25 lines
788 B
Diff

See https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106
diff -upr bluez-5.75.orig/mesh/rpl.c bluez-5.75/mesh/rpl.c
--- bluez-5.75.orig/mesh/rpl.c 2024-05-12 12:44:45.183126137 +0200
+++ bluez-5.75/mesh/rpl.c 2024-05-12 12:45:05.756509147 +0200
@@ -15,6 +15,7 @@
#define _GNU_SOURCE
#include <fcntl.h>
#include <limits.h>
+#include <libgen.h>
#include <stdio.h>
#include <unistd.h>
#include <dirent.h>
diff -upr bluez-5.75.orig/tools/hex2hcd.c bluez-5.75/tools/hex2hcd.c
--- bluez-5.75.orig/tools/hex2hcd.c 2024-05-12 12:47:29.033540002 +0200
+++ bluez-5.75/tools/hex2hcd.c 2024-05-12 12:47:38.530230930 +0200
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
+#include <libgen.h>
#include <getopt.h>
#include <dirent.h>
#include <stdint.h>