mail-mta/opensmtpd: Add missing include
Fixes GCC-14 build error implicit declaration of function snprintf Closes: https://bugs.gentoo.org/922951 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/36035 Signed-off-by: Matthew Smith <matthew@gentoo.org>
This commit is contained in:
parent
b45d8bedc6
commit
650f13dce6
|
@ -0,0 +1,11 @@
|
|||
diff -ur '--exclude=*.o' opensmtpd-7.4.0p1.orig/openbsd-compat/getdtablecount.c opensmtpd-7.4.0p1/openbsd-compat/getdtablecount.c
|
||||
--- a/openbsd-compat/getdtablecount.c 2024-04-01 07:25:41.230753002 +0000
|
||||
+++ b/openbsd-compat/getdtablecount.c 2024-04-01 07:27:23.556124378 +0000
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <glob.h>
|
||||
#include <unistd.h>
|
||||
+#include <stdio.h>
|
||||
|
||||
void fatal(const char *, ...);
|
||||
void fatalx(const char *, ...);
|
|
@ -57,6 +57,8 @@ QA_CONFIG_IMPL_DECL_SKIP=( closefrom )
|
|||
|
||||
DOCS=( {CHANGES,README}.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-7.4.0-missing-include.patch" )
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
# Too many levels of symbolic links
|
||||
|
|
Loading…
Reference in New Issue