commit:     0001445e776eba81ee73efa08096f7862b5f15ff
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 12:13:01 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 12:13:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0001445e

mail-filter/opendkim: EAPI=8 bump and another implicit decl patch

Closes: https://bugs.gentoo.org/936591
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../files/opendkim-2.10.3-vsnprintf-include.patch  | 26 ++++++++++++++++++++++
 ....10.3-r31.ebuild => opendkim-2.10.3-r32.ebuild} |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)

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 000000000000..7316e21e7184
--- /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 <[email protected]>
+Date: Sun, 28 Jul 2024 08:00:38 -0400
+Subject: [PATCH] libvbr/vbr.c: include <stdio.h> 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 <arpa/inet.h>
+ #include <arpa/nameser.h>
+ #include <netdb.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <errno.h>

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 ce9242be5dfb..b61911d89247 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() {

Reply via email to