From dfc32ce5f2c4d314d0588de50a9a75953c9958d2 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 13 Mar 2019 21:16:15 +0000 Subject: notion: fix an incorrect libX11 call. Causes crashes with stricter jemalloc on -current. Bump PKGREVISION. --- wm/notion/Makefile | 3 ++- wm/notion/distinfo | 3 ++- wm/notion/patches/patch-ioncore_group.c | 23 +++++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 wm/notion/patches/patch-ioncore_group.c (limited to 'wm') diff --git a/wm/notion/Makefile b/wm/notion/Makefile index 1cc71457c61..4291b3b043e 100644 --- a/wm/notion/Makefile +++ b/wm/notion/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2017/05/07 16:10:35 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2019/03/13 21:16:15 wiz Exp $ DISTNAME= notion-3-2017050501 PKGNAME= ${DISTNAME:S/3-/3./} +PKGREVISION= 1 CATEGORIES= wm MASTER_SITES= ${MASTER_SITE_GITHUB:=raboof/} GITHUB_TAG= ${DISTNAME:S/notion-//} diff --git a/wm/notion/distinfo b/wm/notion/distinfo index dfdf1c0ee72..7413e43caa8 100644 --- a/wm/notion/distinfo +++ b/wm/notion/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.13 2017/05/07 16:10:35 wiz Exp $ +$NetBSD: distinfo,v 1.14 2019/03/13 21:16:15 wiz Exp $ SHA1 (notion-3-2017050501.tar.gz) = 718c806e24533847b45f7163e2adb5f8de2f2766 RMD160 (notion-3-2017050501.tar.gz) = 448fbf14ce082fc0bd826cbc3be7c750433ca2d3 SHA512 (notion-3-2017050501.tar.gz) = e75d2e0e5bb2405698593bebd51d19c6820335a46d60f3e07e5bbac696c2fd3e4341fc166d65e90f8ae56fdba0f7be34e33d0fe3058617a3ea2d63636c48d6f6 Size (notion-3-2017050501.tar.gz) = 795635 bytes SHA1 (patch-build_rules.mk) = f8321cea75a1dfb6187ce5229f85cfea7dc5c9a7 +SHA1 (patch-ioncore_group.c) = a2d8901660b084ab304d86dad1b4459d63d356e6 SHA1 (patch-libtu_output.c) = e9e9e77f0c1ff196fefa887a51f647f0dee7df89 SHA1 (patch-mod__xrandr_Makefile) = 9299bebbd6a1f043a4095abfa19c917e4229456f SHA1 (patch-system-autodetect.mk) = 60bd996294b30171cd893e62078ca8eada24c202 diff --git a/wm/notion/patches/patch-ioncore_group.c b/wm/notion/patches/patch-ioncore_group.c new file mode 100644 index 00000000000..f316c5bb4df --- /dev/null +++ b/wm/notion/patches/patch-ioncore_group.c @@ -0,0 +1,23 @@ +$NetBSD: patch-ioncore_group.c,v 1.1 2019/03/13 21:16:15 wiz Exp $ + +Xutf8TextListToTextProperty needs a NULL terminated list of pointers. + +--- ioncore/group.c.orig 2017-05-05 14:55:07.000000000 +0000 ++++ ioncore/group.c +@@ -349,7 +349,7 @@ void group_managed_notify(WGroup *ws, WR + + bool group_init(WGroup *ws, WWindow *par, const WFitParams *fp, const char *name) + { +- const char *p[1]; ++ const char *p[2]; + + ws->current_managed=NULL; + ws->managed_stdisp=NULL; +@@ -365,6 +365,7 @@ bool group_init(WGroup *ws, WWindow *par + return FALSE; + + p[0] = name; ++ p[1] = NULL; + xwindow_set_text_property(ws->dummywin, XA_WM_NAME, p, 1); + + region_init(&ws->reg, par, fp); -- cgit v1.2.3