Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2024-05-07 18:02:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and      /work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cyrus-sasl"

Tue May  7 18:02:23 2024 rev:71 rq:1172385 version:2.1.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-bdb.changes        
2024-03-03 20:18:58.405075290 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-bdb.changes      
2024-05-07 18:02:27.812455695 +0200
@@ -1,0 +2,7 @@
+Tue May  7 08:26:51 UTC 2024 - Peter Varkoly <[email protected]>
+
+- GCC 14: cyrus-sasl package fails (bsc#1221863)
+  Apply upstream patch:
+  0001-Fix-time.h-check.patch
+
+-------------------------------------------------------------------
cyrus-sasl-saslauthd-bdb.changes: same change
cyrus-sasl-saslauthd.changes: same change
cyrus-sasl.changes: same change

New:
----
  0001-Fix-time.h-check.patch

BETA DEBUG BEGIN:
  New:/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-bdb.changes-  
Apply upstream patch:
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-bdb.changes:  
0001-Fix-time.h-check.patch
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-bdb.changes-
--
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-saslauthd-bdb.changes-
  Apply upstream patch:
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-saslauthd-bdb.changes:
  0001-Fix-time.h-check.patch
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-saslauthd-bdb.changes-
--
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-saslauthd.changes-  
Apply upstream patch:
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-saslauthd.changes:  
0001-Fix-time.h-check.patch
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl-saslauthd.changes-
--
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl.changes-  Apply 
upstream patch:
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl.changes:  
0001-Fix-time.h-check.patch
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.1880/cyrus-sasl.changes-
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cyrus-sasl-bdb.spec ++++++
--- /var/tmp/diff_new_pack.j3bXa6/_old  2024-05-07 18:02:29.228507185 +0200
+++ /var/tmp/diff_new_pack.j3bXa6/_new  2024-05-07 18:02:29.232507331 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-bdb
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@
 Patch5:         cyrus-sasl-no_rpath.patch
 Patch6:         cyrus-sasl-lfs.patch
 Patch7:         fix_libpq-fe_include.diff
+Patch8:         0001-Fix-time.h-check.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       libsasl2-3
 BuildRequires:  db-devel
@@ -165,6 +166,7 @@
 %patch -P 5 -p1
 %patch -P 6 -p1
 %patch -P 7 -p1
+%patch -P 8 -p1
 
 %build
 find . -name "*.cvsignore" -exec rm -fv "{}" "+"

++++++ cyrus-sasl-saslauthd-bdb.spec ++++++
--- /var/tmp/diff_new_pack.j3bXa6/_old  2024-05-07 18:02:29.268508640 +0200
+++ /var/tmp/diff_new_pack.j3bXa6/_new  2024-05-07 18:02:29.272508785 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd-bdb
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,7 @@
 Patch5:         cyrus-sasl-no_rpath.patch
 Patch6:         cyrus-sasl-lfs.patch
 Patch7:         fix_libpq-fe_include.diff
+Patch8:         0001-Fix-time.h-check.patch
 PreReq:         %fillup_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
@@ -79,6 +80,7 @@
 %patch -P 5 -p1
 %patch -P 6 -p1
 %patch -P 7 -p1
+%patch -P 8 -p1
 
 %build
 find . -name "*.cvsignore" -exec rm -fv "{}" "+"

cyrus-sasl-saslauthd.spec: same change
++++++ cyrus-sasl.spec ++++++
--- /var/tmp/diff_new_pack.j3bXa6/_old  2024-05-07 18:02:29.340511258 +0200
+++ /var/tmp/diff_new_pack.j3bXa6/_new  2024-05-07 18:02:29.344511403 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@
 Patch5:         cyrus-sasl-no_rpath.patch
 Patch6:         cyrus-sasl-lfs.patch
 Patch7:         fix_libpq-fe_include.diff
+Patch8:         0001-Fix-time.h-check.patch
 BuildRequires:  gdbm-devel
 BuildRequires:  krb5-mini-devel
 BuildRequires:  libtool
@@ -173,6 +174,7 @@
 %patch -P 5 -p1
 %patch -P 6 -p1
 %patch -P 7 -p1
+%patch -P 8 -p1
 
 %build
 find . -name "*.cvsignore" -exec rm -fv "{}" "+"

++++++ 0001-Fix-time.h-check.patch ++++++
>From 266f0acf7f5e029afbb3e263437039e50cd6c262 Mon Sep 17 00:00:00 2001
From: Sam James <[email protected]>
Date: Wed, 23 Feb 2022 00:45:15 +0000
Subject: [PATCH 1/1] Fix <time.h> check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We're conditionally including based on HAVE_TIME_H in a bunch of places,
but we're not actually checking for time.h, so that's never going to be defined.

While at it, add in a missing include in the cram plugin.

This fixes a bunch of implicit declaration warnings:
```
 * cyrus-sasl-2.1.28/lib/saslutil.c:280:3: warning: implicit declaration of 
function ‘time’ [-Wimplicit-function-declaration]
 * cyrus-sasl-2.1.28/lib/saslutil.c:364:41: warning: implicit declaration of 
function ‘clock’ [-Wimplicit-function-declaration]
 * cyrus-sasl-2.1.28/plugins/cram.c:132:7: warning: implicit declaration of 
function ‘time’ [-Wimplicit-function-declaration]
 * cyrus-sasl-2.1.28/lib/saslutil.c:280:3: warning: implicit declaration of 
function ‘time’ [-Wimplicit-function-declaration]
 * cyrus-sasl-2.1.28/lib/saslutil.c:364:41: warning: implicit declaration of 
function ‘clock’ [-Wimplicit-function-declaration]
 * cyrus-sasl-2.1.28/plugins/cram.c:132:7: warning: implicit declaration of 
function ‘time’ [-Wimplicit-function-declaration]
```

Signed-off-by: Sam James <[email protected]>
---
 configure.ac   | 2 +-
 plugins/cram.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e1bf53b6..ad781830 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1290,7 +1290,7 @@ AC_CHECK_HEADERS_ONCE([sys/time.h])
 
 AC_HEADER_DIRENT
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(crypt.h des.h dlfcn.h fcntl.h limits.h malloc.h paths.h 
strings.h sys/file.h sys/time.h syslog.h unistd.h inttypes.h sys/uio.h 
sys/param.h sysexits.h stdarg.h varargs.h krb5.h)
+AC_CHECK_HEADERS(crypt.h des.h dlfcn.h fcntl.h limits.h malloc.h paths.h 
strings.h sys/file.h sys/time.h syslog.h time.h unistd.h inttypes.h sys/uio.h 
sys/param.h sysexits.h stdarg.h varargs.h krb5.h)
 
 IPv6_CHECK_SS_FAMILY()
 IPv6_CHECK_SA_LEN()
diff --git a/plugins/cram.c b/plugins/cram.c
index d02e9baa..695aaa91 100644
--- a/plugins/cram.c
+++ b/plugins/cram.c
@@ -53,6 +53,10 @@
 #endif
 #include <fcntl.h>
 
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
 #include <sasl.h>
 #include <saslplug.h>
 #include <saslutil.h>
-- 
2.35.3

Reply via email to