summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-lm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xview/files/patch-lm')
-rw-r--r--x11-toolkits/xview/files/patch-lm11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/xview/files/patch-lm b/x11-toolkits/xview/files/patch-lm
new file mode 100644
index 000000000000..cde42fcd148c
--- /dev/null
+++ b/x11-toolkits/xview/files/patch-lm
@@ -0,0 +1,11 @@
+--- lib/libxview/panel/p_mlinetxt.c.orig Tue Jun 29 14:17:05 1993
++++ lib/libxview/panel/p_mlinetxt.c Sun Jan 10 01:52:00 1999
+@@ -449,7 +449,7 @@
+ return (Xv_opaque) dp->rows_displayed;
+
+ case PANEL_ITEM_NTH_WINDOW:
+- switch (*(int *) valist) {
++ switch (va_arg(valist, int)) {
+ case 0:
+ return dp->view;
+ case 1: