[packages/libcddb] - rel 15, pull correct patch from fedora
baggins
baggins at pld-linux.org
Mon Jun 22 00:24:54 CEST 2026
commit 4be76bddb8315ec3c350400661afe7f3c45afa81
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Jun 22 00:24:30 2026 +0200
- rel 15, pull correct patch from fedora
libcddb.spec | 6 +++---
pointer-types.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/libcddb.spec b/libcddb.spec
index 07d9f48..f6879cd 100644
--- a/libcddb.spec
+++ b/libcddb.spec
@@ -6,12 +6,12 @@ Summary: Library to access data on a CDDB server
Summary(pl.UTF-8): Biblioteka dostępu do danych na serwerze CDDB
Name: libcddb
Version: 1.3.2
-Release: 14
+Release: 15
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/libcddb/%{name}-%{version}.tar.bz2
# Source0-md5: 8bb4a6f542197e8e9648ae597cd6bc8a
-Patch0: %{name}-socklen-type.patch
+Patch0: pointer-types.patch
URL: http://libcddb.sourceforge.net/
BuildRequires: autoconf >= 2.55
BuildRequires: automake
@@ -58,7 +58,7 @@ Statyczna biblioteka libcddb.
%prep
%setup -q
-%patch -P0 -p1
+%patch -P0 -p0
%build
%{__libtoolize}
diff --git a/pointer-types.patch b/pointer-types.patch
new file mode 100644
index 0000000..cc883cc
--- /dev/null
+++ b/pointer-types.patch
@@ -0,0 +1,11 @@
+--- lib/cddb_net.c~ 2024-02-01 13:39:55.794671164 -0600
++++ lib/cddb_net.c 2024-02-01 13:40:50.551398466 -0600
+@@ -329,7 +329,7 @@
+ default:
+ /* we got connected, check error condition */
+ l = sizeof(rv);
+- getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, &l);
++ getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, (socklen_t * restrict)&l);
+ if (rv) {
+ /* something went wrong, simulate normal connect behaviour */
+ errno = rv;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcddb.git/commitdiff/4be76bddb8315ec3c350400661afe7f3c45afa81
More information about the pld-cvs-commit
mailing list