Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package liblogging for openSUSE:Factory checked in at 2024-08-10 19:05:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liblogging (Old) and /work/SRC/openSUSE:Factory/.liblogging.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "liblogging" Sat Aug 10 19:05:50 2024 rev:15 rq:1192541 version:1.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/liblogging/liblogging.changes 2018-03-29 11:52:42.208671629 +0200 +++ /work/SRC/openSUSE:Factory/.liblogging.new.7232/liblogging.changes 2024-08-10 19:05:55.133095230 +0200 @@ -1,0 +2,6 @@ +Wed Jun 19 08:29:24 UTC 2024 - Thomas Blume <Thomas.Blume@suse.com> + +- fix build error with gcc14 (bsc#1221715) + * add 0001-support-build-with-gcc-14.patch + +------------------------------------------------------------------- New: ---- 0001-support-build-with-gcc-14.patch BETA DEBUG BEGIN: New:- fix build error with gcc14 (bsc#1221715) * add 0001-support-build-with-gcc-14.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liblogging.spec ++++++ --- /var/tmp/diff_new_pack.cdLSsG/_old 2024-08-10 19:05:55.581113832 +0200 +++ /var/tmp/diff_new_pack.cdLSsG/_new 2024-08-10 19:05:55.581113832 +0200 @@ -1,7 +1,7 @@ # # spec file for package liblogging # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,9 +25,11 @@ Summary: An easy to use logging library License: BSD-2-Clause Group: Development/Libraries/C and C++ -Url: http://www.liblogging.org/ +URL: http://www.liblogging.org/ Source0: http://download.rsyslog.com/liblogging/%{name}-%{version}.tar.gz +Patch0: 0001-support-build-with-gcc-14.patch BuildRequires: dos2unix +BuildRequires: gcc14 BuildRequires: pkgconfig >= 0.9.0 %if %{with_rst2man} %if 0%{?is_opensuse} @@ -71,6 +73,7 @@ %prep %setup -q +%autopatch -p1 %build %configure \ ++++++ 0001-support-build-with-gcc-14.patch ++++++ From 1d363d14b4a55d7100f787fba8cb8f2d934bbc4a Mon Sep 17 00:00:00 2001 From: Thomas Blume <Thomas.Blume@suse.com> Date: Mon, 3 Jun 2024 15:54:00 +0200 Subject: [PATCH] support build with gcc-14 bsc1221715 --- rfc3195/src/beepframe.c | 2 +- rfc3195/src/sockets.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rfc3195/src/beepframe.c b/rfc3195/src/beepframe.c index f8bc307..d1798a6 100644 --- a/rfc3195/src/beepframe.c +++ b/rfc3195/src/beepframe.c @@ -167,7 +167,7 @@ srRetVal sbFramActualRecvFramCommonHdr(sbFramObj* pThis,sbChanObj *pChan) * The channel object is updated, e.g. with a * new seqno. */ -sbFramActualRecvFramCommonBody(sbFramObj* pThis,sbChanObj *pChan) +int sbFramActualRecvFramCommonBody(sbFramObj* pThis,sbChanObj *pChan) { unsigned iToRcv; char szTrailer[6]; diff --git a/rfc3195/src/sockets.h b/rfc3195/src/sockets.h index 406e6d5..506beaa 100644 --- a/rfc3195/src/sockets.h +++ b/rfc3195/src/sockets.h @@ -340,4 +340,8 @@ srRetVal sbSockRecvFrom(sbSockObj *pThis, char* pRecvBuf, int *piBufLen, char** # define SOCKET_ERROR -1 #endif +#if FEATURE_UNIX_DOMAIN_SOCKETS == 1 +srRetVal sbSock_InitUXDOMSOCK(sbSockObj **ppThis, char *pszSockName, int iSockType); +#endif + #endif -- 2.45.1