]> git.pld-linux.org Git - packages/XFree86.git/blob - XFree86-PLD.patch
- PAM fix
[packages/XFree86.git] / XFree86-PLD.patch
1 diff -Nur XFree86-4.0.2.org/xc/Makefile XFree86-4.0.2/xc/Makefile
2 --- XFree86-4.0.2.org/xc/Makefile       Wed Mar 22 22:23:30 2000
3 +++ XFree86-4.0.2/xc/Makefile   Wed Dec 20 13:41:02 2000
4 @@ -5,10 +5,10 @@
5  # or add "MAKE = make" to this file.
6  
7  RELEASE = "Release 6.4"
8 -SHELL = /bin/sh
9 +SHELL = /bin/sh -e
10  RM = rm -f
11  MV = mv
12 -WORLDOPTS = -k
13 +WORLDOPTS =
14  WIN32WORLDOPTS = -i
15  TOP = .
16  CURRENT_DIR = .
17 diff -Nur XFree86-4.0.2.org/xc/config/cf/Imake.cf XFree86-4.0.2/xc/config/cf/Imake.cf
18 --- XFree86-4.0.2.org/xc/config/cf/Imake.cf     Mon Nov  6 23:53:47 2000
19 +++ XFree86-4.0.2/xc/config/cf/Imake.cf Wed Dec 20 13:41:02 2000
20 @@ -689,6 +689,10 @@
21  #   define s390Architecture
22  #  undef __s390__
23  # endif /* s390 */
24 +# ifdef alpha
25 +#  define AlphaArchitecture
26 +#  undef alpha
27 +# endif /* alpha */
28  # ifdef __alpha
29  #  define AlphaArchitecture
30  #  undef __alpha
31 diff -Nur XFree86-4.0.2.org/xc/config/cf/Imake.tmpl XFree86-4.0.2/xc/config/cf/Imake.tmpl
32 --- XFree86-4.0.2.org/xc/config/cf/Imake.tmpl   Tue Dec  5 01:45:28 2000
33 +++ XFree86-4.0.2/xc/config/cf/Imake.tmpl       Wed Dec 20 13:41:02 2000
34 @@ -220,7 +220,7 @@
35  
36  #ifndef BuildHtmlManPages
37  #ifdef RmanCmd
38 -#define BuildHtmlManPages YES
39 +#define BuildHtmlManPages NO
40  #else
41  #define BuildHtmlManPages NO
42  #endif
43 @@ -686,11 +686,7 @@
44  #define LintlibDir $(USRLIBDIR)/lint
45  #endif
46  #ifndef SystemManDirectory
47 -#if SystemV4
48  #define SystemManDirectory /usr/share/man
49 -#else
50 -#define SystemManDirectory /usr/man
51 -#endif
52  #endif
53  #ifndef ManDirectoryRoot
54  #ifdef ProjectRoot
55 @@ -817,7 +813,7 @@
56  #define NoRConst NO /* YES if const for structs of funcs is bad */
57  #endif
58  #ifndef InstPgmFlags
59 -#define InstPgmFlags -s
60 +#define InstPgmFlags
61  #endif
62  #ifndef InstBinFlags
63  #define InstBinFlags -m 0755
64 @@ -958,7 +954,7 @@
65  #define CppCmd /lib/cpp
66  #endif
67  #ifndef RawCppCmd
68 -#define RawCppCmd CppCmd -undef
69 +#define RawCppCmd CppCmd
70  #endif
71  #ifndef CppNoLineInfoOption
72  #define CppNoLineInfoOption /**/
73 diff -Nur XFree86-4.0.2.org/xc/config/cf/X11.tmpl XFree86-4.0.2/xc/config/cf/X11.tmpl
74 --- XFree86-4.0.2.org/xc/config/cf/X11.tmpl     Sat Dec 16 07:39:25 2000
75 +++ XFree86-4.0.2/xc/config/cf/X11.tmpl Wed Dec 20 13:41:02 2000
76 @@ -882,8 +882,12 @@
77  #endif
78  #endif
79  
80 +#ifndef EtcX11Directory
81 +#define EtcX11Directory /etc/X11
82 +#endif
83 +
84  #ifndef DefaultFSConfigFile
85 -#define DefaultFSConfigFile $(LIBDIR)/fs/config
86 +#define DefaultFSConfigFile $(ETCX11DIR)/fs/config
87  #endif
88  
89  /* X-TrueType settings */
90 @@ -1002,7 +1006,7 @@
91  #define ConfigDir $(LIBDIR)/config
92  #endif
93  #ifndef DocDir
94 -#define DocDir $(LIBDIR)/doc
95 +#define DocDir $(LIBDIR)/share/doc
96  #endif
97  #ifndef DocHtmlDir
98  #define DocHtmlDir $(DOCDIR)/html
99 @@ -1011,31 +1015,31 @@
100  #define DocPsDir $(DOCDIR)/PostScript
101  #endif
102  #ifndef FontDir
103 -#define FontDir $(LIBDIR)/fonts
104 +#define FontDir /usr/share/fonts
105  #endif
106  #ifndef AdmDir
107 -#define AdmDir /usr/adm
108 +#define AdmDir /var/log
109  #endif
110  #ifndef XinitDir
111 -#define XinitDir $(LIBDIR)/xinit
112 +#define XinitDir $(ETCX11DIR)/xinit
113  #endif
114  #ifndef XdmDir
115 -#define XdmDir $(LIBDIR)/xdm
116 +#define XdmDir $(ETCX11DIR)/xdm
117  #endif
118  #ifndef XdmVarDir
119  #define XdmVarDir $(VARLIBDIR)/xdm
120  #endif
121  #ifndef XdmAuthDir
122 -#define XdmAuthDir $(LIBDIR)/xdm
123 +#define XdmAuthDir $(ETCX11DIR)/xdm
124  #endif
125  #ifndef XdmConfigurationSubdirectory           /* under xdm sources */
126  #define XdmConfigurationSubdirectory config
127  #endif
128  #ifndef TwmDir
129 -#define TwmDir $(LIBDIR)/twm
130 +#define TwmDir $(ETCX11DIR)/twm
131  #endif
132  #ifndef XsmDir
133 -#define XsmDir $(LIBDIR)/xsm
134 +#define XsmDir $(ETCX11DIR)/xsm
135  #endif
136  #ifndef NlsDir
137  #define NlsDir $(LIBDIR)/nls
138 @@ -1047,23 +1051,20 @@
139  #define PexApiDir $(LIBDIR)/PEX
140  #endif
141  #ifndef LbxproxyDir
142 -#define LbxproxyDir $(LIBDIR)/lbxproxy
143 +#define LbxproxyDir $(ETCX11DIR)/lbxproxy
144  #endif
145  #ifndef LbxproxyConfigSubdir           /* under lbxproxy sources */
146  #define LbxproxyConfigSubdir config
147  #endif
148  #ifndef ProxyManagerDir
149 -#define ProxyManagerDir $(LIBDIR)/proxymngr
150 +#define ProxyManagerDir $(ETCX11DIR)/proxymngr
151  #endif
152  #ifndef ServerConfigDir
153 -#define ServerConfigDir $(LIBDIR)/xserver
154 +#define ServerConfigDir $(ETCX11DIR)/xserver
155  #endif
156  #ifndef XPrintDir
157  #define XPrintDir ServerConfigDir
158  #endif
159 -#ifndef EtcX11Directory
160 -#define EtcX11Directory /etc/X11
161 -#endif
162  #ifndef InstallSecurityConfig
163  #define InstallSecurityConfig YES      /* Install sample security policy */
164  #endif
165 @@ -1095,10 +1096,10 @@
166  #define OsNameDefines /* as nothing */
167  #endif
168  #ifndef DefaultUserPath                        /* for xdm */
169 -#define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb
170 +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR)
171  #endif
172  #ifndef DefaultSystemPath              /* for xdm */
173 -#define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/ucb
174 +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR)
175  #endif
176  #ifndef DefaultSystemShell             /* for xdm to set in SHELL */
177  #define DefaultSystemShell BourneShell
178 @@ -1211,7 +1212,7 @@
179  
180       HTMLINDEXCMD = HtmlIndexCmd
181  
182 -       DOCUTILSRC = $(XTOP)/doc/util
183 +       DOCUTILSRC = $(XTOP)/share/doc/util
184          CLIENTSRC = $(TOP)/clients
185            DEMOSRC = $(TOP)/demos
186         XDOCMACROS = $(DOCUTILSRC)/macros.t
187 @@ -1225,7 +1226,7 @@
188          SERVERSRC = $(XTOP)/programs/Xserver
189         CONTRIBSRC = ContribDir
190     UNSUPPORTEDSRC = UnsupportedDir
191 -           DOCSRC = $(XTOP)/doc
192 +           DOCSRC = $(XTOP)/share/doc
193             RGBSRC = $(XTOP)/programs/rgb
194        BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
195       MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
196 diff -Nur XFree86-4.0.2.org/xc/config/cf/linux.cf XFree86-4.0.2/xc/config/cf/linux.cf
197 --- XFree86-4.0.2.org/xc/config/cf/linux.cf     Thu Dec 14 20:24:08 2000
198 +++ XFree86-4.0.2/xc/config/cf/linux.cf Wed Dec 20 13:45:03 2000
199 @@ -276,7 +276,7 @@
200  #  if defined(i386Architecture) || defined(ia64Architecture)
201  #    if OSMajorVersion == 2
202         /* Only tested for Linux 2.2.0 through 2.2.12 */
203 -#      if OSMinorVersion == 2 && OSTeenyVersion <= 12
204 +#      if OSMinorVersion == 2
205  #        define BuildXF86DRM   YES
206  #      else
207           /* Only tested for Linux 2.3.0 through 2.3.18 */
208 @@ -565,7 +565,7 @@
209  #define StandardCppDefines     StandardDefines
210  
211  #define HasVarRun              YES
212 -#define VarDbDirectory         $(VARDIR)/lib
213 +#define VarDbDirectory         /var/lib
214  
215  #ifndef XF86OSCardDrivers
216  # define XF86OSCardDrivers     v4l
217 @@ -704,10 +704,10 @@
218  #endif
219  
220  #ifndef LinkGLToUsrLib
221 -# define LinkGLToUsrLib                YES
222 +# define LinkGLToUsrLib                NO
223  #endif
224  # ifndef LinkGLToUsrInclude
225 -# define LinkGLToUsrInclude    YES
226 +# define LinkGLToUsrInclude    NO
227  #endif
228  
229  
230 diff -Nur XFree86-4.0.2.org/xc/config/cf/site.def XFree86-4.0.2/xc/config/cf/site.def
231 --- XFree86-4.0.2.org/xc/config/cf/site.def     Tue Jun 27 02:55:45 2000
232 +++ XFree86-4.0.2/xc/config/cf/site.def Wed Dec 20 13:41:02 2000
233 @@ -131,10 +131,14 @@
234  #define HasSentinel    YES
235  */
236  
237 -/*
238  #undef DefaultUserPath
239 -#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
240 -*/
241 +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR)
242 +#undef DefaultSystemPath
243 +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR)
244 +
245 +
246 +#define HasPam    YES
247 +#define HasPamMisc    YES
248  
249  
250  /* You do NOT need SetUID if you only run the server under xdm */
251 diff -Nur XFree86-4.0.2.org/xc/config/cf/xf86site.def XFree86-4.0.2/xc/config/cf/xf86site.def
252 --- XFree86-4.0.2.org/xc/config/cf/xf86site.def Thu Dec 14 20:24:16 2000
253 +++ XFree86-4.0.2/xc/config/cf/xf86site.def     Wed Dec 20 13:41:03 2000
254 @@ -134,16 +134,16 @@
255   * Some Linux releases don't have a libtermcap.  In this case you may need
256   * to uncomment the following
257   *
258 -#define TermcapLibrary         -lncurses
259   */
260 +#define TermcapLibrary         -lncurses
261  
262  /*
263   * If you have Tk (which is required to build XF86Setup), uncomment this
264   * Note: version 4.0 or 4.1 is required, and XF86Setup links it statically by
265   * default.
266   *
267 -#define HasTk                  YES
268   */
269 +#define HasTk                  YES
270  
271  /*
272   * Set the paths and names for your Tk library if they don't match the
273 @@ -156,25 +156,25 @@
274   *
275   * Some Linux releases need TkLibDir set to /usr/X11R6/lib
276   *
277 -#define TkLibDir               /usr/local/lib
278 -#define TkIncDir               /usr/local/include
279 -#define TkLibName              tk
280   */
281 +#define TkLibDir               /usr/lib
282 +#define TkIncDir               /usr/include
283 +#define TkLibName              tk
284  
285  /*
286   * By default, XF86Setup is linked with a static Tk library.  To change
287   * that, uncomment the following line.
288   *
289 -#define XF86SetupUsesStaticTk  NO
290   */
291 +#define XF86SetupUsesStaticTk  NO
292  
293  /*
294   * If you have Tcl (which is required to build XF86Setup), uncomment this
295   * Note: version 7.4 or 7.5 is required, and XF86Setup links it statically by
296   * default.
297   *
298 -#define HasTcl                 YES
299   */
300 +#define HasTcl                 YES
301  
302  /*
303   * Set the paths and names for your Tcl library if they don't match the
304 @@ -184,17 +184,17 @@
305   *
306   * Some Linux releases need TclIncDir set to /usr/include/tcl.
307   *
308 -#define TclLibDir              /usr/local/lib
309 -#define TclIncDir              /usr/local/include
310 -#define TclLibName             tcl
311   */
312 +#define TclLibDir              /usr/lib
313 +#define TclIncDir              /usr/include
314 +#define TclLibName             tcl
315  
316  /*
317   * By default, XF86Setup is linked with a static Tcl library.  To change
318   * that, uncomment the following line.
319   *
320 -#define XF86SetupUsesStaticTcl NO
321   */
322 +#define XF86SetupUsesStaticTcl NO
323  
324  /*
325   * Build a server that dynamically loads the modules by setting
326 @@ -436,8 +436,8 @@
327  /*
328   * To not build/install the Cyrillic fonts, uncomment the following
329   *
330 -#define BuildCyrillicFonts     NO
331   */
332 +#define BuildCyrillicFonts     YES
333  
334  /*
335   * To not build/install the Latin2 fonts, uncomment the following
336 @@ -626,8 +626,8 @@
337   * To forceably build static libraries in addition to shared libraries,
338   * uncomment this.
339   *
340 -#define ForceNormalLib         YES
341   */
342 +#define ForceNormalLib         YES
343  
344  /*
345   * Uncomment this if your default tools (eg, gcc, ld, as, etc) are
346 @@ -713,26 +713,26 @@
347   * HasGlide2 to YES and set the Glide2IncDir variable. 
348   * HasGlide2 is per default NO.
349   *
350 -#define HasGlide2 YES
351   */
352 +#define HasGlide2 YES
353  
354  /*
355   * Set the path to your Glide include files.
356   *
357 -#define Glide2IncDir /usr/include/glide
358   */
359 +#define Glide2IncDir /usr/include/glide
360  
361  /* 
362   * The 3Dfx 3D DRI driver requires glide 3.
363   *
364 -#define HasGlide3 YES
365   */
366 +#define HasGlide3 YES
367  
368  /*
369   * Set the path to your Glide 3 include files.
370   *
371 -#define Glide3IncDir /usr/include/glide3
372   */
373 +#define Glide3IncDir /usr/include/glide3
374  
375  /*
376   * Undefine the following if you don't want to have config files and
377 diff -Nur XFree86-4.0.2.org/xc/config/cf/xfree86.cf XFree86-4.0.2/xc/config/cf/xfree86.cf
378 --- XFree86-4.0.2.org/xc/config/cf/xfree86.cf   Thu Dec 14 20:24:17 2000
379 +++ XFree86-4.0.2/xc/config/cf/xfree86.cf       Wed Dec 20 13:52:03 2000
380 @@ -28,7 +28,7 @@
381  #define XConfigFile            XF86Config
382  #endif
383  #ifndef XConfigDir
384 -#define XConfigDir             $(LIBDIR)
385 +#define XConfigDir             $(ETCX11DIR)
386  #endif
387  #ifndef XLogFile
388  #define XLogFile               XFree86
389 @@ -520,9 +520,10 @@
390  
391  /* Pure PCI drivers should go first */
392  # ifndef XF86CardDrivers
393 -#  define XF86CardDrivers      mga glint s3virge sis savage\
394 -                               trident chips fbdev \
395 -                               DevelDrivers vga \
396 +#  define XF86CardDrivers      mga glint nv tga s3virge sis savage\
397 +                               neomagic i740 tdfx trident chips fbdev \
398 +                               DevelDrivers vga cirrus tseng apm ati\
399 +                               r128 ati v4l vga\
400                                 XF86OSCardDrivers XF86ExtraCardDrivers
401  # endif
402  #endif
403 diff -Nur XFree86-4.0.2.org/xc/config/imake/imake.c XFree86-4.0.2/xc/config/imake/imake.c
404 --- XFree86-4.0.2.org/xc/config/imake/imake.c   Wed Nov 29 17:33:50 2000
405 +++ XFree86-4.0.2/xc/config/imake/imake.c       Wed Dec 20 13:41:03 2000
406 @@ -952,6 +952,7 @@
407    static char* yast = "/sbin/YaST";
408    static char* redhat = "/etc/redhat-release";
409    static char* debian = "/etc/debian_version";
410 +  static char* pld = "/etc/pld-release";
411  
412    fprintf (inFile, "%s\n", "#define LinuxUnknown    0");
413    fprintf (inFile, "%s\n", "#define LinuxSuSE       1");
414 @@ -966,6 +967,7 @@
415    fprintf (inFile, "%s\n", "#define LinuxTurbo      10");
416    fprintf (inFile, "%s\n", "#define LinuxWare       11");
417    fprintf (inFile, "%s\n", "#define LinuxYggdrasil  12");
418 +  fprintf (inFile, "%s\n", "#define LinuxPLD        13");
419  
420    if (lstat (yast, &sb) == 0) {
421      fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxSuSE");
422 @@ -982,6 +984,11 @@
423      fprintf (inFile, "%s\n", "#define DefaultLinuxDistName Debian");
424      /* You could also try to get the version of the Debian distrib by looking
425       * at the content of /etc/debian_version */
426 +    return;
427 +  }
428 +  if (lstat (pld, &sb) == 0) {
429 +    fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxPLD");
430 +    fprintf (inFile, "%s\n", "#define DefaultLinuxDistName PLD");
431      return;
432    }
433    /* what's the definitive way to tell what any particular distribution is? */
434 diff -Nur XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile
435 --- XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile        Sat Sep  4 15:04:28 1999
436 +++ XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile    Wed Dec 20 13:41:03 2000
437 @@ -118,7 +118,7 @@
438  
439   XCONFIG_DEFINES = $(EXT_DEFINES) -DXF86SETUP \
440                    '-DPROJECTROOT="$(PROJECTROOT)"' \
441 -                  '-DSERVER_CONFIG_FILE="$(LIBDIR)/$(XCONFIGFILE)"' \
442 +                  '-DSERVER_CONFIG_FILE="/etc/X11/$(XCONFIGFILE)"' \
443                    $(SITE_FONT_PATH) $(SITE_RGB_DB) \
444                    -DNO_WRAPPERS
445  
446 diff -Nur XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl
447 --- XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl       Sun Apr  5 18:15:52 1998
448 +++ XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl   Wed Dec 20 13:41:03 2000
449 @@ -38,7 +38,7 @@
450         set devid [lindex $DeviceIDs $idx]
451          global Device_$devid
452          set server [set Device_${devid}(Server)]
453 -       set linkname $Xwinhome/bin/X
454 +       set linkname /etc/X11/X
455         set lastlink $linkname
456         for {set nlinks 0} \
457                 {[file exists $linkname] && [file type $linkname]=="link" \
458 @@ -74,7 +74,7 @@
459             set CWD [pwd]
460             cd $linkdir
461             catch "unlink X" ret
462 -           if [catch "link $Xwinhome/bin/XF86_$server X" ret] {
463 +           if [catch "link ../../usr/X11R6/bin/XF86_$server X" ret] {
464                 mesg $messages(phase5.4) okay
465             } else {
466                 mesg $messages(phase5.5) okay
467 diff -Nur XFree86-4.0.2.org/xc/programs/xdm/config/Xres.cpp XFree86-4.0.2/xc/programs/xdm/config/Xres.cpp
468 --- XFree86-4.0.2.org/xc/programs/xdm/config/Xres.cpp   Wed Nov 29 17:46:09 2000
469 +++ XFree86-4.0.2/xc/programs/xdm/config/Xres.cpp       Wed Dec 20 13:41:03 2000
470 @@ -66,9 +66,9 @@
471  /**/#endif
472  #ifdef XPM
473  /**/#if PLANES >= 8
474 -xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP
475 +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo.xpm
476  /**/#else
477 -xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP
478 +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo-bw.xpm
479  /**/#endif
480  xlogin*useShape: true
481  xlogin*logoPadding: 10
482 diff -Nur XFree86-4.0.2.org/xc/programs/xdm/resource.c XFree86-4.0.2/xc/programs/xdm/resource.c
483 --- XFree86-4.0.2.org/xc/programs/xdm/resource.c        Sun Dec  6 07:08:49 1998
484 +++ XFree86-4.0.2/xc/programs/xdm/resource.c    Wed Dec 20 13:41:03 2000
485 @@ -70,31 +70,31 @@
486   */
487  #ifndef __EMX__
488  #ifndef DEF_SERVER_LINE 
489 -#define DEF_SERVER_LINE ":0 local /usr/bin/X11/X :0"
490 +#define DEF_SERVER_LINE ":0 local /usr/X11R6/bin/X :0"
491  #endif
492  #ifndef XRDB_PROGRAM
493 -#define XRDB_PROGRAM "/usr/bin/X11/xrdb"
494 +#define XRDB_PROGRAM "/usr/X11R6/X11/xrdb"
495  #endif
496  #ifndef DEF_SESSION
497 -#define DEF_SESSION "/usr/bin/X11/xterm -ls"
498 +#define DEF_SESSION "/usr/X11R6/bin/xterm -ls"
499  #endif
500  #ifndef DEF_USER_PATH
501 -#define DEF_USER_PATH ":/bin:/usr/bin:/usr/bin/X11:/usr/ucb"
502 +#define DEF_USER_PATH "/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
503  #endif
504  #ifndef DEF_SYSTEM_PATH
505 -#define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin/X11:/usr/ucb"
506 +#define DEF_SYSTEM_PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"
507  #endif
508  #ifndef DEF_SYSTEM_SHELL
509  #define DEF_SYSTEM_SHELL "/bin/sh"
510  #endif
511  #ifndef DEF_FAILSAFE_CLIENT
512 -#define DEF_FAILSAFE_CLIENT "/usr/bin/X11/xterm"
513 +#define DEF_FAILSAFE_CLIENT "/usr/X11R6/bin/xterm"
514  #endif
515  #ifndef DEF_XDM_CONFIG
516 -#define DEF_XDM_CONFIG "/usr/lib/X11/xdm/xdm-config"
517 +#define DEF_XDM_CONFIG "/etc/X11/xdm/xdm-config"
518  #endif
519  #ifndef DEF_CHOOSER
520 -#define DEF_CHOOSER "/usr/lib/X11/xdm/chooser"
521 +#define DEF_CHOOSER "/etc/X11/xdm/chooser"
522  #endif
523  #ifndef DEF_AUTH_NAME
524  #ifdef HASXDMAUTH
525 @@ -104,7 +104,7 @@
526  #endif
527  #endif
528  #ifndef DEF_AUTH_DIR
529 -#define DEF_AUTH_DIR "/usr/lib/X11/xdm"
530 +#define DEF_AUTH_DIR "/etc/X11/xdm"
531  #endif
532  #ifndef DEF_USER_AUTH_DIR
533  #define DEF_USER_AUTH_DIR      "/tmp"
534 diff -Nur XFree86-4.0.2.org/xc/programs/xinit/Imakefile XFree86-4.0.2/xc/programs/xinit/Imakefile
535 --- XFree86-4.0.2.org/xc/programs/xinit/Imakefile       Tue Dec  5 01:59:44 2000
536 +++ XFree86-4.0.2/xc/programs/xinit/Imakefile   Wed Dec 20 13:41:03 2000
537 @@ -41,11 +41,13 @@
538  InstallNamedProg(startx,startx,$(BINDIR))
539  InstallManPage(startx,$(MANDIR))
540  
541 -#if InstallXinitConfig
542 -InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
543 -#else
544 -InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
545 -#endif
546 +XCOMM Red Hat gets this from a different package
547 +XCOMM #if InstallXinitConfig
548 +XCOMM InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
549 +XCOMM #else
550 +XCOMM InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
551 +XCOMM #endif
552 +
553  #endif
554  
555  LinkConfDirectory(xinit,.,xinit,.)
556 diff -Nur XFree86-4.0.2.org/xc/programs/xterm/Imakefile XFree86-4.0.2/xc/programs/xterm/Imakefile
557 --- XFree86-4.0.2.org/xc/programs/xterm/Imakefile       Tue Dec  5 02:00:14 2000
558 +++ XFree86-4.0.2/xc/programs/xterm/Imakefile   Wed Dec 20 13:43:30 2000
559 @@ -36,6 +36,10 @@
560  #define XkbClientLibs /**/
561  #endif
562  
563 +#if InstallXtermSetUID
564 +#undef InstallXtermSetUID
565 +#endif
566 +
567  #ifndef SpecialCObjectRule
568  #define SpecialCObjectRule(module,ignore,defines) \
569  module.o: ; $(CC) -c defines $(CFLAGS) module.c
570 @@ -57,6 +61,8 @@
571           PTYLIB = -lpucc
572  #endif
573  
574 +         PTYLIB = -lutil
575 +
576  #if ((LinuxCLibMajorVersion == 6) && (LinuxCLibMinorVersion < 1))
577           PTYLIB = -lutil
578  #endif
579 @@ -109,7 +115,7 @@
580                   -DOSMINORVERSION=$(OSMINORVERSION)
581     MISC_DEFINES = /* -DALLOWLOGGING -DALLOWLOGFILEEXEC */
582      XKB_DEFINES = XkbClientDefines
583 -        DEFINES = -I. $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF)
584 +        DEFINES = -I. -I/usr/include/ncurses $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF)
585  
586  #ifdef OS2Architecture
587            MAINSRC = os2main.c
588 diff -Nur XFree86-4.0.2.org/xc/programs/xterm/xterm.h XFree86-4.0.2/xc/programs/xterm/xterm.h
589 --- XFree86-4.0.2.org/xc/programs/xterm/xterm.h Sat Dec  9 05:02:44 2000
590 +++ XFree86-4.0.2/xc/programs/xterm/xterm.h     Wed Dec 20 13:41:03 2000
591 @@ -62,7 +62,7 @@
592  #endif
593  
594  #ifndef DFT_TERMTYPE
595 -#define DFT_TERMTYPE "xterm"
596 +#define DFT_TERMTYPE "xterm-color"
597  #endif
598  
599  #ifndef X_NOT_POSIX
600 --- XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile~     Thu Dec 14 20:47:46 2000
601 +++ XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile      Fri Dec 22 17:58:27 2000
602 @@ -92,7 +92,7 @@
603  
604  #if HasNCurses
605  CURSESLIB = NCursesLibName
606 -CURSESDEFINES  = -DHAS_NCURSES
607 +CURSESDEFINES  = -DHAS_NCURSES -I/usr/include/ncurses
608  #endif
609  
610  DEFINES        = -DXF86CONFIG=\"XConfigFile\" $(MODULEDEFINES) \
This page took 0.090033 seconds and 4 git commands to generate.