summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus/0001-configure.ac-explicitely-check-stdint.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dbus/dbus/0001-configure.ac-explicitely-check-stdint.h.patch')
-rw-r--r--meta/recipes-core/dbus/dbus/0001-configure.ac-explicitely-check-stdint.h.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus/0001-configure.ac-explicitely-check-stdint.h.patch b/meta/recipes-core/dbus/dbus/0001-configure.ac-explicitely-check-stdint.h.patch
new file mode 100644
index 0000000000..85acb7b1ca
--- /dev/null
+++ b/meta/recipes-core/dbus/dbus/0001-configure.ac-explicitely-check-stdint.h.patch
@@ -0,0 +1,38 @@
1From 1bfde222926be624a30a6e4b2cdc2c5064a36298 Mon Sep 17 00:00:00 2001
2From: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
3Date: Fri, 29 Jul 2016 01:19:37 +0300
4Subject: [PATCH] configure.ac: explicitely check stdint.h
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Otherwise HAVE_STDINT_H will not be defined or the var will not be
10picked up from cache so builds could fail with errors like:
11| ../../dbus-1.10.8/dbus/dbus-internals.h:239:8: error: ‘uintptr_t’ undeclared (first use in this function)
12
13Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
14[smcv: fix Autoconf underquoting]
15Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
16
17Upstream-Status: Backport [from dbus-1.10]
18
19---
20 configure.ac | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/configure.ac b/configure.ac
24index cf5c5b9..a228d63 100644
25--- a/configure.ac
26+++ b/configure.ac
27@@ -699,6 +699,8 @@ AC_CHECK_HEADERS(byteswap.h)
28
29 AC_CHECK_HEADERS(unistd.h)
30
31+AC_CHECK_HEADERS([stdint.h])
32+
33 AC_CHECK_HEADERS(ws2tcpip.h)
34
35 AC_CHECK_HEADERS(alloca.h)
36--
372.9.2
38