summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/libdbx/files/libdbx-1.0.3-missing-include.patch14
-rw-r--r--net-mail/libdbx/libdbx-1.0.3-r1.ebuild (renamed from net-mail/libdbx/libdbx-1.0.3.ebuild)3
2 files changed, 16 insertions, 1 deletions
diff --git a/net-mail/libdbx/files/libdbx-1.0.3-missing-include.patch b/net-mail/libdbx/files/libdbx-1.0.3-missing-include.patch
new file mode 100644
index 000000000000..2d06c44e80fd
--- /dev/null
+++ b/net-mail/libdbx/files/libdbx-1.0.3-missing-include.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/861593
+https://bugs.gentoo.org/871417
+--- a/readdbx.c
++++ b/readdbx.c
+@@ -24,2 +24,3 @@
+ #include "common.h"
++#include "timeconv.h"
+
+--- a/readoe.c
++++ b/readoe.c
+@@ -26,2 +26,3 @@
+ #include "common.h"
++#include "timeconv.h"
+
diff --git a/net-mail/libdbx/libdbx-1.0.3.ebuild b/net-mail/libdbx/libdbx-1.0.3-r1.ebuild
index 199b0c314a25..5865178f0b22 100644
--- a/net-mail/libdbx/libdbx-1.0.3.ebuild
+++ b/net-mail/libdbx/libdbx-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,7 @@ KEYWORDS="~amd64 x86"
PATCHES=(
"${FILESDIR}"/bad_c.patch
+ "${FILESDIR}"/${P}-missing-include.patch
)
src_prepare() {