mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 14:50:07 -07:00
cyrus-sasl: fix for gcc 14
This commit is contained in:
parent
f5c6392506
commit
e602311afd
@ -1,5 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < gcc-14.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
|
@ -1 +1,2 @@
|
||||
87db3e916cf98c1c3a003323bb44c7d64659ba011a623953fb52e6f35781586c27
|
||||
d71319a924454499bdb763e4d4db8c0a235c4cbebc9f23e3d85d8749ce7252bdd7
|
||||
|
26
extra/cyrus-sasl/patches/gcc-14.patch
Normal file
26
extra/cyrus-sasl/patches/gcc-14.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/lib/saslutil.c b/lib/saslutil.c
|
||||
index 46c628c..ecb4b62 100644
|
||||
--- a/lib/saslutil.c
|
||||
+++ b/lib/saslutil.c
|
||||
@@ -59,9 +59,7 @@
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
-#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
-#endif
|
||||
#include "saslint.h"
|
||||
#include <saslutil.h>
|
||||
|
||||
diff --git a/plugins/cram.c b/plugins/cram.c
|
||||
index d02e9ba..5dc4fba 100644
|
||||
--- a/plugins/cram.c
|
||||
+++ b/plugins/cram.c
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <time.h>
|
||||
#ifndef macintosh
|
||||
#include <sys/stat.h>
|
||||
#endif
|
@ -1 +1,2 @@
|
||||
https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.28/cyrus-sasl-2.1.28.tar.gz
|
||||
patches/gcc-14.patch
|
||||
|
Loading…
Reference in New Issue
Block a user