Hi!

I noticed, that krusader segfaults when close. To reproduce, start
krusader from terminal, and close with the close button.

As I see it is the same issue what was on FreeBSD [1]. The fix is on
upstream, but not released yet. I applied the patch, krusader builds
on amd64 stable/current, however I just tested on stable 7.1, works
fine, the segfault gone when close krusader.

[1] 
https://invent.kde.org/utilities/krusader/-/commit/415d519e825a6b8b64d2ef5f9a8e9bf7a458d1d0

-- 
kikadf
Index: x11/krusader//Makefile
===================================================================
RCS file: /cvs/ports/x11/krusader/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- x11/krusader//Makefile	31 Mar 2022 16:38:32 -0000	1.43
+++ x11/krusader//Makefile	20 Sep 2022 16:19:52 -0000
@@ -2,13 +2,18 @@
 
 VERSION=	2.7.2
 DISTNAME=	krusader-${VERSION}
-REVISION=	1
+REVISION=	2
 
 CATEGORIES=	x11
 
 HOMEPAGE=	https://www.krusader.org
 
 MAINTAINER =	Rafael Sadowski <[email protected]>
+
+# Fix crash-on-exit, remove after 2.7.2 release
+MASTER_SITES0 =		https://invent.kde.org/utilities/krusader/-/commit/
+PATCHFILES =		Fix_crash_on_exit{415d519e825a6b8b64d2ef5f9a8e9bf7a458d1d0}.patch:0
+PATCH_DIST_STRIP =	-p1
 
 # GPL
 PERMIT_PACKAGE=	Yes
Index: x11/krusader//distinfo
===================================================================
RCS file: /cvs/ports/x11/krusader/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- x11/krusader//distinfo	1 Sep 2019 18:45:34 -0000	1.7
+++ x11/krusader//distinfo	20 Sep 2022 16:19:52 -0000
@@ -1,2 +1,4 @@
+SHA256 (Fix_crash_on_exit.patch) = D5IKwk+P6rXOCSTelo6odDR647lWNIzd9Ego7IOfdoA=
 SHA256 (krusader-2.7.2.tar.xz) = QaOaQ7PELdHR7K6obfMMr/agYf7MHWb2CFmyo8qXYQk=
+SIZE (Fix_crash_on_exit.patch) = 2329
 SIZE (krusader-2.7.2.tar.xz) = 2912396

Reply via email to