[BACK]Return to patch-misc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / xpaint / patches

File: [cvs.NetBSD.org] / pkgsrc / graphics / xpaint / patches / patch-misc.c (download)

Revision 1.1, Wed Oct 14 20:17:27 2015 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-, HEAD

Switch from x11/Xaw3d to newer x11/libXaw3d.

Adapt some packages so they build with that.
Bump their PKGREVISIONs.

$NetBSD: patch-misc.c,v 1.1 2015/10/14 20:17:27 wiz Exp $

--- misc.c.orig	2005-04-24 11:57:52.000000000 +0000
+++ misc.c
@@ -671,7 +671,7 @@ mousewheelScroll(Widget w, void * l, XEv
 	}
         else return;
         if (sb == None) return;
-#ifdef XAW3DG
+#if defined(XAW3DG) && defined(XAW_ARROW_SCROLLBARS)
         if (((ScrollbarWidget)sb)->scrollbar.scroll_mode == 2 /* if scroll continuous */
             || LookAhead (sb, event))
             return;