summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 06:38:15 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 06:40:40 -0400
commit379c195bddbf4f35f4c00a035c2e3e4462061824 (patch)
treeb18d2cec5eda971c75f653484bb97233f4be4c3a /net-mail
parentdev-util/cutils: EAPI7->8, fix direct AR and build w/ clang16 (diff)
downloadgentoo-379c195bddbf4f35f4c00a035c2e3e4462061824.tar.gz
gentoo-379c195bddbf4f35f4c00a035c2e3e4462061824.tar.bz2
gentoo-379c195bddbf4f35f4c00a035c2e3e4462061824.zip
net-mail/libdbx: fix lto mismatch and build w/ upcoming clang16
Closes: https://bugs.gentoo.org/861593 Closes: https://bugs.gentoo.org/871417 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-mail')
-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() {