mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
bluez5: Fix for --enable-btpclient
Fixed: PACKAGECONFIG_append_pn-bluez5 = ' btpclient' $ bitbake bluez5 btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function) (From OE-Core rev: e72cd2950b38a5fc45908c9601679e601cf60559) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b514e1f0be
commit
123932ceaa
@@ -58,6 +58,7 @@ SRC_URI = "\
|
||||
file://CVE-2018-10910.patch \
|
||||
file://gcc9-fixes.patch \
|
||||
file://0001-tools-Fix-build-after-y2038-changes-in-glibc.patch \
|
||||
file://0001-tools-btpclient.c-include-signal.h.patch \
|
||||
"
|
||||
S = "${WORKDIR}/bluez-${PV}"
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From 0b1766514f6847c7367fce07f19a750ec74c11a6 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Yang <liezhi.yang@windriver.com>
|
||||
Date: Thu, 26 Sep 2019 16:19:34 +0800
|
||||
Subject: [PATCH] tools/btpclient.c: include signal.h
|
||||
|
||||
Fix compile failure when configure --enable-btpclient:
|
||||
btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)
|
||||
|
||||
Upstream-Status: Backport [A subset of the full fix that went upstream]
|
||||
|
||||
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
||||
---
|
||||
tools/btpclient.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tools/btpclient.c b/tools/btpclient.c
|
||||
index b217df5..aece7fe 100644
|
||||
--- a/tools/btpclient.c
|
||||
+++ b/tools/btpclient.c
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <getopt.h>
|
||||
+#include <signal.h>
|
||||
|
||||
#include <ell/ell.h>
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
Reference in New Issue
Block a user