pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/cyrus-sasl



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Apr  8 00:57:14 UTC 2025

Modified Files:
        pkgsrc/security/cyrus-sasl: distinfo
Added Files:
        pkgsrc/security/cyrus-sasl/patches: patch-lib_saslutil.c

Log Message:
cyrus-sasl: fix build on fedora 41 by making <time.h> unconditional

it's a standard header, and the supposed ifdef is never defined as there's
no configure script generating it.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/security/cyrus-sasl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/cyrus-sasl/patches/patch-lib_saslutil.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/cyrus-sasl/distinfo
diff -u pkgsrc/security/cyrus-sasl/distinfo:1.41 pkgsrc/security/cyrus-sasl/distinfo:1.42
--- pkgsrc/security/cyrus-sasl/distinfo:1.41    Thu Feb 24 11:00:03 2022
+++ pkgsrc/security/cyrus-sasl/distinfo Tue Apr  8 00:57:13 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.41 2022/02/24 11:00:03 wiz Exp $
+$NetBSD: distinfo,v 1.42 2025/04/08 00:57:13 maya Exp $
 
 BLAKE2s (cyrus-sasl-2.1.28.tar.gz) = 617623570c40af652ef1c19a746e2346f53591a4594cffdce835df29fc5aba61
 SHA512 (cyrus-sasl-2.1.28.tar.gz) = db15af9079758a9f385457a79390c8a7cd7ea666573dace8bf4fb01bb4b49037538d67285727d6a70ad799d2e2318f265c9372e2427de9371d626a1959dd6f78
 Size (cyrus-sasl-2.1.28.tar.gz) = 4034803 bytes
 SHA1 (patch-common_crypto-compat) = ad8575c62648aba83983172ec8fef08d2c9f537e
 SHA1 (patch-configure) = 1afa4777f2cc2a24bb526fab9fb6d9265677fb9f
+SHA1 (patch-lib_saslutil.c) = 563ae206f0e325cadf42a232b5e5d5d7e22d9d9c
 SHA1 (patch-plugins_otp.c) = 1dd8763d5b14c2f2462349ce5f73353ae70313fa

Added files:

Index: pkgsrc/security/cyrus-sasl/patches/patch-lib_saslutil.c
diff -u /dev/null pkgsrc/security/cyrus-sasl/patches/patch-lib_saslutil.c:1.1
--- /dev/null   Tue Apr  8 00:57:14 2025
+++ pkgsrc/security/cyrus-sasl/patches/patch-lib_saslutil.c     Tue Apr  8 00:57:13 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_saslutil.c,v 1.1 2025/04/08 00:57:13 maya Exp $
+
+Don't guard the inclusion of time.h for two reasons:
+1. It's a standard C header
+2. There's no configure check for HAVE_TIME_H
+(Shows up as a build failure on Fedora 41)
+
+--- lib/saslutil.c.orig        2025-04-08 00:49:52.888164546 +0000
++++ 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>
+ 



Home | Main Index | Thread Index | Old Index