diff options
Diffstat (limited to 'office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff')
-rw-r--r-- | office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff b/office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff new file mode 100644 index 0000000000000..d7297334e816c --- /dev/null +++ b/office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff @@ -0,0 +1,21 @@ +diff -Nur texlive-20140525-source.orig/texk/xdvik/events.c texlive-20140525-source/texk/xdvik/events.c +--- texlive-20140525-source.orig/texk/xdvik/events.c 2014-04-14 03:35:50.000000000 -0500 ++++ texlive-20140525-source/texk/xdvik/events.c 2014-06-15 13:18:40.762860567 -0500 +@@ -5306,7 +5306,7 @@ + } + + 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)); +@@ -5317,7 +5317,7 @@ + # 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)); |