Skip to contentSkip to conversation

package/bluez5_utils: remove autoreconf

PATCH New Bernd Kuhls 2 participants 3 messages May 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/bluez5_utils: remove autoreconf

0001-Link-mcaptest-with-lrt.patch was removed 2016-01-05:
https://git.busybox.net/buildroot/commit/package/bluez5_utils?id=e2274856123fcc387df95675d7a66eb2c576eaa2

---
 package/bluez5_utils/bluez5_utils.mk | 3 ---
 1 file changed, 3 deletions(-)
package/bluez5_utils/bluez5_utils.mk +0 -3
index 659f05d..ddc8c45 100644
@@ -12,9 +12,6 @@ BLUEZ5_UTILS_DEPENDENCIES = dbus libglib2
 BLUEZ5_UTILS_LICENSE = GPLv2+, LGPLv2.1+
 BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB
 
-# 0001-Link-mcaptest-with-lrt.patch
-BLUEZ5_UTILS_AUTORECONF = YES
-
 BLUEZ5_UTILS_CONF_OPTS = 	\
 	--enable-tools 		\
 	--enable-library 	\
Signature · 1 line
2.8.1
#1 lore raw

PATCH 2/2 package/bluez5_utils: tools/bneptest.c: Remove include linux/if_bridge.h to fix musl build

Fixes
http://autobuild.buildroot.net/results/eba/ebaa0bcb9c325aa6ed0bbd6c7ec75d44befa7645/

---
 ...est.c-Remove-include-linux-if_bridge.h-to.patch | 45 ++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 package/bluez5_utils/0001-tools-bneptest.c-Remove-include-linux-if_bridge.h-to.patch
package/bluez5_utils/0001-tools-bneptest.c-Remove-include-linux-if_bridge.h-to.patch new file +45 -0
new file mode 100644
index 0000000..e8a3ff4
@@ -0,0 +1,45 @@
+From 7c136b4f1941e5bb2a6c8d93985c5734c6aefb29 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <[email protected]>
+Date: Sun, 22 May 2016 09:48:57 +0200
+Subject: [PATCH 1/1] tools/bneptest.c: Remove include linux/if_bridge.h to fix
+ musl build
+
+Inspired by busybox commit:
+https://git.busybox.net/busybox/commit/networking/brctl.c?id=5fa6d1a632505789409a2ba6cf8e112529f9db18
+
+The build error was found by the autobuilders of the buildroot project:
+http://autobuild.buildroot.net/results/eba/ebaa0bcb9c325aa6ed0bbd6c7ec75d44befa7645/build-end.log
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+(Patch sent upstream:
+ http://article.gmane.org/gmane.linux.bluez.kernel/67621)
+---
+ tools/bneptest.c | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/tools/bneptest.c b/tools/bneptest.c
+index 1404252..b832d72 100644
+--- a/tools/bneptest.c
++++ b/tools/bneptest.c
+@@ -36,7 +36,17 @@
+ #include <net/if.h>
+ #include <linux/sockios.h>
+ #include <netinet/in.h>
+-#include <linux/if_bridge.h>
++/* #include <linux/if_bridge.h>
++ * breaks on musl: we already included netinet/in.h,
++ * if we also include <linux/if_bridge.h> here, we get this:
++ * In file included from /usr/include/linux/if_bridge.h:18,
++ *                  from networking/brctl.c:67:
++ * /usr/include/linux/in6.h:32: error: redefinition of 'struct in6_addr'
++ * /usr/include/linux/in6.h:49: error: redefinition of 'struct sockaddr_in6'
++ * /usr/include/linux/in6.h:59: error: redefinition of 'struct ipv6_mreq'
++ */
++/* From <linux/if_bridge.h> */
++#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8
+ 
+ #include <glib.h>
+ 
+-- 
+2.8.1
+
Signature · 1 line
2.8.1
#2 lore raw

PATCH 1/2 package/bluez5_utils: remove autoreconf

In reply to Bernd Kuhls

Hello,

Quoted 7 lines · Bernd Kuhls

0001-Link-mcaptest-with-lrt.patch was removed 2016-01-05:
https://git.busybox.net/buildroot/commit/package/bluez5_utils?id=e2274856123fcc387df95675d7a66eb2c576eaa2

---
 package/bluez5_utils/bluez5_utils.mk | 3 ---
 1 file changed, 3 deletions(-)

Both patches applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com