summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-01-19 09:17:18 +0100
committerPacho Ramos <pacho@gentoo.org>2019-01-19 09:56:23 +0100
commitd24e675eb6f2d5c6db5de9bab734a4340e4dbc01 (patch)
treeb6f2dc735efcba94716c36df6668f8341f96a3c4 /net-wireless
parentdev-ruby/trollop: add ruby26 (diff)
downloadgentoo-d24e675eb6f2d5c6db5de9bab734a4340e4dbc01.tar.gz
gentoo-d24e675eb6f2d5c6db5de9bab734a4340e4dbc01.tar.bz2
gentoo-d24e675eb6f2d5c6db5de9bab734a4340e4dbc01.zip
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 <pacho@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/bluez/bluez-5.50-r1.ebuild3
-rw-r--r--net-wireless/bluez/files/bluez-5.50-btpclient-header.patch10
2 files changed, 13 insertions, 0 deletions
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 <stdlib.h>
+ #include <assert.h>
+ #include <getopt.h>
++#include <signal.h>
+
+ #include <ell/ell.h>