[packages/poldek] hotfix; rel 2
mis
mis at pld-linux.org
Thu Feb 27 16:10:12 CET 2025
commit eb9deb01f5b7eab6ceeb02b948b43dc2d5d4e26e
Author: mis <mis at pld-linux.org>
Date: Thu Feb 27 15:33:21 2025 +0100
hotfix; rel 2
fix-reinstall-sigsev.patch | 13 +++++++++++++
poldek.spec | 4 +++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/poldek.spec b/poldek.spec
index 1c24f0f..281873b 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -22,7 +22,7 @@
%define ver_rpm 1:4.14
%endif
-%define rel 1
+%define rel 2
Summary: RPM packages management helper tool
Summary(hu.UTF-8): RPM csomagkezelést segítő eszköz
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
@@ -51,6 +51,7 @@ Source102: %{name}-debuginfo-snap.conf
Patch0: %{name}-config.patch
Patch1: pm-hooks.patch
Patch2: %{name}-ext-down-enable.patch
+Patch3: fix-reinstall-sigsev.patch
URL: http://poldek.pld-linux.org/
%{?with_rpm5:BuildRequires: %{db_pkg}-devel >= %{ver_db}}
BuildRequires: autoconf >= 2.63
@@ -226,6 +227,7 @@ Moduły języka Python dla poldka.
%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
+%patch -P 3 -p1
%{__rm} doc/poldek.info
%{__rm} m4/libtool.m4 m4/lt*.m4
diff --git a/fix-reinstall-sigsev.patch b/fix-reinstall-sigsev.patch
new file mode 100644
index 0000000..bc05b88
--- /dev/null
+++ b/fix-reinstall-sigsev.patch
@@ -0,0 +1,13 @@
+diff --git a/pkgset-dep.c b/pkgset-dep.c
+index ddaf74e..f035cd9 100644
+--- a/pkgset-dep.c
++++ b/pkgset-dep.c
+@@ -293,6 +293,8 @@ tn_array *get_conflicted(int indent, struct pkgset *ps,
+ const struct capreq_idx_ent *ent;
+ const char *cnflname = capreq_name(cnfl);
+
++ pkgset__index_caps(ps);
++
+ if ((ent = capreq_idx_lookup(&ps->cap_idx, cnflname, capreq_name_len(cnfl)))) {
+ struct pkg **suspkgs = (struct pkg **)ent->pkgs;
+ int nmatch = 0;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/eb9deb01f5b7eab6ceeb02b948b43dc2d5d4e26e
More information about the pld-cvs-commit
mailing list