jgmenu: s/killall/pkill/, from Uwe Werler

I guess upstream didn't use solaris.
This commit is contained in:
sthen 2020-09-08 20:23:58 +00:00
parent 451787b041
commit 4021f71999
2 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2020/07/03 21:13:22 sthen Exp $
# $OpenBSD: Makefile,v 1.8 2020/09/08 20:23:58 sthen Exp $
COMMENT = freedesktop-compliant menu for openbox and tint2
CATEGORIES = x11
@ -6,7 +6,7 @@ CATEGORIES = x11
GH_ACCOUNT = johanmalm
GH_PROJECT = jgmenu
GH_TAGNAME = v2.1
REVISION = 2
REVISION = 3
# GPLv2 only
PERMIT_PACKAGE = Yes

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_jgmenu_run,v 1.1 2020/09/08 20:23:58 sthen Exp $
Index: src/jgmenu_run
--- src/jgmenu_run.orig
+++ src/jgmenu_run
@@ -57,7 +57,7 @@ then
if test -e ${JGMENU_LOCKFILE}
then
send_tint2_env_vars_to_jgmenu
- if killall -SIGUSR1 jgmenu >/dev/null 2>&1
+ if pkill -SIGUSR1 jgmenu >/dev/null 2>&1
then
exit 0
else