opendkim: fix compilation with GCC14
authorRosen Penev <rosenp@gmail.com>
Tue, 7 Jan 2025 02:31:18 +0000 (18:31 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 7 Jan 2025 03:22:24 +0000 (19:22 -0800)
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
mail/opendkim/Makefile
mail/opendkim/patches/030-gcc14.patch [new file with mode: 0644]

index b25a955a97894ecb7131ef7a7b281449c534f589..02cd7198076fccbc62e64cc58738fc6032339a7b 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=opendkim
 PKG_VERSION:=2.10.3
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
diff --git a/mail/opendkim/patches/030-gcc14.patch b/mail/opendkim/patches/030-gcc14.patch
new file mode 100644 (file)
index 0000000..3364d14
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/libopendkim/util.c
++++ b/libopendkim/util.c
+@@ -22,6 +22,7 @@
+ #include <netdb.h>
+ #include <resolv.h>
+ #include <stdlib.h>
++#include <stdio.h>
+ /* libopendkim includes */
+ #include "dkim-internal.h"