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>
This commit is contained in:
Michael Orlitzky
2024-07-28 08:13:01 -04:00
parent 2b96b04ef3
commit 0001445e77
2 changed files with 28 additions and 1 deletions

View File

@@ -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>

View File

@@ -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() {