Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/xdvik/files: xdvik-22.87-xaw3d.patch
Date: Thu, 01 May 2014 04:13:15
Message-Id: 20140501041310.AA48A2004B@flycatcher.gentoo.org
1 naota 14/05/01 04:13:10
2
3 Added: xdvik-22.87-xaw3d.patch
4 Log:
5 Add Xaw3d build problem patch. #508298
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8551514)
8
9 Revision Changes Path
10 1.1 app-text/xdvik/files/xdvik-22.87-xaw3d.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xdvik/files/xdvik-22.87-xaw3d.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/xdvik/files/xdvik-22.87-xaw3d.patch?rev=1.1&content-type=text/plain
14
15 Index: xdvik-22.87-xaw3d.patch
16 ===================================================================
17 diff --git a/events.c b/events.c
18 index dbb46f0..f9990f9 100644
19 --- a/events.c
20 +++ b/events.c
21 @@ -5311,7 +5311,7 @@ xi2_emulate_action(struct xdvi_action *actp, struct xi2_valinfo *valinfo,
22 }
23
24 if (actp->proc == Act_wheel) {
25 -# if XAW
26 +# if !MOTIF
27 if (globals.widgets.y_bar != NULL)
28 XtCallCallbacks(globals.widgets.y_bar, XtNscrollProc,
29 cast_int_to_XtPointer(dist));
30 @@ -5322,7 +5322,7 @@ xi2_emulate_action(struct xdvi_action *actp, struct xi2_valinfo *valinfo,
31 # endif /* MOTIF */
32 }
33 else { /* Act_hwheel */
34 -# if XAW
35 +# if !MOTIF
36 if (globals.widgets.x_bar != NULL)
37 XtCallCallbacks(globals.widgets.x_bar, XtNscrollProc,
38 cast_int_to_XtPointer(dist));