pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/xfce4-wm xfce4-wm: fix compilation when DEBUG_TRACE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/866c247f1ae1
branches:  trunk
changeset: 420379:866c247f1ae1
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Jan 02 17:00:14 2020 +0000

description:
xfce4-wm: fix compilation when DEBUG_TRACE is enabled

Adding this in case anyone else is inclined to enable DEBUG_TRACE. (No
PKGREVISION since this doesn't affect regular builds.)

diffstat:

 wm/xfce4-wm/distinfo                 |   3 ++-
 wm/xfce4-wm/patches/patch-src_misc.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 0ac770fe7ca3 -r 866c247f1ae1 wm/xfce4-wm/distinfo
--- a/wm/xfce4-wm/distinfo      Thu Jan 02 16:52:57 2020 +0000
+++ b/wm/xfce4-wm/distinfo      Thu Jan 02 17:00:14 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.29 2019/08/17 18:49:46 gutteridge Exp $
+$NetBSD: distinfo,v 1.30 2020/01/02 17:00:14 gutteridge Exp $
 
 SHA1 (xfwm4-4.14.0.tar.bz2) = 08a16f03a5dea56e5628c03780106153f71c92bc
 RMD160 (xfwm4-4.14.0.tar.bz2) = f63f3d9d18671a2e5b1beb9b9760643c9d3240e9
 SHA512 (xfwm4-4.14.0.tar.bz2) = 27261b08b53ba7e70db547db81775154c2f4285ab0f1f8336bd9ef0aeacb3ab705ae8ac5b05f9ac23de550a9065e76487dc93a99e553549bff1c25ceb5216939
 Size (xfwm4-4.14.0.tar.bz2) = 1122735 bytes
 SHA1 (patch-defaults_defaults) = 116409b6ee52344984bf6547c9f6cf06d6d66b92
+SHA1 (patch-src_misc.c) = 9536fd9111712d96575c383bf5f88626ad741a9e
diff -r 0ac770fe7ca3 -r 866c247f1ae1 wm/xfce4-wm/patches/patch-src_misc.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/xfce4-wm/patches/patch-src_misc.c      Thu Jan 02 17:00:14 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_misc.c,v 1.1 2020/01/02 17:00:14 gutteridge Exp $
+
+Disable broken TRACE() call.
+https://bugzilla.xfce.org/show_bug.cgi?id=16329
+
+--- src/misc.c.orig    2019-08-11 20:53:12.000000000 +0000
++++ src/misc.c
+@@ -51,7 +51,7 @@ getMouseXY (ScreenInfo *screen_info, gin
+     guint mask;
+     gint x1, y1;
+ 
+-    TRACE ("window (0x%lx)", w);
++    /* TRACE ("window (0x%lx)", w); */
+ 
+     myDisplayErrorTrapPush (screen_info->display_info);
+     XQueryPointer (myScreenGetXDisplay (screen_info), screen_info->xroot, &w1, &w2, &x1, &y1, x2, y2, &mask);



Home | Main Index | Thread Index | Old Index