summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-02-02 10:16:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-06 11:06:28 +0000
commit85ddc66f3d5fecdfa8f95a68474cf33f5db0c795 (patch)
tree09aec7232fa8587bfa79320640aec9cd46f9b0ba /meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch
parentd75fc2b87817fc0203be7debc79b1136aa0a727d (diff)
downloadpoky-85ddc66f3d5fecdfa8f95a68474cf33f5db0c795.tar.gz
libbsd: update to 0.8.7
Drop 0001-Fix-for-older-GCCs-not-supporting-__has_include.patch as it had been merged upstream. Rebase 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch. (From OE-Core rev: 28ccf3a73f5dabf658c8dae5d9eabcb482d7f0bb) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch')
-rw-r--r--meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch b/meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch
deleted file mode 100644
index d13732bdaf..0000000000
--- a/meta/recipes-support/libbsd/libbsd/0001-Fix-for-older-GCCs-not-supporting-__has_include.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 2fbf47ce9b64f4e07be223bc2870348a68f19d86 Mon Sep 17 00:00:00 2001
2From: Adam Lackorzynski <adam@l4re.org>
3Date: Sat, 21 Oct 2017 23:08:31 +0200
4Subject: [PATCH] Fix for older GCCs not supporting __has_include*
5
6Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=103396]
7Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
8---
9 include/bsd/sys/cdefs.h | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/include/bsd/sys/cdefs.h b/include/bsd/sys/cdefs.h
13index 044f221..b4c8f30 100644
14--- a/include/bsd/sys/cdefs.h
15+++ b/include/bsd/sys/cdefs.h
16@@ -25,10 +25,10 @@
17 */
18
19 #ifndef __has_include
20-#define __has_include 1
21+#define __has_include(x) 1
22 #endif
23 #ifndef __has_include_next
24-#define __has_include_next 1
25+#define __has_include_next(x) 1
26 #endif
27
28 #ifdef LIBBSD_OVERLAY
29--
302.12.0
31