From 9e3759b15474c2854ae6e29965ae2f0e39999271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 19 Feb 2017 19:34:03 +0100 Subject: [PATCH] blueman: fix musl (hack) Fix a kernel-libc-headers-4.9.8 introduced problem with including linux/if_bridge.h trying to redefine musl libc defined structs. The only thing required is the "#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8". --- srcpkgs/blueman/patches/musl.patch | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/blueman/patches/musl.patch b/srcpkgs/blueman/patches/musl.patch index 8cffb20aeba..3ea89409d30 100644 --- a/srcpkgs/blueman/patches/musl.patch +++ b/srcpkgs/blueman/patches/musl.patch @@ -1,6 +1,6 @@ --- module/libblueman.c.orig 2016-03-27 09:13:07.203123088 +0200 +++ module/libblueman.c 2016-03-27 09:13:19.497969382 +0200 -@@ -28,6 +28,7 @@ +@@ -28,8 +28,13 @@ #include #include #include @@ -8,6 +8,12 @@ #include #include #include ++#if defined(__GLIBC__) + #include ++#else ++#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8 ++#endif + --- module/modem-prober.c.orig 2016-03-27 09:19:20.635454542 +0200 +++ module/modem-prober.c 2016-03-27 09:19:28.550355592 +0200 @@ -38,6 +38,10 @@ @@ -20,4 +26,3 @@ + static gboolean verbose = FALSE; - void set_probe_debug(gboolean debug) {