diff options
Diffstat (limited to 'meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch')
-rw-r--r-- | meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch b/meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch new file mode 100644 index 0000000000..7e3a5b3be4 --- /dev/null +++ b/meta/recipes-support/libbsd/libbsd/0001-src-libbsd-overlay.pc.in-Set-Cflags-to-use-I-instead.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From b6972f1c29ebf073cbe19a4a669ee093259792a0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Berton <fabio.berton@ossystems.com.br> | ||
3 | Date: Mon, 30 Jan 2017 12:00:33 -0200 | ||
4 | Subject: [PATCH] src/libbsd-overlay.pc.in: Set Cflags to use -I instead of | ||
5 | -isystem | ||
6 | Organization: O.S. Systems Software LTDA. | ||
7 | |||
8 | pkg-config currently only handles -I and -L correctly, but misses | ||
9 | -isystem, so we need to do this workaround to fix this issue. | ||
10 | |||
11 | There's a open bug in: | ||
12 | https://bugzilla.freedesktop.org/show_bug.cgi?id=99516 | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> | ||
17 | --- | ||
18 | src/libbsd-overlay.pc.in | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/libbsd-overlay.pc.in b/src/libbsd-overlay.pc.in | ||
22 | index ac8bf89..65dc3ae 100644 | ||
23 | --- a/src/libbsd-overlay.pc.in | ||
24 | +++ b/src/libbsd-overlay.pc.in | ||
25 | @@ -8,4 +8,4 @@ Description: Utility functions from BSD systems (overlay) | ||
26 | Version: @VERSION@ | ||
27 | URL: https://libbsd.freedesktop.org/ | ||
28 | Libs: -L${libdir} -lbsd | ||
29 | -Cflags: -isystem ${includedir}/bsd -DLIBBSD_OVERLAY | ||
30 | +Cflags: -I${includedir}/bsd -DLIBBSD_OVERLAY | ||
31 | -- | ||
32 | 2.11.0 | ||
33 | |||