Monday, November 07, 2022

FIX: x11/fvwm3 unbreak FvwmIconMan

Hi ports@,

FvwmIconMan crashes on start; know issue upstream [1].

[1] https://github.com/fvwmorg/fvwm3/issues/659

Patch below.


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/fvwm3/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 13 Oct 2022 16:16:49 -0000 1.5
+++ Makefile 7 Nov 2022 17:41:52 -0000
@@ -2,7 +2,7 @@ COMMENT= multiple virtual desktop window

VERSION= 1.0.5
DISTNAME= fvwm3-${VERSION}
-REVISION= 0
+REVISION= 1

CATEGORIES= x11

Index: patches/patch-modules_FvwmIconMan_x_c
===================================================================
RCS file: patches/patch-modules_FvwmIconMan_x_c
diff -N patches/patch-modules_FvwmIconMan_x_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-modules_FvwmIconMan_x_c 7 Nov 2022 17:41:52 -0000
@@ -0,0 +1,11 @@
+Index: modules/FvwmIconMan/x.c
+--- modules/FvwmIconMan/x.c.orig
++++ modules/FvwmIconMan/x.c
+@@ -741,6 +741,7 @@ void X_init_manager (int man_id)
+ if (man->geometry_str) {
+ fscreen_scr_arg arg;
+ arg.mouse_ev = NULL;
++ arg.name = NULL;
+
+ geometry_mask = FScreenParseGeometryWithScreen(
+ man->geometry_str, &man->geometry.x, &man->geometry.y,

No comments:

Post a Comment