From: Rosen Penev Date: Fri, 17 May 2024 04:14:33 +0000 (-0700) Subject: cyrus-sasl: fix compilation with GCC14 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4189202d7e88057a7cf3a9c29b24bd2adb6e9d89;p=feed%2Fpackages.git cyrus-sasl: fix compilation with GCC14 Missing time.h header. Signed-off-by: Rosen Penev --- diff --git a/libs/cyrus-sasl/Makefile b/libs/cyrus-sasl/Makefile index b39d46c257..ae036b5b2f 100644 --- a/libs/cyrus-sasl/Makefile +++ b/libs/cyrus-sasl/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cyrus-sasl PKG_VERSION:=2.1.28 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MAINTAINER:=W. Michael Petullo diff --git a/libs/cyrus-sasl/patches/010-gcc14.patch b/libs/cyrus-sasl/patches/010-gcc14.patch new file mode 100644 index 0000000000..0ef2dad5c9 --- /dev/null +++ b/libs/cyrus-sasl/patches/010-gcc14.patch @@ -0,0 +1,32 @@ +--- a/lib/saslutil.c ++++ b/lib/saslutil.c +@@ -59,9 +59,7 @@ + #ifdef HAVE_UNISTD_H + #include + #endif +-#ifdef HAVE_TIME_H + #include +-#endif + #include "saslint.h" + #include + +--- a/plugins/cram.c ++++ b/plugins/cram.c +@@ -48,6 +48,7 @@ + #include + #include + #include ++#include + #ifndef macintosh + #include + #endif +--- a/plugins/digestmd5.c ++++ b/plugins/digestmd5.c +@@ -50,6 +50,7 @@ + #include + #include + #include ++#include + #ifndef macintosh + #include + #include