Diff below brings spectrwm to 3.5.1. Changes:
https://github.com/conformal/spectrwm/releases/tag/SPECTRWM_3_5_1
OK?
diff --git Makefile Makefile
index 45da60f00e1..fae035a6dde 100644
--- Makefile
+++ Makefile
@@ -1,6 +1,6 @@
COMMENT= small tiling window manager
-V= 3.5.0
+V= 3.5.1
DIST_TUPLE= github conformal spectrwm SPECTRWM_${V:S/./_/g} /
DISTNAME= spectrwm-${V}
diff --git distinfo distinfo
index a12233acd18..2e0f3b923c5 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (conformal-spectrwm-SPECTRWM_3_5_0.tar.gz) =
tN6LLFkvxapMpNvQ6KQh9/0Wi31fVMetgZl63ADawg8=
-SIZE (conformal-spectrwm-SPECTRWM_3_5_0.tar.gz) = 194387
+SHA256 (conformal-spectrwm-SPECTRWM_3_5_1.tar.gz) =
f+QmAgilLZ+4RCkdCv5q8YiHxUUt8Lkh7XgK97kiPw8=
+SIZE (conformal-spectrwm-SPECTRWM_3_5_1.tar.gz) = 196431
diff --git patches/patch-spectrwm_1 patches/patch-spectrwm_1
index e002bc0b708..08dc93fa75b 100644
--- patches/patch-spectrwm_1
+++ patches/patch-spectrwm_1
@@ -1,12 +1,12 @@
Index: spectrwm.1
--- spectrwm.1.orig
+++ spectrwm.1
-@@ -164,7 +164,7 @@ For example, starting
- via
- .Xr xinit 1 :
+@@ -1990,7 +1990,7 @@ via
+ .Pa LD_PRELOAD
+ must be specified.
.Bd -literal -offset indent
-LD_PRELOAD=/usr/lib/libswmhack.so.0.0 urxvtd -q -o -f
+LD_PRELOAD=${PREFIX}/lib/libswmhack.so.${LIBswmhack_VERSION} urxvtd -q -o -f
.Ed
.Pp
- Spawned programs automatically have
+ Note that some operating systems may ignore
diff --git patches/patch-spectrwm_c patches/patch-spectrwm_c
index 6404edb119c..6fc372bca93 100644
--- patches/patch-spectrwm_c
+++ patches/patch-spectrwm_c
@@ -1,7 +1,7 @@
Index: spectrwm.c
--- spectrwm.c.orig
+++ spectrwm.c
-@@ -373,7 +373,7 @@ uint32_t swm_debug = 0
+@@ -379,7 +379,7 @@ uint32_t swm_debug = 0
#define SWM_CONF_WHITESPACE " \t\n"
#ifndef SWM_LIB