summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2020-01-02 17:00:14 +0000
committergutteridge <gutteridge@pkgsrc.org>2020-01-02 17:00:14 +0000
commit0c76835a0e24ca4eced83ba2df0415f72d30bec6 (patch)
treef886b83f2148755aa977f724fc23118d17aaf823
parentb2d089a907ffbb4b231fe03288e81830d383bfb0 (diff)
downloadpkgsrc-0c76835a0e24ca4eced83ba2df0415f72d30bec6.tar.gz
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.)
-rw-r--r--wm/xfce4-wm/distinfo3
-rw-r--r--wm/xfce4-wm/patches/patch-src_misc.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/wm/xfce4-wm/distinfo b/wm/xfce4-wm/distinfo
index 69cd8185b5c..bc7bffbf418 100644
--- a/wm/xfce4-wm/distinfo
+++ b/wm/xfce4-wm/distinfo
@@ -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 --git a/wm/xfce4-wm/patches/patch-src_misc.c b/wm/xfce4-wm/patches/patch-src_misc.c
new file mode 100644
index 00000000000..183e8de6f17
--- /dev/null
+++ b/wm/xfce4-wm/patches/patch-src_misc.c
@@ -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);