summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2024-07-28 08:13:01 -0400
committerMichael Orlitzky <mjo@gentoo.org>2024-07-28 08:13:54 -0400
commit0001445e776eba81ee73efa08096f7862b5f15ff (patch)
treea9aa122428888941154a17b2b815488e3a4607cc /mail-filter/opendkim
parentwww-client/chromium: forcibly disable 'updater' target for 127 (diff)
downloadgentoo-0001445e776eba81ee73efa08096f7862b5f15ff.tar.gz
gentoo-0001445e776eba81ee73efa08096f7862b5f15ff.tar.bz2
gentoo-0001445e776eba81ee73efa08096f7862b5f15ff.zip
mail-filter/opendkim: EAPI=8 bump and another implicit decl patch
Closes: https://bugs.gentoo.org/936591 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'mail-filter/opendkim')
-rw-r--r--mail-filter/opendkim/files/opendkim-2.10.3-vsnprintf-include.patch26
-rw-r--r--mail-filter/opendkim/opendkim-2.10.3-r32.ebuild (renamed from mail-filter/opendkim/opendkim-2.10.3-r31.ebuild)3
2 files changed, 28 insertions, 1 deletions
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 <michael@orlitzky.com>
+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
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() {