[packages/liblogging] - rel 3, fix building wit gcc 15
baggins
baggins at pld-linux.org
Sat Oct 18 19:04:53 CEST 2025
commit e4ef8ab9df5f0b348baa88f2dde2f9492694b2a3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Oct 18 21:04:26 2025 +0200
- rel 3, fix building wit gcc 15
gcc15.patch | 21 +++++++++++++++++++++
liblogging.spec | 4 +++-
2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/liblogging.spec b/liblogging.spec
index 0ae2194..469d488 100644
--- a/liblogging.spec
+++ b/liblogging.spec
@@ -7,11 +7,12 @@ Summary: An easy to use logging library
Summary(pl.UTF-8): Łatwa w użyciu biblioteka do logowania
Name: liblogging
Version: 1.0.6
-Release: 2
+Release: 3
License: BSD
Group: Libraries
Source0: https://download.rsyslog.com/liblogging/%{name}-%{version}.tar.gz
# Source0-md5: f215c7e7ac6cfd1f5dabdba08c522b29
+Patch0: gcc15.patch
URL: http://www.liblogging.org/
BuildRequires: pkgconfig
%{?with_systemd:BuildRequires: systemd-devel >= 1:209}
@@ -130,6 +131,7 @@ Ten pakiet zawiera bibliotekę statyczną liblogging-stdlog.
%prep
%setup -q
+%patch -P0 -p1
%build
%configure \
diff --git a/gcc15.patch b/gcc15.patch
new file mode 100644
index 0000000..f5d8646
--- /dev/null
+++ b/gcc15.patch
@@ -0,0 +1,21 @@
+--- liblogging-1.0.6/rfc3195/src/beeplisten.c~ 2016-04-15 09:30:40.000000000 +0200
++++ liblogging-1.0.6/rfc3195/src/beeplisten.c 2025-10-18 21:02:13.026660671 +0200
+@@ -65,6 +65,7 @@
+ * private members *
+ * ################################################################# */
+ #if FEATURE_UNIX_DOMAIN_SOCKETS == 1
++extern srRetVal sbSock_InitUXDOMSOCK(sbSockObj **ppThis, char *pszSockName, int iSockType);
+ /**
+ * Process an incoming Unix Domain Socket message.
+ */
+--- liblogging-1.0.6/rfc3195/src/beepframe.c~ 2016-04-15 09:30:40.000000000 +0200
++++ liblogging-1.0.6/rfc3195/src/beepframe.c 2025-10-18 21:03:48.166660673 +0200
+@@ -167,7 +167,7 @@
+ * 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];
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/liblogging.git/commitdiff/e4ef8ab9df5f0b348baa88f2dde2f9492694b2a3
More information about the pld-cvs-commit
mailing list