diff -urN XFree86-3.3.5.orig/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile XFree86-3.3.5/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile --- XFree86-3.3.5.orig/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile Sat Jan 9 15:19:00 1999 +++ XFree86-3.3.5/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile Thu Sep 2 15:17:02 1999 @@ -81,7 +81,7 @@ XCONFIG_DEFINES = $(EXT_DEFINES) -DXF86SETUP \ '-DPROJECTROOT="$(PROJECTROOT)"' \ - '-DSERVER_CONFIG_FILE="$(LIBDIR)/$(XCONFIGFILE)"' + '-DSERVER_CONFIG_FILE="/etc/X11/$(XCONFIGFILE)"' XF86SETUPLIBDIR = $(LIBDIR)/XF86Setup DEFINES = -DCARD_DATABASE_FILE='"$(CARDDBFILE)"' \ diff -urN XFree86-3.3.5.orig/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl XFree86-3.3.5/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl --- XFree86-3.3.5.orig/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl Sat Feb 21 07:07:02 1998 +++ XFree86-3.3.5/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl Thu Sep 2 15:17:02 1999 @@ -38,7 +38,7 @@ set devid [lindex $DeviceIDs $idx] global Device_$devid set server [set Device_${devid}(Server)] - set linkname $Xwinhome/bin/X + set linkname /etc/X11/X set lastlink $linkname for {set nlinks 0} \ {[file exists $linkname] && [file type $linkname]=="link" \ @@ -72,7 +72,7 @@ cd $linkdir catch "unlink X" ret if !$pc98 { - if [catch "link $Xwinhome/bin/XF86_$server X" ret] { + if [catch "link ../../usr/X11R6/bin/XF86_$server X" ret] { mesg "Link creation failed!\n\ You'll have to do it yourself" okay } else { diff -urN XFree86-3.3.5.orig/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c XFree86-3.3.5/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c --- XFree86-3.3.5.orig/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c Tue Aug 17 09:39:39 1999 +++ XFree86-3.3.5/xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c Thu Sep 2 15:19:14 1999 @@ -107,7 +107,7 @@ #endif /* - * Define this to have /etc/XF86Config prompted for as the default + * Define this to have /etc/X11/XF86Config prompted for as the default * location to write the XF86Config file to. */ #define PREFER_XF86CONFIG_IN_ETC @@ -215,7 +215,7 @@ "This program will create a basic " CONFIGNAME " file, based on menu selections you\n" "make.\n" "\n" -"The " CONFIGNAME " file usually resides in " TREEROOTLX " or /etc. A sample\n" +"The " CONFIGNAME " file usually resides in " TREEROOTLX " or /etc/X11. A sample\n" CONFIGNAME " file is supplied with XFree86; it is configured for a standard\n" "VGA card and monitor with 640x480 resolution. This program will ask for a\n" "pathname when it is ready to write the file.\n" @@ -2986,7 +2986,7 @@ #endif #ifdef PREFER_XF86CONFIG_IN_ETC #if !(defined(__QNX__) && !defined(__QNXNTO__)) - printf("Shall I write it to /etc/XF86Config? "); + printf("Shall I write it to /etc/X11/XF86Config? "); #else printf("Shall I write it to /etc/config/X11/XF86Config.%d? ", getnid()); @@ -2995,7 +2995,7 @@ printf("\n"); if (answerisyes(s)) #if !(defined(__QNX__) && !defined(__QNXNTO__)) - return "/etc/XF86Config"; + return "/etc/X11/XF86Config"; #else /* In QNX, use XF86Config.nid for filename */ { @@ -3030,11 +3030,11 @@ #endif #ifndef PREFER_XF86CONFIG_IN_ETC - printf("Shall I write it to /etc/XF86Config? "); + printf("Shall I write it to /etc/X11/XF86Config? "); getstring(s); printf("\n"); if (answerisyes(s)) - return "/etc/XF86Config"; + return "/etc/X11/XF86Config"; #endif #else /* __EMX__ */ { diff -urN XFree86-3.3.5.orig/xc/programs/Xserver/os/wrapper.c XFree86-3.3.5/xc/programs/Xserver/os/wrapper.c --- XFree86-3.3.5.orig/xc/programs/Xserver/os/wrapper.c Thu Jul 29 11:23:02 1999 +++ XFree86-3.3.5/xc/programs/Xserver/os/wrapper.c Thu Sep 2 15:17:02 1999 @@ -42,6 +42,9 @@ #define XSERVER_PATH "/usr/X11R6/bin/X" #endif +#undef XSERVER_PATH +#define XSERVER_PATH "/etc/X11/X" + #include #include #include