1 |
commit: 47057031dff6ae1e783671baa1d4a9b2e7fb9f89 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 6 21:16:24 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 6 21:16:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47057031 |
7 |
|
8 |
sys-libs/gdbm: backport uclibc patch to 1.20 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/808480 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch | 18 ++++++++++++++++++ |
14 |
sys-libs/gdbm/gdbm-1.20.ebuild | 3 ++- |
15 |
2 files changed, 20 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch b/sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..0f66e73407d |
20 |
--- /dev/null |
21 |
+++ b/sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch |
22 |
@@ -0,0 +1,18 @@ |
23 |
+https://bugs.gentoo.org/808480 |
24 |
+ |
25 |
+From: Sergey Poznyakoff <gray@×××.org> |
26 |
+Date: Wed, 7 Jul 2021 09:36:22 +0300 |
27 |
+Subject: Fix https://puszcza.gnu.org.ua/bugs/?515 |
28 |
+ |
29 |
+* src/gdbm.h.in: Include sys/types.h |
30 |
+--- a/src/gdbm.h.in |
31 |
++++ b/src/gdbm.h.in |
32 |
+@@ -30,6 +30,7 @@ |
33 |
+ # define _GDBM_H_ |
34 |
+ |
35 |
+ # include <stdio.h> |
36 |
++# include <sys/types.h> |
37 |
+ |
38 |
+ /* GDBM C++ support */ |
39 |
+ # if defined(__cplusplus) || defined(c_plusplus) |
40 |
+cgit v1.2.1 |
41 |
|
42 |
diff --git a/sys-libs/gdbm/gdbm-1.20.ebuild b/sys-libs/gdbm/gdbm-1.20.ebuild |
43 |
index a6fc57b2a1d..1658e3a497b 100644 |
44 |
--- a/sys-libs/gdbm/gdbm-1.20.ebuild |
45 |
+++ b/sys-libs/gdbm/gdbm-1.20.ebuild |
46 |
@@ -20,7 +20,8 @@ DEPEND=" |
47 |
RDEPEND="${DEPEND}" |
48 |
|
49 |
PATCHES=( |
50 |
- "${FILESDIR}"/${PN}-1.18.1-gettext.patch #696838 |
51 |
+ "${FILESDIR}"/${PN}-1.18.1-gettext.patch # bug #696838 |
52 |
+ "${FILESDIR}"/${PN}-1.20-uclibc-types.patch # bug #808480 |
53 |
) |
54 |
|
55 |
src_prepare() { |