diff --git a/mail-filter/opendkim/files/opendkim-2.10.3-vsnprintf-include.patch b/mail-filter/opendkim/files/opendkim-2.10.3-vsnprintf-include.patch new file mode 100644 index 0000000000000..7316e21e7184c --- /dev/null +++ b/mail-filter/opendkim/files/opendkim-2.10.3-vsnprintf-include.patch @@ -0,0 +1,26 @@ +From e4d091c594d1b5791f52c9249abd80fd6706e5ee Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Sun, 28 Jul 2024 08:00:38 -0400 +Subject: [PATCH] libvbr/vbr.c: include for vsnprintf() + +This fixes an implicit declaration error with newer compilers and on +musl where stdio.h does not incidentally get included by some other +header. + +Bug: https://bugs.gentoo.org/936591 +--- + libvbr/vbr.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libvbr/vbr.c b/libvbr/vbr.c +index cb9124d7..aadfbd03 100644 +--- a/libvbr/vbr.c ++++ b/libvbr/vbr.c +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/mail-filter/opendkim/opendkim-2.10.3-r31.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r32.ebuild similarity index 99% rename from mail-filter/opendkim/opendkim-2.10.3-r31.ebuild rename to mail-filter/opendkim/opendkim-2.10.3-r32.ebuild index ce9242be5dfba..b61911d892474 100644 --- a/mail-filter/opendkim/opendkim-2.10.3-r31.ebuild +++ b/mail-filter/opendkim/opendkim-2.10.3-r32.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 LUA_COMPAT=( lua5-1 lua5-2 ) @@ -60,6 +60,7 @@ PATCHES=( "${FILESDIR}/${P}-c-std.patch" "${FILESDIR}/${P}-fix-ldap-sasl-pc.patch" "${FILESDIR}/${P}-incompatible-pointer-types.patch" + "${FILESDIR}/${P}-vsnprintf-include.patch" ) pkg_setup() {