summaryrefslogtreecommitdiff
path: root/x11/Xbae/patches
diff options
context:
space:
mode:
authorwiz <wiz>2005-02-20 13:53:02 +0000
committerwiz <wiz>2005-02-20 13:53:02 +0000
commitda0cc3a150d6e957aa33071f8212f617f89da3d1 (patch)
tree52efb115de24b9d847a9de8c33b670d0c46a55c0 /x11/Xbae/patches
parent153f2d70d92924ebb29d85564a8ef971cf5be467 (diff)
downloadpkgsrc-da0cc3a150d6e957aa33071f8212f617f89da3d1.tar.gz
Fix for gcc-2.95.
Diffstat (limited to 'x11/Xbae/patches')
-rw-r--r--x11/Xbae/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/Xbae/patches/patch-ab b/x11/Xbae/patches/patch-ab
new file mode 100644
index 00000000000..056da91afdc
--- /dev/null
+++ b/x11/Xbae/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.3 2005/02/20 13:53:02 wiz Exp $
+
+--- src/Matrix.c.orig Wed Dec 8 20:11:39 2004
++++ src/Matrix.c
+@@ -3023,6 +3023,7 @@ static void TraverseInTimeOut(XtPointer
+ */
+ static void TraverseInCB(Widget clip, XbaeMatrixWidget mw, XtPointer call_data)
+ {
++ Boolean mapped;
+ DEBUGOUT(_XbaeDebug2(__FILE__, (Widget) mw, clip, "TraverseInCB\n"));
+
+ /*
+@@ -3031,7 +3032,6 @@ static void TraverseInCB(Widget clip, Xb
+ * are disallowed in 1.2 (we may be in this CB as a result of someone
+ * calling XmProcessTraversal). So we call it through a zero length timeout
+ */
+- Boolean mapped;
+ XtVaGetValues(TextChild(mw), XmNmappedWhenManaged, &mapped, NULL);
+
+ if (mapped) {