]> git.pld-linux.org Git - packages/XFree86.git/blame - XFree86-PLD.patch
- get kernel version from includes, not from uname
[packages/XFree86.git] / XFree86-PLD.patch
CommitLineData
b19d4d8b
JR
1diff -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
e1fe05b9
JR
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 = .
b19d4d8b
JR
17diff -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 */
e1fe05b9
JR
24+# ifdef alpha
25+# define AlphaArchitecture
26+# undef alpha
b19d4d8b 27+# endif /* alpha */
e1fe05b9
JR
28 # ifdef __alpha
29 # define AlphaArchitecture
30 # undef __alpha
b19d4d8b
JR
31diff -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 @@
e1fe05b9
JR
35
36 #ifndef BuildHtmlManPages
37 #ifdef RmanCmd
38-#define BuildHtmlManPages YES
39+#define BuildHtmlManPages NO
40 #else
41 #define BuildHtmlManPages NO
42 #endif
b19d4d8b 43@@ -686,11 +686,7 @@
e1fe05b9
JR
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
b19d4d8b 55@@ -817,7 +813,7 @@
e1fe05b9
JR
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
b19d4d8b 64@@ -958,7 +954,7 @@
8a78032e
JR
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 /**/
b19d4d8b
JR
73diff -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 @@
e1fe05b9
JR
77 #endif
78 #endif
b19d4d8b 79
e1fe05b9
JR
80+#ifndef EtcX11Directory
81+#define EtcX11Directory /etc/X11
82+#endif
b19d4d8b 83+
e1fe05b9
JR
84 #ifndef DefaultFSConfigFile
85-#define DefaultFSConfigFile $(LIBDIR)/fs/config
86+#define DefaultFSConfigFile $(ETCX11DIR)/fs/config
87 #endif
88
89 /* X-TrueType settings */
b19d4d8b
JR
90@@ -1002,7 +1006,7 @@
91 #define ConfigDir $(LIBDIR)/config
e1fe05b9
JR
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
b19d4d8b 99@@ -1011,31 +1015,31 @@
e1fe05b9
JR
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
b19d4d8b 138@@ -1047,23 +1051,20 @@
e1fe05b9
JR
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
e1fe05b9
JR
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
b19d4d8b 165@@ -1095,10 +1096,10 @@
e1fe05b9
JR
166 #define OsNameDefines /* as nothing */
167 #endif
168 #ifndef DefaultUserPath /* for xdm */
169-#define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb
8a78032e 170+#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR)
e1fe05b9
JR
171 #endif
172 #ifndef DefaultSystemPath /* for xdm */
173-#define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/ucb
8a78032e 174+#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR)
e1fe05b9
JR
175 #endif
176 #ifndef DefaultSystemShell /* for xdm to set in SHELL */
177 #define DefaultSystemShell BourneShell
b19d4d8b 178@@ -1211,7 +1212,7 @@
e1fe05b9
JR
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
b19d4d8b 187@@ -1225,7 +1226,7 @@
e1fe05b9
JR
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
b19d4d8b
JR
196diff -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)
e1fe05b9
JR
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
b19d4d8b 205 # define BuildXF86DRM YES
e1fe05b9
JR
206 # else
207 /* Only tested for Linux 2.3.0 through 2.3.18 */
b19d4d8b 208@@ -565,7 +565,7 @@
e1fe05b9
JR
209 #define StandardCppDefines StandardDefines
210
211 #define HasVarRun YES
b19d4d8b 212-#define VarDbDirectory $(VARDIR)/lib
e1fe05b9
JR
213+#define VarDbDirectory /var/lib
214
215 #ifndef XF86OSCardDrivers
b19d4d8b
JR
216 # define XF86OSCardDrivers v4l
217@@ -704,10 +704,10 @@
e1fe05b9
JR
218 #endif
219
220 #ifndef LinkGLToUsrLib
b19d4d8b
JR
221-# define LinkGLToUsrLib YES
222+# define LinkGLToUsrLib NO
e1fe05b9 223 #endif
b19d4d8b
JR
224 # ifndef LinkGLToUsrInclude
225-# define LinkGLToUsrInclude YES
226+# define LinkGLToUsrInclude NO
e1fe05b9
JR
227 #endif
228
229
b19d4d8b
JR
230diff -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
e1fe05b9
JR
233@@ -131,10 +131,13 @@
234 #define HasSentinel YES
235 */
236
237-/*
238 #undef DefaultUserPath
239-#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
240-*/
8a78032e 241+#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR)
e1fe05b9 242+#undef DefaultSystemPath
8a78032e 243+#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR)
e1fe05b9
JR
244+
245+
246+#define HasPam YES
247
248
249 /* You do NOT need SetUID if you only run the server under xdm */
b19d4d8b
JR
250diff -Nur XFree86-4.0.2.org/xc/config/cf/xf86site.def XFree86-4.0.2/xc/config/cf/xf86site.def
251--- XFree86-4.0.2.org/xc/config/cf/xf86site.def Thu Dec 14 20:24:16 2000
252+++ XFree86-4.0.2/xc/config/cf/xf86site.def Wed Dec 20 13:41:03 2000
e1fe05b9
JR
253@@ -134,16 +134,16 @@
254 * Some Linux releases don't have a libtermcap. In this case you may need
255 * to uncomment the following
256 *
257-#define TermcapLibrary -lncurses
258 */
259+#define TermcapLibrary -lncurses
260
261 /*
262 * If you have Tk (which is required to build XF86Setup), uncomment this
263 * Note: version 4.0 or 4.1 is required, and XF86Setup links it statically by
264 * default.
265 *
266-#define HasTk YES
267 */
268+#define HasTk YES
269
270 /*
271 * Set the paths and names for your Tk library if they don't match the
272@@ -156,25 +156,25 @@
273 *
274 * Some Linux releases need TkLibDir set to /usr/X11R6/lib
275 *
276-#define TkLibDir /usr/local/lib
277-#define TkIncDir /usr/local/include
278-#define TkLibName tk
279 */
280+#define TkLibDir /usr/lib
281+#define TkIncDir /usr/include
282+#define TkLibName tk
283
284 /*
285 * By default, XF86Setup is linked with a static Tk library. To change
286 * that, uncomment the following line.
287 *
288-#define XF86SetupUsesStaticTk NO
289 */
290+#define XF86SetupUsesStaticTk NO
291
292 /*
293 * If you have Tcl (which is required to build XF86Setup), uncomment this
294 * Note: version 7.4 or 7.5 is required, and XF86Setup links it statically by
295 * default.
296 *
297-#define HasTcl YES
298 */
299+#define HasTcl YES
300
301 /*
302 * Set the paths and names for your Tcl library if they don't match the
303@@ -184,17 +184,17 @@
304 *
305 * Some Linux releases need TclIncDir set to /usr/include/tcl.
306 *
307-#define TclLibDir /usr/local/lib
308-#define TclIncDir /usr/local/include
309-#define TclLibName tcl
310 */
311+#define TclLibDir /usr/lib
312+#define TclIncDir /usr/include
313+#define TclLibName tcl
314
315 /*
316 * By default, XF86Setup is linked with a static Tcl library. To change
317 * that, uncomment the following line.
318 *
319-#define XF86SetupUsesStaticTcl NO
320 */
321+#define XF86SetupUsesStaticTcl NO
322
323 /*
324 * Build a server that dynamically loads the modules by setting
b19d4d8b 325@@ -436,8 +436,8 @@
e1fe05b9
JR
326 /*
327 * To not build/install the Cyrillic fonts, uncomment the following
328 *
329-#define BuildCyrillicFonts NO
330 */
331+#define BuildCyrillicFonts YES
332
333 /*
334 * To not build/install the Latin2 fonts, uncomment the following
b19d4d8b 335@@ -626,8 +626,8 @@
e1fe05b9
JR
336 * To forceably build static libraries in addition to shared libraries,
337 * uncomment this.
338 *
339-#define ForceNormalLib YES
340 */
341+#define ForceNormalLib YES
342
343 /*
344 * Uncomment this if your default tools (eg, gcc, ld, as, etc) are
b19d4d8b 345@@ -713,26 +713,26 @@
e1fe05b9
JR
346 * HasGlide2 to YES and set the Glide2IncDir variable.
347 * HasGlide2 is per default NO.
348 *
349-#define HasGlide2 YES
350 */
351+#define HasGlide2 YES
352
353 /*
354 * Set the path to your Glide include files.
355 *
356-#define Glide2IncDir /usr/include/glide
357 */
358+#define Glide2IncDir /usr/include/glide
359
360 /*
361 * The 3Dfx 3D DRI driver requires glide 3.
362 *
363-#define HasGlide3 YES
364 */
365+#define HasGlide3 YES
366
367 /*
368 * Set the path to your Glide 3 include files.
369 *
370-#define Glide3IncDir /usr/include/glide3
371 */
372+#define Glide3IncDir /usr/include/glide3
373
374 /*
375 * Undefine the following if you don't want to have config files and
b19d4d8b
JR
376diff -Nur XFree86-4.0.2.org/xc/config/cf/xfree86.cf XFree86-4.0.2/xc/config/cf/xfree86.cf
377--- XFree86-4.0.2.org/xc/config/cf/xfree86.cf Thu Dec 14 20:24:17 2000
378+++ XFree86-4.0.2/xc/config/cf/xfree86.cf Wed Dec 20 13:52:03 2000
379@@ -28,7 +28,7 @@
e1fe05b9
JR
380 #define XConfigFile XF86Config
381 #endif
382 #ifndef XConfigDir
383-#define XConfigDir $(LIBDIR)
384+#define XConfigDir $(ETCX11DIR)
385 #endif
b19d4d8b
JR
386 #ifndef XLogFile
387 #define XLogFile XFree86
388@@ -520,9 +520,10 @@
e1fe05b9
JR
389
390 /* Pure PCI drivers should go first */
391 # ifndef XF86CardDrivers
b19d4d8b
JR
392-# define XF86CardDrivers mga glint s3virge sis savage\
393- trident chips fbdev \
394- DevelDrivers vga \
395+# define XF86CardDrivers mga glint nv tga s3virge sis savage\
396+ neomagic i740 tdfx trident chips fbdev \
397+ DevelDrivers vga cirrus tseng apm ati\
398+ r128 ati v4l vga\
399 XF86OSCardDrivers XF86ExtraCardDrivers
e1fe05b9
JR
400 # endif
401 #endif
b19d4d8b
JR
402diff -Nur XFree86-4.0.2.org/xc/config/imake/imake.c XFree86-4.0.2/xc/config/imake/imake.c
403--- XFree86-4.0.2.org/xc/config/imake/imake.c Wed Nov 29 17:33:50 2000
404+++ XFree86-4.0.2/xc/config/imake/imake.c Wed Dec 20 13:41:03 2000
405@@ -952,6 +952,7 @@
e1fe05b9
JR
406 static char* yast = "/sbin/YaST";
407 static char* redhat = "/etc/redhat-release";
408 static char* debian = "/etc/debian_version";
409+ static char* pld = "/etc/pld-release";
410
411 fprintf (inFile, "%s\n", "#define LinuxUnknown 0");
412 fprintf (inFile, "%s\n", "#define LinuxSuSE 1");
b19d4d8b 413@@ -966,6 +967,7 @@
e1fe05b9
JR
414 fprintf (inFile, "%s\n", "#define LinuxTurbo 10");
415 fprintf (inFile, "%s\n", "#define LinuxWare 11");
416 fprintf (inFile, "%s\n", "#define LinuxYggdrasil 12");
417+ fprintf (inFile, "%s\n", "#define LinuxPLD 13");
418
419 if (lstat (yast, &sb) == 0) {
420 fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxSuSE");
b19d4d8b 421@@ -982,6 +984,11 @@
e1fe05b9
JR
422 fprintf (inFile, "%s\n", "#define DefaultLinuxDistName Debian");
423 /* You could also try to get the version of the Debian distrib by looking
424 * at the content of /etc/debian_version */
425+ return;
426+ }
427+ if (lstat (pld, &sb) == 0) {
428+ fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxPLD");
429+ fprintf (inFile, "%s\n", "#define DefaultLinuxDistName PLD");
430 return;
431 }
432 /* what's the definitive way to tell what any particular distribution is? */
b19d4d8b
JR
433diff -Nur XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile
434--- XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile Sat Sep 4 15:04:28 1999
435+++ XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile Wed Dec 20 13:41:03 2000
e1fe05b9
JR
436@@ -118,7 +118,7 @@
437
438 XCONFIG_DEFINES = $(EXT_DEFINES) -DXF86SETUP \
439 '-DPROJECTROOT="$(PROJECTROOT)"' \
440- '-DSERVER_CONFIG_FILE="$(LIBDIR)/$(XCONFIGFILE)"' \
441+ '-DSERVER_CONFIG_FILE="/etc/X11/$(XCONFIGFILE)"' \
442 $(SITE_FONT_PATH) $(SITE_RGB_DB) \
443 -DNO_WRAPPERS
444
b19d4d8b
JR
445diff -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
446--- XFree86-4.0.2.org/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl Sun Apr 5 18:15:52 1998
447+++ XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl Wed Dec 20 13:41:03 2000
e1fe05b9
JR
448@@ -38,7 +38,7 @@
449 set devid [lindex $DeviceIDs $idx]
450 global Device_$devid
451 set server [set Device_${devid}(Server)]
452- set linkname $Xwinhome/bin/X
453+ set linkname /etc/X11/X
454 set lastlink $linkname
455 for {set nlinks 0} \
456 {[file exists $linkname] && [file type $linkname]=="link" \
457@@ -74,7 +74,7 @@
458 set CWD [pwd]
459 cd $linkdir
460 catch "unlink X" ret
461- if [catch "link $Xwinhome/bin/XF86_$server X" ret] {
462+ if [catch "link ../../usr/X11R6/bin/XF86_$server X" ret] {
463 mesg $messages(phase5.4) okay
464 } else {
465 mesg $messages(phase5.5) okay
b19d4d8b
JR
466diff -Nur XFree86-4.0.2.org/xc/programs/xdm/config/Xres.cpp XFree86-4.0.2/xc/programs/xdm/config/Xres.cpp
467--- XFree86-4.0.2.org/xc/programs/xdm/config/Xres.cpp Wed Nov 29 17:46:09 2000
468+++ XFree86-4.0.2/xc/programs/xdm/config/Xres.cpp Wed Dec 20 13:41:03 2000
469@@ -66,9 +66,9 @@
e1fe05b9
JR
470 /**/#endif
471 #ifdef XPM
472 /**/#if PLANES >= 8
473-xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP
8a78032e 474+xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo.xpm
e1fe05b9
JR
475 /**/#else
476-xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP
477+xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo-bw.xpm
478 /**/#endif
479 xlogin*useShape: true
480 xlogin*logoPadding: 10
b19d4d8b
JR
481diff -Nur XFree86-4.0.2.org/xc/programs/xdm/resource.c XFree86-4.0.2/xc/programs/xdm/resource.c
482--- XFree86-4.0.2.org/xc/programs/xdm/resource.c Sun Dec 6 07:08:49 1998
483+++ XFree86-4.0.2/xc/programs/xdm/resource.c Wed Dec 20 13:41:03 2000
e1fe05b9
JR
484@@ -70,31 +70,31 @@
485 */
486 #ifndef __EMX__
487 #ifndef DEF_SERVER_LINE
488-#define DEF_SERVER_LINE ":0 local /usr/bin/X11/X :0"
489+#define DEF_SERVER_LINE ":0 local /usr/X11R6/bin/X :0"
490 #endif
491 #ifndef XRDB_PROGRAM
492-#define XRDB_PROGRAM "/usr/bin/X11/xrdb"
493+#define XRDB_PROGRAM "/usr/X11R6/X11/xrdb"
494 #endif
495 #ifndef DEF_SESSION
496-#define DEF_SESSION "/usr/bin/X11/xterm -ls"
497+#define DEF_SESSION "/usr/X11R6/bin/xterm -ls"
498 #endif
499 #ifndef DEF_USER_PATH
500-#define DEF_USER_PATH ":/bin:/usr/bin:/usr/bin/X11:/usr/ucb"
8a78032e 501+#define DEF_USER_PATH "/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
e1fe05b9
JR
502 #endif
503 #ifndef DEF_SYSTEM_PATH
504-#define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin/X11:/usr/ucb"
8a78032e 505+#define DEF_SYSTEM_PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"
e1fe05b9
JR
506 #endif
507 #ifndef DEF_SYSTEM_SHELL
508 #define DEF_SYSTEM_SHELL "/bin/sh"
509 #endif
510 #ifndef DEF_FAILSAFE_CLIENT
511-#define DEF_FAILSAFE_CLIENT "/usr/bin/X11/xterm"
512+#define DEF_FAILSAFE_CLIENT "/usr/X11R6/bin/xterm"
513 #endif
514 #ifndef DEF_XDM_CONFIG
515-#define DEF_XDM_CONFIG "/usr/lib/X11/xdm/xdm-config"
516+#define DEF_XDM_CONFIG "/etc/X11/xdm/xdm-config"
517 #endif
518 #ifndef DEF_CHOOSER
519-#define DEF_CHOOSER "/usr/lib/X11/xdm/chooser"
520+#define DEF_CHOOSER "/etc/X11/xdm/chooser"
521 #endif
522 #ifndef DEF_AUTH_NAME
523 #ifdef HASXDMAUTH
524@@ -104,7 +104,7 @@
525 #endif
526 #endif
527 #ifndef DEF_AUTH_DIR
528-#define DEF_AUTH_DIR "/usr/lib/X11/xdm"
529+#define DEF_AUTH_DIR "/etc/X11/xdm"
530 #endif
531 #ifndef DEF_USER_AUTH_DIR
532 #define DEF_USER_AUTH_DIR "/tmp"
b19d4d8b
JR
533diff -Nur XFree86-4.0.2.org/xc/programs/xinit/Imakefile XFree86-4.0.2/xc/programs/xinit/Imakefile
534--- XFree86-4.0.2.org/xc/programs/xinit/Imakefile Tue Dec 5 01:59:44 2000
535+++ XFree86-4.0.2/xc/programs/xinit/Imakefile Wed Dec 20 13:41:03 2000
536@@ -41,11 +41,13 @@
e1fe05b9
JR
537 InstallNamedProg(startx,startx,$(BINDIR))
538 InstallManPage(startx,$(MANDIR))
539
540-#if InstallXinitConfig
541-InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
542-#else
543-InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
544-#endif
545+XCOMM Red Hat gets this from a different package
546+XCOMM #if InstallXinitConfig
547+XCOMM InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
548+XCOMM #else
549+XCOMM InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
550+XCOMM #endif
551+
552 #endif
553
554 LinkConfDirectory(xinit,.,xinit,.)
b19d4d8b
JR
555diff -Nur XFree86-4.0.2.org/xc/programs/xterm/Imakefile XFree86-4.0.2/xc/programs/xterm/Imakefile
556--- XFree86-4.0.2.org/xc/programs/xterm/Imakefile Tue Dec 5 02:00:14 2000
557+++ XFree86-4.0.2/xc/programs/xterm/Imakefile Wed Dec 20 13:43:30 2000
e1fe05b9
JR
558@@ -36,6 +36,10 @@
559 #define XkbClientLibs /**/
560 #endif
561
562+#if InstallXtermSetUID
563+#undef InstallXtermSetUID
564+#endif
565+
566 #ifndef SpecialCObjectRule
567 #define SpecialCObjectRule(module,ignore,defines) \
568 module.o: ; $(CC) -c defines $(CFLAGS) module.c
569@@ -57,6 +61,8 @@
570 PTYLIB = -lpucc
571 #endif
572
573+ PTYLIB = -lutil
574+
575 #if ((LinuxCLibMajorVersion == 6) && (LinuxCLibMinorVersion < 1))
576 PTYLIB = -lutil
577 #endif
b19d4d8b 578@@ -109,7 +115,7 @@
e1fe05b9
JR
579 -DOSMINORVERSION=$(OSMINORVERSION)
580 MISC_DEFINES = /* -DALLOWLOGGING -DALLOWLOGFILEEXEC */
581 XKB_DEFINES = XkbClientDefines
b19d4d8b
JR
582- DEFINES = -I. $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF)
583+ DEFINES = -I. -I/usr/include/ncurses $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF)
e1fe05b9
JR
584
585 #ifdef OS2Architecture
586 MAINSRC = os2main.c
b19d4d8b
JR
587diff -Nur XFree86-4.0.2.org/xc/programs/xterm/xterm.h XFree86-4.0.2/xc/programs/xterm/xterm.h
588--- XFree86-4.0.2.org/xc/programs/xterm/xterm.h Sat Dec 9 05:02:44 2000
589+++ XFree86-4.0.2/xc/programs/xterm/xterm.h Wed Dec 20 13:41:03 2000
e1fe05b9
JR
590@@ -62,7 +62,7 @@
591 #endif
592
593 #ifndef DFT_TERMTYPE
594-#define DFT_TERMTYPE "xterm"
595+#define DFT_TERMTYPE "xterm-color"
596 #endif
597
598 #ifndef X_NOT_POSIX
This page took 0.112237 seconds and 4 git commands to generate.