diff --git a/srcpkgs/bluez/patches/musl.patch b/srcpkgs/bluez/patches/musl.patch new file mode 100644 index 00000000000..033a1165fd5 --- /dev/null +++ b/srcpkgs/bluez/patches/musl.patch @@ -0,0 +1,24 @@ +Including causes the inclusion of , +which defines 'struct in6_addr', already defined in . +Remove to fix musl build. + +--- tools/bneptest.c.orig 2015-07-30 21:17:18.000000000 +0200 ++++ tools/bneptest.c 2017-03-01 19:27:43.579458817 +0100 +@@ -36,7 +36,6 @@ + #include + #include + #include +-#include + + #include + +@@ -50,6 +49,9 @@ + #include "lib/bnep.h" + #include "profiles/network/bnep.h" + ++/* From */ ++#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8 ++ + enum { + MODE_LISTEN, + MODE_CONNECT,