From d24e675eb6f2d5c6db5de9bab734a4340e4dbc01 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 19 Jan 2019 09:17:18 +0100 Subject: [PATCH] net-wireless/bluez: Fix missing header build failure Thanks-to: Dennis Schridde Thanks-to: W. Duijvenvoorde Closes: https://bugs.gentoo.org/675362 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Pacho Ramos --- net-wireless/bluez/bluez-5.50-r1.ebuild | 3 +++ .../bluez/files/bluez-5.50-btpclient-header.patch | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 net-wireless/bluez/files/bluez-5.50-btpclient-header.patch diff --git a/net-wireless/bluez/bluez-5.50-r1.ebuild b/net-wireless/bluez/bluez-5.50-r1.ebuild index 176d40c87d0c..677e62aad26b 100644 --- a/net-wireless/bluez/bluez-5.50-r1.ebuild +++ b/net-wireless/bluez/bluez-5.50-r1.ebuild @@ -60,6 +60,9 @@ DOC_CONTENTS=" " PATCHES=( + # Fix missing header (fixed in 'master') + "${FILESDIR}"/${P}-btpclient-header.patch + # Use static group "plugdev" to not force people to become root for # controlling the devices. "${FILESDIR}"/${PN}-plugdev.patch diff --git a/net-wireless/bluez/files/bluez-5.50-btpclient-header.patch b/net-wireless/bluez/files/bluez-5.50-btpclient-header.patch new file mode 100644 index 000000000000..61a8e6a37424 --- /dev/null +++ b/net-wireless/bluez/files/bluez-5.50-btpclient-header.patch @@ -0,0 +1,10 @@ +diff -Nuar bluez-5.50/tools/btpclient.c bluez-5.50-fixed/tools/btpclient.c +--- bluez-5.50/tools/btpclient.c 2018-03-10 17:37:07.000000000 +0200 ++++ bluez-5.50-fixed/tools/btpclient.c 2018-11-18 09:54:38.916794492 +0200 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include -- 2.26.2