]>
Commit | Line | Data |
---|---|---|
fa4a3447 AM |
1 | diff -urN xc.org/config/cf/Imake.cf xc/config/cf/Imake.cf |
2 | --- xc.org/config/cf/Imake.cf 2003-11-21 15:13:57.000000000 +0100 | |
3 | +++ xc/config/cf/Imake.cf 2003-11-21 15:20:56.000000000 +0100 | |
4 | @@ -766,6 +766,10 @@ | |
b19d4d8b JR |
5 | # define s390Architecture |
6 | # undef __s390__ | |
7 | # endif /* s390 */ | |
e1fe05b9 JR |
8 | +# ifdef alpha |
9 | +# define AlphaArchitecture | |
10 | +# undef alpha | |
b19d4d8b | 11 | +# endif /* alpha */ |
e1fe05b9 JR |
12 | # ifdef __alpha |
13 | # define AlphaArchitecture | |
14 | # undef __alpha | |
fa4a3447 AM |
15 | diff -urN xc.org/config/cf/Imake.tmpl xc/config/cf/Imake.tmpl |
16 | --- xc.org/config/cf/Imake.tmpl 2003-11-21 15:13:57.000000000 +0100 | |
17 | +++ xc/config/cf/Imake.tmpl 2003-11-21 15:20:56.000000000 +0100 | |
e9cc699d | 18 | @@ -261,7 +261,7 @@ |
e1fe05b9 JR |
19 | |
20 | #ifndef BuildHtmlManPages | |
21 | #ifdef RmanCmd | |
22 | -#define BuildHtmlManPages YES | |
23 | +#define BuildHtmlManPages NO | |
24 | #else | |
25 | #define BuildHtmlManPages NO | |
26 | #endif | |
fa4a3447 | 27 | @@ -854,11 +854,7 @@ |
e1fe05b9 JR |
28 | #define LintlibDir $(USRLIBDIR)/lint |
29 | #endif | |
30 | #ifndef SystemManDirectory | |
31 | -#if SystemV4 | |
32 | #define SystemManDirectory /usr/share/man | |
33 | -#else | |
34 | -#define SystemManDirectory /usr/man | |
35 | -#endif | |
36 | #endif | |
37 | #ifndef ManDirectoryRoot | |
38 | #ifdef ProjectRoot | |
fa4a3447 | 39 | @@ -998,7 +994,7 @@ |
e1fe05b9 JR |
40 | #define NoRConst NO /* YES if const for structs of funcs is bad */ |
41 | #endif | |
42 | #ifndef InstPgmFlags | |
43 | -#define InstPgmFlags -s | |
44 | +#define InstPgmFlags | |
45 | #endif | |
46 | #ifndef InstBinFlags | |
47 | #define InstBinFlags -m 0755 | |
fa4a3447 | 48 | @@ -1140,7 +1136,7 @@ |
2452d5b7 | 49 | #define CppCmd /LibDirName/cpp |
8a78032e JR |
50 | #endif |
51 | #ifndef RawCppCmd | |
52 | -#define RawCppCmd CppCmd -undef | |
53 | +#define RawCppCmd CppCmd | |
54 | #endif | |
55 | #ifndef CppNoLineInfoOption | |
56 | #define CppNoLineInfoOption /**/ | |
fa4a3447 AM |
57 | diff -urN xc.org/config/cf/linux.cf xc/config/cf/linux.cf |
58 | --- xc.org/config/cf/linux.cf 2003-11-21 15:13:57.000000000 +0100 | |
59 | +++ xc/config/cf/linux.cf 2003-11-21 15:20:56.000000000 +0100 | |
60 | @@ -325,7 +325,7 @@ | |
61 | */ | |
62 | #if BuildXF86DRI | |
63 | # if defined(i386Architecture) | |
64 | -# define BuildLibGlxWithoutPIC YES | |
65 | +# define BuildLibGlxWithoutPIC NO | |
66 | # endif | |
67 | #endif | |
68 | ||
fa4a3447 AM |
69 | @@ -740,7 +740,7 @@ |
70 | ||
71 | #define HasVarRun YES | |
72 | #ifndef VarDbDirectory | |
73 | -# define VarDbDirectory $(VARDIR)/lib | |
74 | +# define VarDbDirectory /var/lib | |
75 | #endif | |
76 | ||
77 | #ifndef XF86OSCardDrivers | |
78 | diff -urN xc.org/config/cf/site.def xc/config/cf/site.def | |
79 | --- xc.org/config/cf/site.def 2003-11-21 15:13:57.000000000 +0100 | |
80 | +++ xc/config/cf/site.def 2003-11-21 15:20:56.000000000 +0100 | |
81 | @@ -119,10 +119,14 @@ | |
82 | #define HasSentinel YES | |
83 | */ | |
84 | ||
85 | -/* | |
86 | #undef DefaultUserPath | |
87 | -#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin | |
88 | -*/ | |
89 | +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR) | |
90 | +#undef DefaultSystemPath | |
91 | +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR) | |
92 | + | |
93 | + | |
94 | +#define HasPam YES | |
95 | +#define HasPamMisc YES | |
96 | ||
97 | ||
98 | /* You do NOT need SetUID if you only run the server under xdm */ | |
99 | diff -urN xc.org/config/cf/X11.tmpl xc/config/cf/X11.tmpl | |
100 | --- xc.org/config/cf/X11.tmpl 2003-11-21 15:13:57.000000000 +0100 | |
101 | +++ xc/config/cf/X11.tmpl 2003-11-21 15:20:56.000000000 +0100 | |
102 | @@ -1261,8 +1261,12 @@ | |
2452d5b7 | 103 | # define UsbMouseSupport NO |
e1fe05b9 | 104 | #endif |
b19d4d8b | 105 | |
e1fe05b9 JR |
106 | +#ifndef EtcX11Directory |
107 | +#define EtcX11Directory /etc/X11 | |
108 | +#endif | |
b19d4d8b | 109 | + |
e1fe05b9 JR |
110 | #ifndef DefaultFSConfigFile |
111 | -#define DefaultFSConfigFile $(LIBDIR)/fs/config | |
112 | +#define DefaultFSConfigFile $(ETCX11DIR)/fs/config | |
113 | #endif | |
114 | ||
115 | /* X-TrueType settings */ | |
fa4a3447 | 116 | @@ -1385,7 +1389,7 @@ |
b19d4d8b | 117 | #define ConfigDir $(LIBDIR)/config |
e1fe05b9 JR |
118 | #endif |
119 | #ifndef DocDir | |
120 | -#define DocDir $(LIBDIR)/doc | |
121 | +#define DocDir $(LIBDIR)/share/doc | |
122 | #endif | |
123 | #ifndef DocHtmlDir | |
124 | #define DocHtmlDir $(DOCDIR)/html | |
fa4a3447 | 125 | @@ -1397,31 +1401,31 @@ |
e9cc699d | 126 | #define DocPdfDir $(DOCDIR)/PDF |
e1fe05b9 JR |
127 | #endif |
128 | #ifndef FontDir | |
129 | -#define FontDir $(LIBDIR)/fonts | |
130 | +#define FontDir /usr/share/fonts | |
131 | #endif | |
132 | #ifndef AdmDir | |
133 | -#define AdmDir /usr/adm | |
134 | +#define AdmDir /var/log | |
135 | #endif | |
136 | #ifndef XinitDir | |
137 | -#define XinitDir $(LIBDIR)/xinit | |
138 | +#define XinitDir $(ETCX11DIR)/xinit | |
139 | #endif | |
140 | #ifndef XdmDir | |
141 | -#define XdmDir $(LIBDIR)/xdm | |
142 | +#define XdmDir $(ETCX11DIR)/xdm | |
143 | #endif | |
144 | #ifndef XdmVarDir | |
145 | #define XdmVarDir $(VARLIBDIR)/xdm | |
146 | #endif | |
147 | #ifndef XdmAuthDir | |
148 | -#define XdmAuthDir $(LIBDIR)/xdm | |
149 | +#define XdmAuthDir $(ETCX11DIR)/xdm | |
150 | #endif | |
151 | #ifndef XdmConfigurationSubdirectory /* under xdm sources */ | |
152 | #define XdmConfigurationSubdirectory config | |
153 | #endif | |
154 | #ifndef TwmDir | |
155 | -#define TwmDir $(LIBDIR)/twm | |
156 | +#define TwmDir $(ETCX11DIR)/twm | |
157 | #endif | |
158 | #ifndef XsmDir | |
159 | -#define XsmDir $(LIBDIR)/xsm | |
160 | +#define XsmDir $(ETCX11DIR)/xsm | |
161 | #endif | |
162 | #ifndef NlsDir | |
163 | #define NlsDir $(LIBDIR)/nls | |
fa4a3447 | 164 | @@ -1430,23 +1434,20 @@ |
e9cc699d | 165 | #define XLocaleDir $(LIBDIR)/locale |
e1fe05b9 JR |
166 | #endif |
167 | #ifndef LbxproxyDir | |
168 | -#define LbxproxyDir $(LIBDIR)/lbxproxy | |
169 | +#define LbxproxyDir $(ETCX11DIR)/lbxproxy | |
170 | #endif | |
171 | #ifndef LbxproxyConfigSubdir /* under lbxproxy sources */ | |
172 | #define LbxproxyConfigSubdir config | |
173 | #endif | |
174 | #ifndef ProxyManagerDir | |
175 | -#define ProxyManagerDir $(LIBDIR)/proxymngr | |
176 | +#define ProxyManagerDir $(ETCX11DIR)/proxymngr | |
177 | #endif | |
178 | #ifndef ServerConfigDir | |
179 | -#define ServerConfigDir $(LIBDIR)/xserver | |
180 | +#define ServerConfigDir $(ETCX11DIR)/xserver | |
181 | #endif | |
182 | #ifndef XPrintDir | |
183 | #define XPrintDir ServerConfigDir | |
e1fe05b9 JR |
184 | #endif |
185 | -#ifndef EtcX11Directory | |
186 | -#define EtcX11Directory /etc/X11 | |
187 | -#endif | |
188 | #ifndef InstallSecurityConfig | |
189 | #define InstallSecurityConfig YES /* Install sample security policy */ | |
190 | #endif | |
fa4a3447 | 191 | @@ -1478,10 +1479,10 @@ |
e1fe05b9 JR |
192 | #define OsNameDefines /* as nothing */ |
193 | #endif | |
194 | #ifndef DefaultUserPath /* for xdm */ | |
195 | -#define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb | |
8a78032e | 196 | +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR) |
e1fe05b9 JR |
197 | #endif |
198 | #ifndef DefaultSystemPath /* for xdm */ | |
199 | -#define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/ucb | |
8a78032e | 200 | +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR) |
e1fe05b9 JR |
201 | #endif |
202 | #ifndef DefaultSystemShell /* for xdm to set in SHELL */ | |
203 | #define DefaultSystemShell BourneShell | |
fa4a3447 | 204 | @@ -1608,7 +1609,7 @@ |
e1fe05b9 JR |
205 | |
206 | HTMLINDEXCMD = HtmlIndexCmd | |
207 | ||
208 | - DOCUTILSRC = $(XTOP)/doc/util | |
209 | + DOCUTILSRC = $(XTOP)/share/doc/util | |
210 | CLIENTSRC = $(TOP)/clients | |
211 | DEMOSRC = $(TOP)/demos | |
212 | XDOCMACROS = $(DOCUTILSRC)/macros.t | |
fa4a3447 | 213 | @@ -1622,7 +1623,7 @@ |
e1fe05b9 JR |
214 | SERVERSRC = $(XTOP)/programs/Xserver |
215 | CONTRIBSRC = ContribDir | |
216 | UNSUPPORTEDSRC = UnsupportedDir | |
217 | - DOCSRC = $(XTOP)/doc | |
218 | + DOCSRC = $(XTOP)/share/doc | |
219 | RGBSRC = $(XTOP)/programs/rgb | |
220 | BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf | |
221 | MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir | |
fa4a3447 AM |
222 | diff -urN xc.org/config/cf/xf86site.def xc/config/cf/xf86site.def |
223 | --- xc.org/config/cf/xf86site.def 2003-11-21 15:13:57.000000000 +0100 | |
224 | +++ xc/config/cf/xf86site.def 2003-11-21 15:20:56.000000000 +0100 | |
e9cc699d | 225 | @@ -260,8 +260,8 @@ |
2452d5b7 | 226 | /* |
227 | * To not build/install the Cyrillic fonts, uncomment the following | |
228 | * | |
229 | -#define BuildCyrillicFonts NO | |
230 | */ | |
231 | +#define BuildCyrillicFonts YES | |
232 | ||
233 | /* | |
234 | * To not install the local font directory, uncomment the following | |
e9cc699d | 235 | @@ -307,27 +307,26 @@ |
2452d5b7 | 236 | * HasGlide2 to YES and set the Glide2IncDir variable. |
237 | * HasGlide2 is per default NO. | |
238 | * | |
239 | -#define HasGlide2 YES | |
240 | */ | |
241 | +#define HasGlide2 YES | |
242 | ||
243 | /* | |
244 | * Set the path to your Glide include files. | |
245 | * | |
246 | -#define Glide2IncDir /usr/include/glide | |
247 | */ | |
248 | +#define Glide2IncDir /usr/include/glide | |
249 | ||
250 | /* | |
251 | * Have glide 3? | |
252 | * | |
253 | -#define HasGlide3 YES | |
254 | */ | |
255 | +#define HasGlide3 YES | |
256 | ||
257 | /* | |
258 | * Set the path to your Glide 3 include files. | |
259 | * | |
260 | -#define Glide3IncDir /usr/include/glide3 | |
261 | */ | |
262 | - | |
263 | +#define Glide3IncDir /usr/include/glide3 | |
264 | ||
265 | ||
266 | /* | |
e9cc699d | 267 | @@ -429,8 +428,8 @@ |
e1fe05b9 JR |
268 | * Some Linux releases don't have a libtermcap. In this case you may need |
269 | * to uncomment the following | |
270 | * | |
271 | -#define TermcapLibrary -lncurses | |
272 | */ | |
273 | +#define TermcapLibrary -lncurses | |
274 | ||
275 | /* | |
e9cc699d | 276 | * Build a server that dynamically loads the modules by setting |
277 | @@ -605,8 +604,8 @@ | |
e1fe05b9 JR |
278 | * To forceably build static libraries in addition to shared libraries, |
279 | * uncomment this. | |
280 | * | |
281 | -#define ForceNormalLib YES | |
282 | */ | |
283 | +#define ForceNormalLib YES | |
284 | ||
285 | /* | |
286 | * Uncomment this if your default tools (eg, gcc, ld, as, etc) are | |
fa4a3447 AM |
287 | diff -urN xc.org/config/cf/xfree86.cf xc/config/cf/xfree86.cf |
288 | --- xc.org/config/cf/xfree86.cf 2003-11-21 15:13:57.000000000 +0100 | |
289 | +++ xc/config/cf/xfree86.cf 2003-11-21 15:20:56.000000000 +0100 | |
e9cc699d | 290 | @@ -128,7 +128,7 @@ |
e1fe05b9 JR |
291 | #define XConfigFile XF86Config |
292 | #endif | |
293 | #ifndef XConfigDir | |
294 | -#define XConfigDir $(LIBDIR) | |
295 | +#define XConfigDir $(ETCX11DIR) | |
296 | #endif | |
b19d4d8b JR |
297 | #ifndef XLogFile |
298 | #define XLogFile XFree86 | |
e9cc699d | 299 | @@ -760,7 +760,7 @@ |
300 | ||
91e66983 | 301 | # ifndef XF86CardDrivers |
e9cc699d | 302 | # define XF86CardDrivers mga glint nv s3 s3virge sis savage \ |
303 | - trident chips tdfx fbdev ati \ | |
304 | + trident chips fbdev ati \ | |
305 | DevelDrivers newport \ | |
91e66983 | 306 | XF86OSCardDrivers XF86ExtraCardDrivers |
307 | # endif | |
fa4a3447 AM |
308 | diff -urN xc.org/config/imake/imake.c xc/config/imake/imake.c |
309 | --- xc.org/config/imake/imake.c 2003-11-21 15:13:57.000000000 +0100 | |
310 | +++ xc/config/imake/imake.c 2003-11-21 15:20:56.000000000 +0100 | |
2452d5b7 | 311 | @@ -1057,6 +1057,7 @@ |
312 | static char* suse = "/etc/SuSE-release"; | |
e1fe05b9 JR |
313 | static char* redhat = "/etc/redhat-release"; |
314 | static char* debian = "/etc/debian_version"; | |
315 | + static char* pld = "/etc/pld-release"; | |
316 | ||
317 | fprintf (inFile, "%s\n", "#define LinuxUnknown 0"); | |
318 | fprintf (inFile, "%s\n", "#define LinuxSuSE 1"); | |
2452d5b7 | 319 | @@ -1071,6 +1072,7 @@ |
e1fe05b9 JR |
320 | fprintf (inFile, "%s\n", "#define LinuxTurbo 10"); |
321 | fprintf (inFile, "%s\n", "#define LinuxWare 11"); | |
322 | fprintf (inFile, "%s\n", "#define LinuxYggdrasil 12"); | |
323 | + fprintf (inFile, "%s\n", "#define LinuxPLD 13"); | |
324 | ||
2452d5b7 | 325 | #ifdef CROSSCOMPILE |
326 | if (CrossCompiling) { | |
327 | @@ -1097,6 +1099,11 @@ | |
e1fe05b9 | 328 | * at the content of /etc/debian_version */ |
2452d5b7 | 329 | return; |
330 | } | |
e1fe05b9 JR |
331 | + if (lstat (pld, &sb) == 0) { |
332 | + fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxPLD"); | |
333 | + fprintf (inFile, "%s\n", "#define DefaultLinuxDistName PLD"); | |
2452d5b7 | 334 | + return; |
335 | + } | |
e1fe05b9 | 336 | /* what's the definitive way to tell what any particular distribution is? */ |
2452d5b7 | 337 | |
338 | fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxUnknown"); | |
fa4a3447 AM |
339 | diff -urN xc.org/Makefile xc/Makefile |
340 | --- xc.org/Makefile 2003-11-21 15:13:57.000000000 +0100 | |
341 | +++ xc/Makefile 2003-11-21 15:20:56.000000000 +0100 | |
342 | @@ -8,7 +8,7 @@ | |
343 | # or add "MAKE = make" to this file. | |
2452d5b7 | 344 | |
fa4a3447 AM |
345 | RELEASE = "Release 6.6" |
346 | -SHELL = /bin/sh | |
347 | +SHELL = /bin/sh -e | |
348 | RM = rm -f | |
349 | MV = mv | |
350 | WORLDOPTS = | |
351 | diff -urN xc.org/programs/xdm/config/Xres.cpp xc/programs/xdm/config/Xres.cpp | |
352 | --- xc.org/programs/xdm/config/Xres.cpp 2003-11-21 15:18:39.000000000 +0100 | |
353 | +++ xc/programs/xdm/config/Xres.cpp 2003-11-21 15:21:45.000000000 +0100 | |
354 | @@ -71,9 +71,9 @@ | |
355 | XHASHendif | |
e1fe05b9 | 356 | #ifdef XPM |
fa4a3447 | 357 | XHASHif PLANES >= 8 |
e1fe05b9 | 358 | -xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP |
8a78032e | 359 | +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo.xpm |
fa4a3447 | 360 | XHASHelse |
e1fe05b9 JR |
361 | -xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP |
362 | +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo-bw.xpm | |
fa4a3447 | 363 | XHASHendif |
e1fe05b9 JR |
364 | xlogin*useShape: true |
365 | xlogin*logoPadding: 10 | |
fa4a3447 AM |
366 | diff -urN xc.org/programs/xdm/resource.c xc/programs/xdm/resource.c |
367 | --- xc.org/programs/xdm/resource.c 2003-11-21 15:18:38.000000000 +0100 | |
368 | +++ xc/programs/xdm/resource.c 2003-11-21 15:20:56.000000000 +0100 | |
e9cc699d | 369 | @@ -84,31 +84,31 @@ |
e1fe05b9 | 370 | */ |
e9cc699d | 371 | #ifndef __EMX__ |
e1fe05b9 JR |
372 | #ifndef DEF_SERVER_LINE |
373 | -#define DEF_SERVER_LINE ":0 local /usr/bin/X11/X :0" | |
47559fe6 | 374 | +#define DEF_SERVER_LINE ":0 local /usr/X11R6/bin/X :0" |
e1fe05b9 JR |
375 | #endif |
376 | #ifndef XRDB_PROGRAM | |
377 | -#define XRDB_PROGRAM "/usr/bin/X11/xrdb" | |
47559fe6 | 378 | +#define XRDB_PROGRAM "/usr/X11R6/X11/xrdb" |
e1fe05b9 JR |
379 | #endif |
380 | #ifndef DEF_SESSION | |
381 | -#define DEF_SESSION "/usr/bin/X11/xterm -ls" | |
47559fe6 | 382 | +#define DEF_SESSION "/usr/X11R6/bin/xterm -ls" |
e1fe05b9 JR |
383 | #endif |
384 | #ifndef DEF_USER_PATH | |
385 | -#define DEF_USER_PATH ":/bin:/usr/bin:/usr/bin/X11:/usr/ucb" | |
47559fe6 | 386 | +#define DEF_USER_PATH "/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin" |
e1fe05b9 JR |
387 | #endif |
388 | #ifndef DEF_SYSTEM_PATH | |
389 | -#define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin/X11:/usr/ucb" | |
47559fe6 | 390 | +#define DEF_SYSTEM_PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin" |
e1fe05b9 JR |
391 | #endif |
392 | #ifndef DEF_SYSTEM_SHELL | |
393 | #define DEF_SYSTEM_SHELL "/bin/sh" | |
394 | #endif | |
395 | #ifndef DEF_FAILSAFE_CLIENT | |
396 | -#define DEF_FAILSAFE_CLIENT "/usr/bin/X11/xterm" | |
47559fe6 | 397 | +#define DEF_FAILSAFE_CLIENT "/usr/X11R6/bin/xterm" |
e1fe05b9 JR |
398 | #endif |
399 | #ifndef DEF_XDM_CONFIG | |
400 | -#define DEF_XDM_CONFIG "/usr/lib/X11/xdm/xdm-config" | |
401 | +#define DEF_XDM_CONFIG "/etc/X11/xdm/xdm-config" | |
402 | #endif | |
403 | #ifndef DEF_CHOOSER | |
404 | -#define DEF_CHOOSER "/usr/lib/X11/xdm/chooser" | |
405 | +#define DEF_CHOOSER "/etc/X11/xdm/chooser" | |
406 | #endif | |
407 | #ifndef DEF_AUTH_NAME | |
408 | #ifdef HASXDMAUTH | |
e9cc699d | 409 | @@ -118,7 +118,7 @@ |
e1fe05b9 JR |
410 | #endif |
411 | #endif | |
412 | #ifndef DEF_AUTH_DIR | |
413 | -#define DEF_AUTH_DIR "/usr/lib/X11/xdm" | |
414 | +#define DEF_AUTH_DIR "/etc/X11/xdm" | |
415 | #endif | |
416 | #ifndef DEF_USER_AUTH_DIR | |
417 | #define DEF_USER_AUTH_DIR "/tmp" | |
fa4a3447 AM |
418 | diff -urN xc.org/programs/xinit/Imakefile xc/programs/xinit/Imakefile |
419 | --- xc.org/programs/xinit/Imakefile 2003-11-21 15:18:47.000000000 +0100 | |
420 | +++ xc/programs/xinit/Imakefile 2003-11-21 15:20:56.000000000 +0100 | |
421 | @@ -46,11 +46,12 @@ | |
422 | #endif | |
e1fe05b9 JR |
423 | InstallManPage(startx,$(MANDIR)) |
424 | ||
425 | -#if InstallXinitConfig | |
426 | -InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR)) | |
427 | -#else | |
428 | -InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR)) | |
429 | -#endif | |
430 | +XCOMM Red Hat gets this from a different package | |
431 | +XCOMM #if InstallXinitConfig | |
432 | +XCOMM InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR)) | |
433 | +XCOMM #else | |
434 | +XCOMM InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR)) | |
435 | +XCOMM #endif | |
e1fe05b9 JR |
436 | |
437 | LinkConfDirectory(xinit,.,xinit,.) | |
2452d5b7 | 438 | |
fa4a3447 AM |
439 | diff -urN xc.org/programs/Xserver/hw/xfree86/xf86cfg/Imakefile xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile |
440 | --- xc.org/programs/Xserver/hw/xfree86/xf86cfg/Imakefile 2003-11-21 15:17:43.000000000 +0100 | |
441 | +++ xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile 2003-11-21 15:20:56.000000000 +0100 | |
442 | @@ -100,7 +100,7 @@ | |
443 | ||
444 | #if HasNCurses | |
445 | CURSESLIB = NCursesLibName | |
446 | -CURSESDEFINES = -DHAS_NCURSES | |
447 | +CURSESDEFINES = -DHAS_NCURSES -I/usr/include/ncurses | |
448 | #endif | |
449 | ||
450 | XF86CONFIGFILE = XConfigFile | |
451 | diff -urN xc.org/programs/xterm/Imakefile xc/programs/xterm/Imakefile | |
452 | --- xc.org/programs/xterm/Imakefile 2003-11-21 15:19:09.000000000 +0100 | |
453 | +++ xc/programs/xterm/Imakefile 2003-11-21 15:20:56.000000000 +0100 | |
e1fe05b9 JR |
454 | @@ -36,6 +36,10 @@ |
455 | #define XkbClientLibs /**/ | |
456 | #endif | |
457 | ||
458 | +#if InstallXtermSetUID | |
459 | +#undef InstallXtermSetUID | |
460 | +#endif | |
461 | + | |
462 | #ifndef SpecialCObjectRule | |
463 | #define SpecialCObjectRule(module,ignore,defines) \ | |
464 | module.o: ; $(CC) -c defines $(CFLAGS) module.c | |
465 | @@ -57,6 +61,8 @@ | |
466 | PTYLIB = -lpucc | |
467 | #endif | |
468 | ||
469 | + PTYLIB = -lutil | |
470 | + | |
2452d5b7 | 471 | #if defined(NetBSDArchitecture) || defined(OpenBSDArchitecture) || \ |
472 | (defined(LinuxArchitecture) && \ | |
473 | (LinuxCLibMajorVersion == 6) && (LinuxCLibMinorVersion < 1)) | |
e9cc699d | 474 | @@ -115,7 +121,7 @@ |
e1fe05b9 JR |
475 | MISC_DEFINES = /* -DALLOWLOGGING -DALLOWLOGFILEEXEC */ |
476 | XKB_DEFINES = XkbClientDefines | |
2452d5b7 | 477 | PATH_DEFINES = -DPROJECTROOT=$(PROJECTROOT) |
478 | - DEFINES = -I. $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF) $(PATH_DEFINES) $(TRACEDEF) | |
479 | + DEFINES = -I. -I/usr/include/ncurses $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF) $(PATH_DEFINES) $(TRACEDEF) | |
480 | INCLUDES = $(XRFINCLUDES) | |
e1fe05b9 JR |
481 | |
482 | #ifdef OS2Architecture | |
fa4a3447 AM |
483 | diff -urN xc.org/programs/xterm/xterm.h xc/programs/xterm/xterm.h |
484 | --- xc.org/programs/xterm/xterm.h 2003-11-21 15:19:12.000000000 +0100 | |
485 | +++ xc/programs/xterm/xterm.h 2003-11-21 15:20:56.000000000 +0100 | |
2452d5b7 | 486 | @@ -73,7 +73,7 @@ |
e1fe05b9 JR |
487 | #endif |
488 | ||
489 | #ifndef DFT_TERMTYPE | |
490 | -#define DFT_TERMTYPE "xterm" | |
491 | +#define DFT_TERMTYPE "xterm-color" | |
492 | #endif | |
493 | ||
494 | #ifndef X_NOT_POSIX |