summaryrefslogtreecommitdiff
path: root/office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-08-24 13:26:43 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:21:27 +0700
commit168defcd3925bcb8e451eeaef3d0f4851db2c2ed (patch)
tree1819207d5b4e0e449edaffee360a382731062d2d /office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff
parent7800a4e6fd948acdd35d3f55e583f9e6f93f4834 (diff)
downloadslackbuilds-168defcd3925bcb8e451eeaef3d0f4851db2c2ed.tar.gz
office/texlive: Updated for version 20140525.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff')
-rw-r--r--office/texlive/patches/fix-xaw3d-linkage-in-xdvik.diff21
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 0000000000..d7297334e8
--- /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));