diff options
author | Naohiro Aota <naota@gentoo.org> | 2014-05-01 04:13:10 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2014-05-01 04:13:10 +0000 |
commit | ee43268028bb6d9bdca4409420936b34f2c5dd81 (patch) | |
tree | c094b96f37a2cbf786ba499a07e25638d261cfd0 /app-text/xdvik/files | |
parent | add py3.4 support (diff) | |
download | gentoo-2-ee43268028bb6d9bdca4409420936b34f2c5dd81.tar.gz gentoo-2-ee43268028bb6d9bdca4409420936b34f2c5dd81.tar.bz2 gentoo-2-ee43268028bb6d9bdca4409420936b34f2c5dd81.zip |
Add Xaw3d build problem patch. #508298
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'app-text/xdvik/files')
-rw-r--r-- | app-text/xdvik/files/xdvik-22.87-xaw3d.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/xdvik/files/xdvik-22.87-xaw3d.patch b/app-text/xdvik/files/xdvik-22.87-xaw3d.patch new file mode 100644 index 000000000000..79e7893a19b8 --- /dev/null +++ b/app-text/xdvik/files/xdvik-22.87-xaw3d.patch @@ -0,0 +1,22 @@ +diff --git a/events.c b/events.c +index dbb46f0..f9990f9 100644 +--- a/events.c ++++ b/events.c +@@ -5311,7 +5311,7 @@ xi2_emulate_action(struct xdvi_action *actp, struct xi2_valinfo *valinfo, + } + + if (actp->proc == Act_wheel) { +-# if XAW ++# if !MOTIF + if (globals.widgets.y_bar != NULL) + XtCallCallbacks(globals.widgets.y_bar, XtNscrollProc, + cast_int_to_XtPointer(dist)); +@@ -5322,7 +5322,7 @@ xi2_emulate_action(struct xdvi_action *actp, struct xi2_valinfo *valinfo, + # endif /* MOTIF */ + } + else { /* Act_hwheel */ +-# if XAW ++# if !MOTIF + if (globals.widgets.x_bar != NULL) + XtCallCallbacks(globals.widgets.x_bar, XtNscrollProc, + cast_int_to_XtPointer(dist)); |