commit:     379c195bddbf4f35f4c00a035c2e3e4462061824
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 10:38:15 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 10:40:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379c195b

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 <AT> gentoo.org>

 net-mail/libdbx/files/libdbx-1.0.3-missing-include.patch   | 14 ++++++++++++++
 .../libdbx/{libdbx-1.0.3.ebuild => libdbx-1.0.3-r1.ebuild} |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)

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
similarity index 88%
rename from net-mail/libdbx/libdbx-1.0.3.ebuild
rename to 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() {

Reply via email to