]>
Commit | Line | Data |
---|---|---|
db36d1df AM |
1 | diff -ur X11-6.9.0.org/xc/config/cf/Imake.cf X11-6.9.0/xc/config/cf/Imake.cf |
2 | --- X11-6.9.0.org/xc/config/cf/Imake.cf 2005-11-08 07:33:24.000000000 +0100 | |
3 | +++ X11-6.9.0/xc/config/cf/Imake.cf 2005-12-22 10:27:11.890963000 +0100 | |
4 | @@ -888,6 +888,10 @@ | |
aa35d5a8 AM |
5 | # define s390Architecture |
6 | # undef __s390__ | |
7 | # endif /* s390 */ | |
8 | +# ifdef alpha | |
9 | +# define AlphaArchitecture | |
10 | +# undef alpha | |
11 | +# endif /* alpha */ | |
12 | # ifdef __alpha | |
13 | # define AlphaArchitecture | |
14 | # undef __alpha | |
db36d1df AM |
15 | diff -ur X11-6.9.0.org/xc/config/cf/Imake.tmpl X11-6.9.0/xc/config/cf/Imake.tmpl |
16 | --- X11-6.9.0.org/xc/config/cf/Imake.tmpl 2005-11-08 07:33:24.000000000 +0100 | |
17 | +++ X11-6.9.0/xc/config/cf/Imake.tmpl 2005-12-22 10:28:07.490963000 +0100 | |
18 | @@ -266,7 +266,7 @@ | |
aa35d5a8 AM |
19 | |
20 | #ifndef BuildHtmlManPages | |
21 | #ifdef RmanCmd | |
22 | -#define BuildHtmlManPages YES | |
23 | +#define BuildHtmlManPages NO | |
24 | #else | |
25 | #define BuildHtmlManPages NO | |
26 | #endif | |
db36d1df | 27 | @@ -882,11 +882,7 @@ |
aa35d5a8 AM |
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 | |
db36d1df | 39 | @@ -1196,7 +1192,7 @@ |
aa35d5a8 AM |
40 | #define CppCmd /LibDirName/cpp |
41 | #endif | |
42 | #ifndef RawCppCmd | |
43 | -#define RawCppCmd CppCmd -undef | |
44 | +#define RawCppCmd CppCmd | |
45 | #endif | |
46 | #ifndef CppNoLineInfoOption | |
47 | #define CppNoLineInfoOption /**/ | |
db36d1df AM |
48 | diff -ur X11-6.9.0.org/xc/config/cf/linux.cf X11-6.9.0/xc/config/cf/linux.cf |
49 | --- X11-6.9.0.org/xc/config/cf/linux.cf 2005-10-21 21:10:27.000000000 +0200 | |
50 | +++ X11-6.9.0/xc/config/cf/linux.cf 2005-12-22 10:40:10.100963000 +0100 | |
51 | @@ -394,7 +394,7 @@ | |
52 | #ifndef BuildLibGlxWithoutPIC | |
53 | # if BuildXF86DRI | |
54 | # if defined(i386Architecture) | |
55 | -# define BuildLibGlxWithoutPIC YES | |
56 | +# define BuildLibGlxWithoutPIC NO | |
57 | # endif | |
756a6f4b AM |
58 | # endif |
59 | #endif | |
db36d1df AM |
60 | @@ -539,6 +539,10 @@ |
61 | # define HasExpat YES | |
62 | #endif | |
756a6f4b | 63 | |
db36d1df AM |
64 | +#ifndef HasFontconfig |
65 | +# define HasFontconfig YES | |
66 | +#endif | |
67 | + | |
68 | #ifndef HasFreetype2 | |
69 | # define HasFreetype2 YES | |
70 | #endif | |
71 | @@ -792,7 +796,7 @@ | |
756a6f4b AM |
72 | |
73 | #define HasVarRun YES | |
74 | #ifndef VarDbDirectory | |
75 | -# define VarDbDirectory $(VARDIR)/lib | |
76 | +# define VarDbDirectory /var/lib | |
77 | #endif | |
78 | ||
79 | #ifndef XF86OSCardDrivers | |
db36d1df AM |
80 | diff -ur X11-6.9.0.org/xc/config/cf/site.def X11-6.9.0/xc/config/cf/site.def |
81 | --- X11-6.9.0.org/xc/config/cf/site.def 2004-05-06 17:08:25.000000000 +0200 | |
82 | +++ X11-6.9.0/xc/config/cf/site.def 2005-12-22 10:29:12.390963000 +0100 | |
83 | @@ -124,6 +124,14 @@ | |
84 | #define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin | |
756a6f4b AM |
85 | */ |
86 | ||
756a6f4b AM |
87 | +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR) |
88 | +#undef DefaultSystemPath | |
89 | +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR) | |
90 | + | |
91 | + | |
92 | +#define HasPam YES | |
93 | +#define HasPamMisc YES | |
db36d1df | 94 | + |
756a6f4b AM |
95 | |
96 | /* You do NOT need SetUID if you only run the server under xdm */ | |
db36d1df AM |
97 | /* You MAY need SetUID if users run the server by hand or under xinit */ |
98 | diff -ur X11-6.9.0.org/xc/config/cf/X11.tmpl X11-6.9.0/xc/config/cf/X11.tmpl | |
99 | --- X11-6.9.0.org/xc/config/cf/X11.tmpl 2005-12-15 00:41:52.000000000 +0100 | |
100 | +++ X11-6.9.0/xc/config/cf/X11.tmpl 2005-12-22 10:32:25.830963000 +0100 | |
51d35eb3 AM |
101 | @@ -597,7 +597,7 @@ |
102 | #define BuildXF86RushLibrary (BuildXF86RushExt && !BuildServersOnly) | |
103 | #endif | |
104 | #ifndef BuildDPSLibraries | |
105 | -#define BuildDPSLibraries NO | |
106 | +#define BuildDPSLibraries YES | |
107 | #endif | |
108 | #ifndef BuildDPSLibrary | |
109 | #define BuildDPSLibrary BuildDPSLibraries | |
110 | @@ -693,7 +693,7 @@ | |
111 | #endif | |
112 | ||
113 | #ifndef BuildXterm | |
114 | -#define BuildXterm NO | |
115 | +#define BuildXterm YES | |
116 | #endif | |
117 | ||
118 | #ifndef BuildXkbcomp | |
db36d1df | 119 | @@ -731,7 +731,7 @@ |
756a6f4b | 120 | #endif |
db36d1df | 121 | |
756a6f4b AM |
122 | #ifndef InstallHardcopyDocs |
123 | -#define InstallHardcopyDocs YES | |
124 | +#define InstallHardcopyDocs NO | |
125 | #endif | |
db36d1df | 126 | |
756a6f4b | 127 | #ifndef InstallMiscManPages |
db36d1df | 128 | @@ -1395,8 +1395,12 @@ |
aa35d5a8 AM |
129 | # define UsbMouseSupport NO |
130 | #endif | |
131 | ||
132 | +#ifndef EtcX11Directory | |
133 | +#define EtcX11Directory /etc/X11 | |
134 | +#endif | |
135 | + | |
136 | #ifndef DefaultFSConfigFile | |
137 | -#define DefaultFSConfigFile $(LIBDIR)/fs/config | |
138 | +#define DefaultFSConfigFile $(ETCX11DIR)/fs/config | |
139 | #endif | |
140 | ||
756a6f4b | 141 | #ifndef BinDir |
db36d1df | 142 | @@ -1483,7 +1487,7 @@ |
aa35d5a8 AM |
143 | #define ConfigDir $(LIBDIR)/config |
144 | #endif | |
145 | #ifndef DocDir | |
146 | -#define DocDir $(LIBDIR)/doc | |
147 | +#define DocDir $(LIBDIR)/share/doc | |
148 | #endif | |
149 | #ifndef DocHtmlDir | |
150 | #define DocHtmlDir $(DOCDIR)/html | |
db36d1df | 151 | @@ -1495,34 +1499,34 @@ |
aa35d5a8 AM |
152 | #define DocPdfDir $(DOCDIR)/PDF |
153 | #endif | |
154 | #ifndef FontDir | |
155 | -#define FontDir $(LIBDIR)/fonts | |
156 | +#define FontDir /usr/share/fonts | |
db36d1df AM |
157 | #endif |
158 | #ifndef FontEncDir | |
159 | #define FontEncDir $(LIBDIR)/fonts/encodings | |
aa35d5a8 AM |
160 | #endif |
161 | #ifndef AdmDir | |
162 | -#define AdmDir /usr/adm | |
163 | +#define AdmDir /var/log | |
164 | #endif | |
165 | #ifndef XinitDir | |
166 | -#define XinitDir $(LIBDIR)/xinit | |
167 | +#define XinitDir $(ETCX11DIR)/xinit | |
168 | #endif | |
169 | #ifndef XdmDir | |
170 | -#define XdmDir $(LIBDIR)/xdm | |
171 | +#define XdmDir $(ETCX11DIR)/xdm | |
172 | #endif | |
173 | #ifndef XdmVarDir | |
174 | #define XdmVarDir $(VARLIBDIR)/xdm | |
175 | #endif | |
176 | #ifndef XdmAuthDir | |
177 | -#define XdmAuthDir $(LIBDIR)/xdm | |
178 | +#define XdmAuthDir $(ETCX11DIR)/xdm | |
179 | #endif | |
180 | #ifndef XdmConfigurationSubdirectory /* under xdm sources */ | |
181 | #define XdmConfigurationSubdirectory config | |
182 | #endif | |
183 | #ifndef TwmDir | |
184 | -#define TwmDir $(LIBDIR)/twm | |
185 | +#define TwmDir $(ETCX11DIR)/twm | |
186 | #endif | |
187 | #ifndef XsmDir | |
188 | -#define XsmDir $(LIBDIR)/xsm | |
189 | +#define XsmDir $(ETCX11DIR)/xsm | |
190 | #endif | |
191 | #ifndef NlsDir | |
192 | #define NlsDir $(LIBDIR)/nls | |
756a6f4b | 193 | @@ -1531,23 +1535,20 @@ |
aa35d5a8 AM |
194 | #define XLocaleDir $(LIBDIR)/locale |
195 | #endif | |
196 | #ifndef LbxproxyDir | |
197 | -#define LbxproxyDir $(LIBDIR)/lbxproxy | |
198 | +#define LbxproxyDir $(ETCX11DIR)/lbxproxy | |
199 | #endif | |
200 | #ifndef LbxproxyConfigSubdir /* under lbxproxy sources */ | |
201 | #define LbxproxyConfigSubdir config | |
202 | #endif | |
203 | #ifndef ProxyManagerDir | |
204 | -#define ProxyManagerDir $(LIBDIR)/proxymngr | |
205 | +#define ProxyManagerDir $(ETCX11DIR)/proxymngr | |
206 | #endif | |
207 | #ifndef ServerConfigDir | |
208 | -#define ServerConfigDir $(LIBDIR)/xserver | |
209 | +#define ServerConfigDir $(ETCX11DIR)/xserver | |
210 | #endif | |
211 | #ifndef XPrintDir | |
212 | #define XPrintDir ServerConfigDir | |
213 | #endif | |
214 | -#ifndef EtcX11Directory | |
215 | -#define EtcX11Directory /etc/X11 | |
216 | -#endif | |
217 | #ifndef InstallSecurityConfig | |
218 | #define InstallSecurityConfig YES /* Install sample security policy */ | |
219 | #endif | |
756a6f4b | 220 | @@ -1579,10 +1580,10 @@ |
aa35d5a8 AM |
221 | #define OsNameDefines /* as nothing */ |
222 | #endif | |
223 | #ifndef DefaultUserPath /* for xdm */ | |
224 | -#define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb | |
225 | +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR) | |
226 | #endif | |
227 | #ifndef DefaultSystemPath /* for xdm */ | |
228 | -#define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/ucb | |
229 | +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR) | |
230 | #endif | |
231 | #ifndef DefaultSystemShell /* for xdm to set in SHELL */ | |
232 | #define DefaultSystemShell BourneShell | |
756a6f4b | 233 | @@ -1719,7 +1720,7 @@ |
aa35d5a8 AM |
234 | |
235 | HTMLINDEXCMD = HtmlIndexCmd | |
236 | ||
237 | - DOCUTILSRC = $(XTOP)/doc/util | |
238 | + DOCUTILSRC = $(XTOP)/share/doc/util | |
239 | CLIENTSRC = $(TOP)/clients | |
240 | DEMOSRC = $(TOP)/demos | |
241 | XDOCMACROS = $(DOCUTILSRC)/macros.t | |
756a6f4b | 242 | @@ -1733,7 +1734,7 @@ |
aa35d5a8 AM |
243 | SERVERSRC = $(XTOP)/programs/Xserver |
244 | CONTRIBSRC = ContribDir | |
245 | UNSUPPORTEDSRC = UnsupportedDir | |
246 | - DOCSRC = $(XTOP)/doc | |
247 | + DOCSRC = $(XTOP)/share/doc | |
248 | RGBSRC = $(XTOP)/programs/rgb | |
249 | BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf | |
250 | MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir | |
db36d1df AM |
251 | diff -ur X11-6.9.0.org/xc/config/cf/xorg.cf X11-6.9.0/xc/config/cf/xorg.cf |
252 | --- X11-6.9.0.org/xc/config/cf/xorg.cf 2005-10-03 18:08:44.000000000 +0200 | |
253 | +++ X11-6.9.0/xc/config/cf/xorg.cf 2005-12-22 10:32:59.590963000 +0100 | |
254 | @@ -136,7 +136,7 @@ | |
756a6f4b | 255 | #define XConfigFile xorg.conf |
aa35d5a8 | 256 | #endif |
756a6f4b AM |
257 | #ifndef XConfigDir |
258 | -#define XConfigDir $(LIBDIR) | |
db36d1df | 259 | +#define XConfigDir $(ETCX11DIR) |
aa35d5a8 | 260 | #endif |
756a6f4b AM |
261 | #ifndef XLogFile |
262 | #define XLogFile Xorg | |
db36d1df | 263 | @@ -408,7 +408,7 @@ |
756a6f4b AM |
264 | neomagic i740 tdfx savage \ |
265 | cirrus vmware tseng trident chips apm \ | |
266 | GlideDriver i128 i386Drivers \ | |
267 | - ati DevelDrivers ark \ | |
268 | + ati DevelDrivers ark fbdev \ | |
269 | cyrix siliconmotion via \ | |
270 | vesa vga \ | |
271 | dummy XF86OSCardDrivers XF86ExtraCardDrivers | |
db36d1df AM |
272 | diff -ur X11-6.9.0.org/xc/config/cf/xorgsite.def X11-6.9.0/xc/config/cf/xorgsite.def |
273 | --- X11-6.9.0.org/xc/config/cf/xorgsite.def 2005-07-16 09:59:50.000000000 +0200 | |
274 | +++ X11-6.9.0/xc/config/cf/xorgsite.def 2005-12-22 10:33:48.940963000 +0100 | |
275 | @@ -266,8 +266,8 @@ | |
aa35d5a8 AM |
276 | /* |
277 | * To not build/install the Cyrillic fonts, uncomment the following | |
278 | * | |
279 | -#define BuildCyrillicFonts NO | |
280 | */ | |
281 | +#define BuildCyrillicFonts YES | |
282 | ||
283 | /* | |
284 | * To not install the local font directory, uncomment the following | |
db36d1df | 285 | @@ -435,8 +435,8 @@ |
aa35d5a8 AM |
286 | * Some Linux releases don't have a libtermcap. In this case you may need |
287 | * to uncomment the following | |
288 | * | |
289 | -#define TermcapLibrary -lncurses | |
290 | */ | |
291 | +#define TermcapLibrary -lncurses | |
292 | ||
293 | /* | |
294 | * Build a server that dynamically loads the modules by setting | |
756a6f4b | 295 | @@ -610,8 +610,8 @@ |
aa35d5a8 AM |
296 | * To forceably build static libraries in addition to shared libraries, |
297 | * uncomment this. | |
298 | * | |
299 | -#define ForceNormalLib YES | |
300 | */ | |
301 | +#define ForceNormalLib YES | |
302 | ||
303 | /* | |
304 | * Uncomment this if your default tools (eg, gcc, ld, as, etc) are | |
db36d1df AM |
305 | diff -ur X11-6.9.0.org/xc/config/imake/imake.c X11-6.9.0/xc/config/imake/imake.c |
306 | --- X11-6.9.0.org/xc/config/imake/imake.c 2005-11-08 07:33:24.000000000 +0100 | |
307 | +++ X11-6.9.0/xc/config/imake/imake.c 2005-12-22 10:34:57.200963000 +0100 | |
308 | @@ -1061,6 +1061,7 @@ | |
aa35d5a8 AM |
309 | static char* suse = "/etc/SuSE-release"; |
310 | static char* redhat = "/etc/redhat-release"; | |
311 | static char* debian = "/etc/debian_version"; | |
312 | + static char* pld = "/etc/pld-release"; | |
313 | ||
314 | fprintf (inFile, "%s\n", "#define LinuxUnknown 0"); | |
315 | fprintf (inFile, "%s\n", "#define LinuxSuSE 1"); | |
db36d1df | 316 | @@ -1075,6 +1076,7 @@ |
aa35d5a8 AM |
317 | fprintf (inFile, "%s\n", "#define LinuxTurbo 10"); |
318 | fprintf (inFile, "%s\n", "#define LinuxWare 11"); | |
319 | fprintf (inFile, "%s\n", "#define LinuxYggdrasil 12"); | |
320 | + fprintf (inFile, "%s\n", "#define LinuxPLD 13"); | |
321 | ||
322 | #ifdef CROSSCOMPILE | |
323 | if (CrossCompiling) { | |
db36d1df | 324 | @@ -1101,6 +1103,12 @@ |
aa35d5a8 AM |
325 | * at the content of /etc/debian_version */ |
326 | return; | |
327 | } | |
328 | + if (lstat (pld, &sb) == 0) { | |
329 | + fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxPLD"); | |
330 | + fprintf (inFile, "%s\n", "#define DefaultLinuxDistName PLD"); | |
331 | + return; | |
332 | + } | |
db36d1df | 333 | + |
aa35d5a8 AM |
334 | /* what's the definitive way to tell what any particular distribution is? */ |
335 | ||
336 | fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxUnknown"); | |
db36d1df AM |
337 | diff -ur X11-6.9.0.org/xc/Makefile X11-6.9.0/xc/Makefile |
338 | --- X11-6.9.0.org/xc/Makefile 2005-12-15 00:41:52.000000000 +0100 | |
339 | +++ X11-6.9.0/xc/Makefile 2005-12-22 10:39:28.160963000 +0100 | |
340 | @@ -9,7 +9,7 @@ | |
341 | # or add "MAKE = make" to this file. | |
342 | ||
343 | RELEASE = "Release 6.9" | |
344 | -SHELL = /bin/sh | |
345 | +SHELL = /bin/sh -e | |
346 | RM = rm -f | |
347 | MV = mv | |
348 | WORLDOPTS = | |
349 | diff -ur X11-6.9.0.org/xc/programs/xdm/config/Xres.cpp X11-6.9.0/xc/programs/xdm/config/Xres.cpp | |
350 | --- X11-6.9.0.org/xc/programs/xdm/config/Xres.cpp 2004-04-23 21:54:43.000000000 +0200 | |
351 | +++ X11-6.9.0/xc/programs/xdm/config/Xres.cpp 2005-12-22 10:35:32.500963000 +0100 | |
756a6f4b AM |
352 | @@ -70,10 +70,10 @@ |
353 | #endif /* XPM */ | |
aa35d5a8 AM |
354 | XHASHendif |
355 | #ifdef XPM | |
356 | -XHASHif PLANES >= 8 | |
357 | -xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP | |
358 | +XHASHif PLANES > 8 | |
359 | +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo.xpm | |
360 | XHASHelse | |
361 | -xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP | |
362 | +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo-bw.xpm | |
363 | XHASHendif | |
364 | xlogin*useShape: true | |
365 | xlogin*logoPadding: 10 | |
db36d1df AM |
366 | diff -ur X11-6.9.0.org/xc/programs/xdm/resource.c X11-6.9.0/xc/programs/xdm/resource.c |
367 | --- X11-6.9.0.org/xc/programs/xdm/resource.c 2005-11-08 07:33:31.000000000 +0100 | |
368 | +++ X11-6.9.0/xc/programs/xdm/resource.c 2005-12-22 10:36:59.580963000 +0100 | |
756a6f4b | 369 | @@ -85,31 +85,31 @@ |
aa35d5a8 AM |
370 | */ |
371 | #ifndef __EMX__ | |
372 | #ifndef DEF_SERVER_LINE | |
373 | -#define DEF_SERVER_LINE ":0 local /usr/bin/X11/X :0" | |
374 | +#define DEF_SERVER_LINE ":0 local /usr/X11R6/bin/X :0" | |
375 | #endif | |
376 | #ifndef XRDB_PROGRAM | |
377 | -#define XRDB_PROGRAM "/usr/bin/X11/xrdb" | |
378 | +#define XRDB_PROGRAM "/usr/X11R6/X11/xrdb" | |
379 | #endif | |
380 | #ifndef DEF_SESSION | |
381 | -#define DEF_SESSION "/usr/bin/X11/xterm -ls" | |
382 | +#define DEF_SESSION "/usr/X11R6/bin/xterm -ls" | |
383 | #endif | |
384 | #ifndef DEF_USER_PATH | |
385 | -#define DEF_USER_PATH ":/bin:/usr/bin:/usr/bin/X11:/usr/ucb" | |
386 | +#define DEF_USER_PATH "/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin" | |
387 | #endif | |
388 | #ifndef DEF_SYSTEM_PATH | |
389 | -#define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin/X11:/usr/ucb" | |
390 | +#define DEF_SYSTEM_PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin" | |
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" | |
397 | +#define DEF_FAILSAFE_CLIENT "/usr/X11R6/bin/xterm" | |
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 | |
756a6f4b | 409 | @@ -119,7 +119,7 @@ |
aa35d5a8 AM |
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" | |
db36d1df AM |
418 | diff -ur X11-6.9.0.org/xc/programs/xinit/Imakefile X11-6.9.0/xc/programs/xinit/Imakefile |
419 | --- X11-6.9.0.org/xc/programs/xinit/Imakefile 2005-11-15 05:03:10.000000000 +0100 | |
420 | +++ X11-6.9.0/xc/programs/xinit/Imakefile 2005-12-22 10:37:39.740963000 +0100 | |
421 | @@ -88,11 +88,12 @@ | |
aa35d5a8 AM |
422 | #endif |
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 | |
436 | ||
437 | LinkConfDirectory(xinit,.,xinit,.) | |
438 | ||
db36d1df AM |
439 | diff -ur X11-6.9.0.org/xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile X11-6.9.0/xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile |
440 | --- X11-6.9.0.org/xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile 2005-08-23 03:14:35.000000000 +0200 | |
441 | +++ X11-6.9.0/xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile 2005-12-22 10:39:11.440963000 +0100 | |
442 | @@ -110,7 +110,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 -ur X11-6.9.0.org/xc/programs/xterm/Imakefile X11-6.9.0/xc/programs/xterm/Imakefile | |
452 | --- X11-6.9.0.org/xc/programs/xterm/Imakefile 2005-12-15 00:28:27.000000000 +0100 | |
453 | +++ X11-6.9.0/xc/programs/xterm/Imakefile 2005-12-22 10:38:51.510963000 +0100 | |
454 | @@ -68,6 +68,10 @@ | |
455 | # endif | |
aa35d5a8 AM |
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 | |
db36d1df AM |
465 | @@ -88,6 +92,7 @@ |
466 | PUCCPTYDDEF = -DPUCC_PTYD /* does not need to be setuid */ | |
aa35d5a8 AM |
467 | PTYLIB = -lpucc |
468 | #endif | |
db36d1df | 469 | + PTYLIB = -lutil |
aa35d5a8 | 470 | |
db36d1df AM |
471 | #if defined(NetBSDArchitecture) || \ |
472 | defined(OpenBSDArchitecture) || \ | |
473 | @@ -153,7 +158,7 @@ | |
aa35d5a8 AM |
474 | XKB_DEFINES = XkbClientDefines |
475 | PATH_DEFINES = -DPROJECTROOT=$(PROJECTROOT) | |
db36d1df | 476 | DEFINES = $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF) $(PATH_DEFINES) $(PUTENVDEF) $(IMAKEDEFINES) $(TRACEDEF) |
aa35d5a8 AM |
477 | - INCLUDES = -I. $(XRFINCLUDES) |
478 | + INCLUDES = -I. -I/usr/include/ncurses $(XRFINCLUDES) | |
479 | ||
480 | #ifdef OS2Architecture | |
481 | MAINSRC = os2main.c |