diff options
Diffstat (limited to 'sys-libs/gdbm')
-rw-r--r-- | sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch | 18 | ||||
-rw-r--r-- | sys-libs/gdbm/gdbm-1.20.ebuild | 3 |
2 files changed, 20 insertions, 1 deletions
diff --git a/sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch b/sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch new file mode 100644 index 000000000000..0f66e73407df --- /dev/null +++ b/sys-libs/gdbm/files/gdbm-1.20-uclibc-types.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/808480 + +From: Sergey Poznyakoff <gray@gnu.org> +Date: Wed, 7 Jul 2021 09:36:22 +0300 +Subject: Fix https://puszcza.gnu.org.ua/bugs/?515 + +* src/gdbm.h.in: Include sys/types.h +--- a/src/gdbm.h.in ++++ b/src/gdbm.h.in +@@ -30,6 +30,7 @@ + # define _GDBM_H_ + + # include <stdio.h> ++# include <sys/types.h> + + /* GDBM C++ support */ + # if defined(__cplusplus) || defined(c_plusplus) +cgit v1.2.1 diff --git a/sys-libs/gdbm/gdbm-1.20.ebuild b/sys-libs/gdbm/gdbm-1.20.ebuild index a6fc57b2a1d8..1658e3a497be 100644 --- a/sys-libs/gdbm/gdbm-1.20.ebuild +++ b/sys-libs/gdbm/gdbm-1.20.ebuild @@ -20,7 +20,8 @@ DEPEND=" RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-1.18.1-gettext.patch #696838 + "${FILESDIR}"/${PN}-1.18.1-gettext.patch # bug #696838 + "${FILESDIR}"/${PN}-1.20-uclibc-types.patch # bug #808480 ) src_prepare() { |