--- mc-4.1.35/xv/xvscreen.c.orig	Wed Jul  8 18:43:50 1998
+++ mc-4.1.35/xv/xvscreen.c	Wed Jul  8 18:50:44 1998
@@ -1168,7 +1168,7 @@
     free (rect);
 }
         
-int x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel)
+void x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel)
 {
     Canvas canvas = 
         (Canvas) x_get_parent_object ((Widget *) panel, parent);
@@ -1224,7 +1224,6 @@
         panel->item_height = 16;
     panel->item_height += 2 * PANELITEMBORDER;
     x_fill_panel (panel);
-    return 1;
 }
 
 void x_panel_set_size (int idx)
@@ -1232,5 +1231,15 @@
 }
 
 void set_attr (int h, int m)
+{
+}
+
+void
+repaint_file (WPanel *panel, int file_index, int move, int attr, int isstatus)
+{
+}
+
+void
+x_panel_destroy (WPanel *panel)
 {
 }
--- mc-4.1.35/xv/xvmain.c.orig	Wed Jul  8 18:47:20 1998
+++ mc-4.1.35/xv/xvmain.c	Wed Jul  8 19:05:48 1998
@@ -1105,3 +1105,13 @@
 edition_pre_exec  (void)
 {
 }
+
+void
+x_unfocus_widget (Widget_Item *p)
+{
+}
+
+int
+try_alloc_color_pair (char *fg, char *bg)
+{
+}
--- mc-4.1.35/xv/xvview.c.orig	Wed Jul  8 18:52:41 1998
+++ mc-4.1.35/xv/xvview.c	Wed Jul  8 19:04:14 1998
@@ -236,3 +236,64 @@
     xv_destroy_safe ((Frame)xv_get(button, PANEL_CLIENT_DATA));
     xv_dispatch_a_bit();
 }
+
+void
+x_destroy_view (WView *view)
+{
+}
+
+static int current_color;
+
+void
+view_set_color (WView *view, int font)
+{
+    current_color = font;
+}
+
+void
+view_display_clean(WView *view, int h, int w)
+{
+}
+
+void
+view_add_character (WView *view, int c)
+{
+}
+
+void
+view_add_string (WView *view, char *s)
+{
+    while (*s)
+	view_add_character (view, *s++);
+}
+
+void
+view_gotoyx (WView *view, int row, int col)
+{
+}
+
+void
+view_status (WView *view)
+{
+}
+
+void
+view_percent (WView *view, int p, int w)
+{
+	fprintf (stderr, "Missing xview view_percent\n");
+}
+
+void
+x_create_viewer (WView *view)
+{
+}
+
+void
+x_focus_view (WView *view)
+{
+}
+
+void
+x_init_view (WView *view)
+{
+}
--- mc-4.1.35/src/view.c.orig	Wed Jul  8 18:36:45 1998
+++ mc-4.1.35/src/view.c	Wed Jul  8 19:49:02 1998
@@ -2325,6 +2325,7 @@
 }
 #endif
 
+#ifndef HAVE_XVIEW
 #ifndef PORT_WANTS_VIEW
 void
 view_adjust_size (Dlg_head *h)
@@ -2386,6 +2387,7 @@
     return !error;
 }
 #endif
+#endif /* HAVE_XVIEW */
 
 static void
 view_hook (void *v)
--- mc-4.1.35/src/ChangeLog.orig	Wed Jul  8 19:36:26 1998
+++ mc-4.1.35/src/ChangeLog	Wed Jul  8 20:03:23 1998
@@ -1,3 +1,17 @@
+Wed Jul  8 19:36:39 EDT 1998  John Gotts <jgotts@engin.umich.edu>
+
+	* view.c: view() and view_adjust_size() are already defined for XView.
+	#ifdef'ed out the other definitions for HAVE_XVIEW.
+	* xv/xvscreen.c (x_create_panel): Changed the return type to void and
+	removed the return statement.
+	* xv/xvscreen.c (repaint_file, x_panel_destroy): Stubbed out these
+	functions for the XView port.
+	* xv/xvmain.c (x_unfocus_widget, try_alloc_color_pair): Ditto.
+	* xv/xvview.c (x_destroy_view, view_set_color, view_display_clean,
+	view_add_character, view_add_string, view_gotoyx, view_status,
+	view_percent, x_create_viewer, x_focus_view, x_init_view): Stubbed out
+	these for the XView port to roughly match the Tk port.
+
 Mon May 25 23:32:35 1998  Norbert Warmuth  <k3190@fh-sw.de>
 
 	* editdraw.c (print_to_widget): Ifdef'd SLang specific code in order 
