pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/notion notion: fix an incorrect libX11 call.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae1f6b3e8c5d
branches:  trunk
changeset: 331200:ae1f6b3e8c5d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 13 21:16:15 2019 +0000

description:
notion: fix an incorrect libX11 call.

Causes crashes with stricter jemalloc on -current.

Bump PKGREVISION.

diffstat:

 wm/notion/Makefile                      |   3 ++-
 wm/notion/distinfo                      |   3 ++-
 wm/notion/patches/patch-ioncore_group.c |  23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (56 lines):

diff -r e5e2f4b21dc0 -r ae1f6b3e8c5d wm/notion/Makefile
--- a/wm/notion/Makefile        Wed Mar 13 20:49:59 2019 +0000
+++ b/wm/notion/Makefile        Wed Mar 13 21:16:15 2019 +0000
@@ -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 -r e5e2f4b21dc0 -r ae1f6b3e8c5d wm/notion/distinfo
--- a/wm/notion/distinfo        Wed Mar 13 20:49:59 2019 +0000
+++ b/wm/notion/distinfo        Wed Mar 13 21:16:15 2019 +0000
@@ -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 -r e5e2f4b21dc0 -r ae1f6b3e8c5d wm/notion/patches/patch-ioncore_group.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/notion/patches/patch-ioncore_group.c   Wed Mar 13 21:16:15 2019 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index