diff options
author | Maxin B. John <maxin.john@intel.com> | 2017-08-21 18:09:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-23 12:06:51 +0100 |
commit | ee8b56528dacf9b2821d537074fa40ad2d1baa7a (patch) | |
tree | 8a784fd85801c42fda9adf8c88ebeca4304b3df9 /meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch | |
parent | 96d0d4b5b671ea08cb4dcaedc84e783f253d941e (diff) | |
download | poky-ee8b56528dacf9b2821d537074fa40ad2d1baa7a.tar.gz |
pkgconf: add recipe
pkgconf is a better replacement for pkg-config. Fedora 26 replaces the
system pkg-config implementation with pkgconf because it "provides better
support for handling .pc files and a stable library ABI/API for integrating
into applications." and is actively maintained, unlike pkg-config.
pkgconf aims to offer many improvements over pkg-config such as faster/more
efficient dependency resolver which "allows for the user to more conservatively
link their binaries -- which may be helpful in some environments, such as when
prelink(1) is being used.
pkgconf also aims to provide a more complete implementation of pkg-config.
The features most likely to benefit the Yocto Project build system are the
faster/more efficient dependency resolution and linker flag optimisation.
Move pkgconf recipe to oe-core from meta-pkgconf:
https://github.com/kergoth/meta-kergoth-wip/tree/master/meta-pkgconf
Links:
1. http://pkgconf.org
2. https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation
3. https://bugzilla.yoctoproject.org/show_bug.cgi?id=11308
(From OE-Core rev: 879bd0ff00ebebfdeef52c3f61597d635e040aef)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch')
-rw-r--r-- | meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch b/meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch new file mode 100644 index 0000000000..49ebe31e46 --- /dev/null +++ b/meta/recipes-devtools/pkgconf/pkgconf/0001-stdinc.h-fix-build-with-mingw.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From ea28c5b34457cf7676181b284e22ea5f79a30d85 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Maxin B. John" <maxin.john@intel.com> | ||
3 | Date: Thu, 13 Jul 2017 14:47:31 +0300 | ||
4 | Subject: [PATCH] stdinc.h: fix build with mingw | ||
5 | |||
6 | Fixes this build error with mingw: | ||
7 | ... | ||
8 | | compilation terminated. | ||
9 | | In file included from ../pkgconf-1.3.7/libpkgconf/libpkgconf.h:19:0, | ||
10 | | from ../pkgconf-1.3.7/libpkgconf/audit.c:16: | ||
11 | | ../pkgconf-1.3.7/libpkgconf/stdinc.h:36:12: fatal error: BaseTsd.h: No | ||
12 | such file or directory | ||
13 | | # include <BaseTsd.h> | ||
14 | |||
15 | Upstream-Status: Submitted | ||
16 | |||
17 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
18 | --- | ||
19 | libpkgconf/stdinc.h | 10 +++++++++- | ||
20 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h | ||
23 | index ac7e53c..d8efcf5 100644 | ||
24 | --- a/libpkgconf/stdinc.h | ||
25 | +++ b/libpkgconf/stdinc.h | ||
26 | @@ -33,10 +33,18 @@ | ||
27 | # include <malloc.h> | ||
28 | # define PATH_DEV_NULL "nul" | ||
29 | # ifndef ssize_t | ||
30 | +# ifndef __MINGW32__ | ||
31 | # include <BaseTsd.h> | ||
32 | +# else | ||
33 | +# include <basetsd.h> | ||
34 | +# endif | ||
35 | # define ssize_t SSIZE_T | ||
36 | # endif | ||
37 | -# include "win-dirent.h" | ||
38 | +# ifndef __MINGW32__ | ||
39 | +# include "win-dirent.h" | ||
40 | +# else | ||
41 | +# include <dirent.h> | ||
42 | +# endif | ||
43 | #else | ||
44 | # define PATH_DEV_NULL "/dev/null" | ||
45 | # include <dirent.h> | ||
46 | -- | ||
47 | 2.4.0 | ||
48 | |||