1 |
commit: 5b79aeba24ffaae7709624fef87d758ce13b4eec |
2 |
Author: Stijn Tintel <stijn <AT> linux-ipv6 <DOT> be> |
3 |
AuthorDate: Mon May 4 17:37:01 2020 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 8 00:02:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=5b79aeba |
7 |
|
8 |
sys-libs/ldb: add missing include of fcntl.h |
9 |
|
10 |
Fixes #305. |
11 |
|
12 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
13 |
Signed-off-by: Stijn Tintel <stijn <AT> linux-ipv6.be> |
14 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
15 |
|
16 |
sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch | 10 ++++++++++ |
17 |
sys-libs/ldb/ldb-2.0.8.ebuild | 1 + |
18 |
2 files changed, 11 insertions(+) |
19 |
|
20 |
diff --git a/sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch b/sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch |
21 |
new file mode 100644 |
22 |
index 0000000..d1e0ed1 |
23 |
--- /dev/null |
24 |
+++ b/sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch |
25 |
@@ -0,0 +1,10 @@ |
26 |
+--- a/include/ldb.h |
27 |
++++ b/include/ldb.h |
28 |
+@@ -46,6 +46,7 @@ |
29 |
+ #define _LDB_H_ 1 |
30 |
+ /*! \endcond */ |
31 |
+ |
32 |
++#include <fcntl.h> |
33 |
+ #include <stdbool.h> |
34 |
+ #include <talloc.h> |
35 |
+ #include <tevent.h> |
36 |
|
37 |
diff --git a/sys-libs/ldb/ldb-2.0.8.ebuild b/sys-libs/ldb/ldb-2.0.8.ebuild |
38 |
index dbd9db1..06ee854 100644 |
39 |
--- a/sys-libs/ldb/ldb-2.0.8.ebuild |
40 |
+++ b/sys-libs/ldb/ldb-2.0.8.ebuild |
41 |
@@ -47,6 +47,7 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
42 |
PATCHES=( |
43 |
"${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
44 |
"${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
45 |
+ "${FILESDIR}"/${P}-include-fcntl.h-for-pid_t.patch |
46 |
) |
47 |
|
48 |
pkg_setup() { |