]> git.pld-linux.org Git - packages/XFree86.git/blob - XFree86-PLD.patch
- adapted to version 4.2.99.3
[packages/XFree86.git] / XFree86-PLD.patch
1 diff -urN xc.orig/Makefile xc/Makefile
2 --- xc.orig/Makefile    Mon Dec 30 15:54:17 2002
3 +++ xc/Makefile Mon Dec 30 16:02:13 2002
4 @@ -8,10 +8,10 @@
5  # or add "MAKE = make" to this file.
6  
7  RELEASE = "Release 6.6"
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 -urN xc.orig/config/cf/Imake.cf xc/config/cf/Imake.cf
18 --- xc.orig/config/cf/Imake.cf  Mon Dec 30 15:52:30 2002
19 +++ xc/config/cf/Imake.cf       Mon Dec 30 16:02:13 2002
20 @@ -723,6 +723,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 -urN xc.orig/config/cf/Imake.tmpl xc/config/cf/Imake.tmpl
32 --- xc.orig/config/cf/Imake.tmpl        Mon Dec 30 15:52:30 2002
33 +++ xc/config/cf/Imake.tmpl     Mon Dec 30 16:02:13 2002
34 @@ -253,7 +253,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 @@ -833,11 +833,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 @@ -974,7 +970,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 @@ -1112,7 +1108,7 @@
65  #define CppCmd /LibDirName/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 -urN xc.orig/config/cf/X11.tmpl xc/config/cf/X11.tmpl
74 --- xc.orig/config/cf/X11.tmpl  Mon Dec 30 15:52:30 2002
75 +++ xc/config/cf/X11.tmpl       Mon Dec 30 16:02:13 2002
76 @@ -1256,8 +1256,12 @@
77  # define UsbMouseSupport NO
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 @@ -1380,7 +1384,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 @@ -1389,31 +1393,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 @@ -1425,23 +1429,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 @@ -1473,10 +1474,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 @@ -1603,7 +1604,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 @@ -1617,7 +1618,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 -urN xc.orig/config/cf/linux.cf xc/config/cf/linux.cf
197 --- xc.orig/config/cf/linux.cf  Mon Dec 30 15:52:31 2002
198 +++ xc/config/cf/linux.cf       Mon Dec 30 16:20:00 2002
199 @@ -320,7 +320,7 @@
200   */
201  #if BuildXF86DRI
202  # if defined(i386Architecture)
203 -#  define BuildLibGlxWithoutPIC        YES
204 +#  define BuildLibGlxWithoutPIC        NO
205  # endif
206  #endif
207  
208 @@ -333,7 +333,7 @@
209  #  if defined(i386Architecture) || defined(ia64Architecture) || defined(SparcArchitecture) || defined(AlphaArchitecture) || defined(x86_64Architecture)
210  #    if OSMajorVersion == 2
211         /* Only tested for Linux 2.2.0 through 2.2.12 */
212 -#      if OSMinorVersion == 2 && OSTeenyVersion <= 12
213 +#      if OSMinorVersion == 2
214  #        define BuildXF86DRM   YES
215  #      else
216           /* Only tested for Linux 2.3.0 through 2.3.18 */
217 @@ -721,7 +721,7 @@
218  
219  #define HasVarRun              YES
220  #ifndef VarDbDirectory
221 -# define VarDbDirectory                $(VARDIR)/lib
222 +# define VarDbDirectory                /var/lib
223  #endif
224  
225  #ifndef XF86OSCardDrivers
226 @@ -936,10 +936,10 @@
227  #endif
228  
229  #ifndef LinkGLToUsrLib
230 -# define LinkGLToUsrLib                YES
231 +# define LinkGLToUsrLib                NO
232  #endif
233  # ifndef LinkGLToUsrInclude
234 -# define LinkGLToUsrInclude    YES
235 +# define LinkGLToUsrInclude    NO
236  #endif
237  
238  
239 diff -urN xc.orig/config/cf/site.def xc/config/cf/site.def
240 --- xc.orig/config/cf/site.def  Mon Dec 30 15:52:31 2002
241 +++ xc/config/cf/site.def       Mon Dec 30 16:02:13 2002
242 @@ -119,10 +119,14 @@
243  #define HasSentinel    YES
244  */
245  
246 -/*
247  #undef DefaultUserPath
248 -#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
249 -*/
250 +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin:$(BINDIR)
251 +#undef DefaultSystemPath
252 +#define DefaultSystemPath /sbin:/bin:/usr/sbin:/usr/bin:$(BINDIR)
253 +
254 +
255 +#define HasPam    YES
256 +#define HasPamMisc    YES
257  
258  
259  /* You do NOT need SetUID if you only run the server under xdm */
260 diff -urN xc.orig/config/cf/xf86site.def xc/config/cf/xf86site.def
261 --- xc.orig/config/cf/xf86site.def      Mon Dec 30 15:52:31 2002
262 +++ xc/config/cf/xf86site.def   Mon Dec 30 16:28:24 2002
263 @@ -234,8 +234,8 @@
264  /*
265   * To not build/install the Cyrillic fonts, uncomment the following
266   *
267 -#define BuildCyrillicFonts     NO
268   */
269 +#define BuildCyrillicFonts     YES
270  
271  /*
272   * To not install the local font directory, uncomment the following
273 @@ -281,27 +281,26 @@
274   * HasGlide2 to YES and set the Glide2IncDir variable. 
275   * HasGlide2 is per default NO.
276   *
277 -#define HasGlide2 YES
278   */
279 +#define HasGlide2 YES
280  
281  /*
282   * Set the path to your Glide include files.
283   *
284 -#define Glide2IncDir /usr/include/glide
285   */
286 +#define Glide2IncDir /usr/include/glide
287  
288  /* 
289   * Have glide 3?
290   *
291 -#define HasGlide3 YES
292   */
293 +#define HasGlide3 YES
294  
295  /*
296   * Set the path to your Glide 3 include files.
297   *
298 -#define Glide3IncDir /usr/include/glide3
299   */
300 -
301 +#define Glide3IncDir /usr/include/glide3
302  
303  
304  /*
305 @@ -403,8 +402,8 @@
306   * Some Linux releases don't have a libtermcap.  In this case you may need
307   * to uncomment the following
308   *
309 -#define TermcapLibrary         -lncurses
310   */
311 +#define TermcapLibrary         -lncurses
312  
313  /*
314   * If you have Tk (which is required to build XF86Setup), uncomment this
315 @@ -413,8 +412,8 @@
316   *     default.
317   *   - XF86Setup is not built or supported with XFree86 4.x
318   *
319 -#define HasTk                  YES
320   */
321 +#define HasTk                  YES
322  
323  /*
324   * Set the paths and names for your Tk library if they don't match the
325 @@ -427,25 +426,25 @@
326   *
327   * Some Linux releases need TkLibDir set to /usr/X11R6/lib
328   *
329 -#define TkLibDir               /usr/local/lib
330 -#define TkIncDir               /usr/local/include
331 -#define TkLibName              tk
332   */
333 +#define TkLibDir               /usr/lib
334 +#define TkIncDir               /usr/include
335 +#define TkLibName              tk
336  
337  /*
338   * By default, XF86Setup is linked with a static Tk library.  To change
339   * that, uncomment the following line.
340   *
341 -#define XF86SetupUsesStaticTk  NO
342   */
343 +#define XF86SetupUsesStaticTk  NO
344  
345  /*
346   * If you have Tcl (which is required to build XF86Setup), uncomment this
347   * Note: version 7.4 or 7.5 is required, and XF86Setup links it statically by
348   * default.
349   *
350 -#define HasTcl                 YES
351   */
352 +#define HasTcl                 YES
353  
354  /*
355   * Set the paths and names for your Tcl library if they don't match the
356 @@ -455,17 +454,17 @@
357   *
358   * Some Linux releases need TclIncDir set to /usr/include/tcl.
359   *
360 -#define TclLibDir              /usr/local/lib
361 -#define TclIncDir              /usr/local/include
362 -#define TclLibName             tcl
363   */
364 +#define TclLibDir              /usr/lib
365 +#define TclIncDir              /usr/include
366 +#define TclLibName             tcl
367  
368  /*
369   * By default, XF86Setup is linked with a static Tcl library.  To change
370   * that, uncomment the following line.
371   *
372 -#define XF86SetupUsesStaticTcl NO
373   */
374 +#define XF86SetupUsesStaticTcl NO
375  
376  /*
377   * Build a server that dynamically loads the modules by setting
378 @@ -677,8 +676,8 @@
379   * To forceably build static libraries in addition to shared libraries,
380   * uncomment this.
381   *
382 -#define ForceNormalLib         YES
383   */
384 +#define ForceNormalLib         YES
385  
386  /*
387   * Uncomment this if your default tools (eg, gcc, ld, as, etc) are
388 diff -urN xc.orig/config/cf/xfree86.cf xc/config/cf/xfree86.cf
389 --- xc.orig/config/cf/xfree86.cf        Mon Dec 30 15:52:31 2002
390 +++ xc/config/cf/xfree86.cf     Mon Dec 30 16:02:13 2002
391 @@ -107,7 +107,7 @@
392  #define XConfigFile            XF86Config
393  #endif
394  #ifndef XConfigDir
395 -#define XConfigDir             $(LIBDIR)
396 +#define XConfigDir             $(ETCX11DIR)
397  #endif
398  #ifndef XLogFile
399  #define XLogFile               XFree86
400 @@ -877,7 +877,7 @@
401  /* Pure PCI drivers should go first */
402  # ifndef XF86CardDrivers
403  #  define XF86CardDrivers      ati mga glint s3 s3virge sis savage\
404 -                               trident chips tdfx fbdev \
405 +                               trident chips fbdev \
406                                 DevelDrivers vga \
407                                 XF86OSCardDrivers XF86ExtraCardDrivers
408  # endif
409 diff -urN xc.orig/config/imake/imake.c xc/config/imake/imake.c
410 --- xc.orig/config/imake/imake.c        Mon Dec 30 15:52:31 2002
411 +++ xc/config/imake/imake.c     Mon Dec 30 16:02:13 2002
412 @@ -1057,6 +1057,7 @@
413    static char* suse = "/etc/SuSE-release";
414    static char* redhat = "/etc/redhat-release";
415    static char* debian = "/etc/debian_version";
416 +  static char* pld = "/etc/pld-release";
417  
418    fprintf (inFile, "%s\n", "#define LinuxUnknown    0");
419    fprintf (inFile, "%s\n", "#define LinuxSuSE       1");
420 @@ -1071,6 +1072,7 @@
421    fprintf (inFile, "%s\n", "#define LinuxTurbo      10");
422    fprintf (inFile, "%s\n", "#define LinuxWare       11");
423    fprintf (inFile, "%s\n", "#define LinuxYggdrasil  12");
424 +  fprintf (inFile, "%s\n", "#define LinuxPLD        13");
425  
426  #ifdef CROSSCOMPILE
427    if (CrossCompiling) {
428 @@ -1097,6 +1099,11 @@
429       * at the content of /etc/debian_version */
430      return;
431    }
432 +  if (lstat (pld, &sb) == 0) {
433 +    fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxPLD");
434 +    fprintf (inFile, "%s\n", "#define DefaultLinuxDistName PLD");
435 +    return;
436 +  }
437    /* what's the definitive way to tell what any particular distribution is? */
438  
439    fprintf (inFile, "%s\n", "#define DefaultLinuxDistribution LinuxUnknown");
440 diff -urN xc.orig/programs/Xserver/hw/xfree86/XF86Setup/Imakefile xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile
441 --- xc.orig/programs/Xserver/hw/xfree86/XF86Setup/Imakefile     Mon Dec 30 15:53:38 2002
442 +++ xc/programs/Xserver/hw/xfree86/XF86Setup/Imakefile  Mon Dec 30 16:02:13 2002
443 @@ -118,7 +118,7 @@
444  
445   XCONFIG_DEFINES = $(EXT_DEFINES) -DXF86SETUP \
446                    '-DPROJECTROOT="$(PROJECTROOT)"' \
447 -                  '-DSERVER_CONFIG_FILE="$(LIBDIR)/$(XCONFIGFILE)"' \
448 +                  '-DSERVER_CONFIG_FILE="/etc/X11/$(XCONFIGFILE)"' \
449                    $(SITE_FONT_PATH) $(SITE_RGB_DB) \
450                    -DNO_WRAPPERS
451  
452 diff -urN xc.orig/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl
453 --- xc.orig/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl    Mon Dec 30 15:53:38 2002
454 +++ xc/programs/Xserver/hw/xfree86/XF86Setup/phase5.tcl Mon Dec 30 16:02:13 2002
455 @@ -38,7 +38,7 @@
456         set devid [lindex $DeviceIDs $idx]
457          global Device_$devid
458          set server [set Device_${devid}(Server)]
459 -       set linkname $Xwinhome/bin/X
460 +       set linkname /etc/X11/X
461         set lastlink $linkname
462         for {set nlinks 0} \
463                 {[file exists $linkname] && [file type $linkname]=="link" \
464 @@ -74,7 +74,7 @@
465             set CWD [pwd]
466             cd $linkdir
467             catch "unlink X" ret
468 -           if [catch "link $Xwinhome/bin/XF86_$server X" ret] {
469 +           if [catch "link ../../usr/X11R6/bin/XF86_$server X" ret] {
470                 mesg $messages(phase5.4) okay
471             } else {
472                 mesg $messages(phase5.5) okay
473 diff -urN xc.orig/programs/Xserver/hw/xfree86/xf86cfg/Imakefile xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile
474 --- xc.orig/programs/Xserver/hw/xfree86/xf86cfg/Imakefile       Mon Dec 30 15:53:56 2002
475 +++ xc/programs/Xserver/hw/xfree86/xf86cfg/Imakefile    Mon Dec 30 16:02:13 2002
476 @@ -93,7 +93,7 @@
477  
478  #if HasNCurses
479  CURSESLIB = NCursesLibName
480 -CURSESDEFINES  = -DHAS_NCURSES
481 +CURSESDEFINES  = -DHAS_NCURSES -I/usr/include/ncurses
482  #endif
483  
484  XF86CONFIGFILE = XConfigFile
485 diff -urN xc.orig/programs/xdm/config/Xres.cpp xc/programs/xdm/config/Xres.cpp
486 --- xc.orig/programs/xdm/config/Xres.cpp        Mon Dec 30 15:54:07 2002
487 +++ xc/programs/xdm/config/Xres.cpp     Mon Dec 30 16:02:13 2002
488 @@ -70,10 +70,10 @@
489  #endif /* XPM */
490  /**/#endif
491  #ifdef XPM
492 -/**/#if PLANES >= 8
493 -xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP
494 +/**/#if PLANES >= 15
495 +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo.xpm
496  /**/#else
497 -xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP
498 +xlogin*logoFileName: BITMAPDIR/**//xdm-pld-logo-bw.xpm
499  /**/#endif
500  xlogin*useShape: true
501  xlogin*logoPadding: 10
502 diff -urN xc.orig/programs/xdm/resource.c xc/programs/xdm/resource.c
503 --- xc.orig/programs/xdm/resource.c     Mon Dec 30 15:54:06 2002
504 +++ xc/programs/xdm/resource.c  Mon Dec 30 16:02:13 2002
505 @@ -73,31 +73,31 @@
506   * if it is server-specific).  DO NOT CHANGE THESE DEFINITIONS!
507   */
508  #ifndef DEF_SERVER_LINE 
509 -#define DEF_SERVER_LINE ":0 local /usr/bin/X11/X :0"
510 +#define DEF_SERVER_LINE ":0 local /usr/X11R6/bin/X :0"
511  #endif
512  #ifndef XRDB_PROGRAM
513 -#define XRDB_PROGRAM "/usr/bin/X11/xrdb"
514 +#define XRDB_PROGRAM "/usr/X11R6/X11/xrdb"
515  #endif
516  #ifndef DEF_SESSION
517 -#define DEF_SESSION "/usr/bin/X11/xterm -ls"
518 +#define DEF_SESSION "/usr/X11R6/bin/xterm -ls"
519  #endif
520  #ifndef DEF_USER_PATH
521 -#define DEF_USER_PATH ":/bin:/usr/bin:/usr/bin/X11:/usr/ucb"
522 +#define DEF_USER_PATH "/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
523  #endif
524  #ifndef DEF_SYSTEM_PATH
525 -#define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin/X11:/usr/ucb"
526 +#define DEF_SYSTEM_PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"
527  #endif
528  #ifndef DEF_SYSTEM_SHELL
529  #define DEF_SYSTEM_SHELL "/bin/sh"
530  #endif
531  #ifndef DEF_FAILSAFE_CLIENT
532 -#define DEF_FAILSAFE_CLIENT "/usr/bin/X11/xterm"
533 +#define DEF_FAILSAFE_CLIENT "/usr/X11R6/bin/xterm"
534  #endif
535  #ifndef DEF_XDM_CONFIG
536 -#define DEF_XDM_CONFIG "/usr/lib/X11/xdm/xdm-config"
537 +#define DEF_XDM_CONFIG "/etc/X11/xdm/xdm-config"
538  #endif
539  #ifndef DEF_CHOOSER
540 -#define DEF_CHOOSER "/usr/lib/X11/xdm/chooser"
541 +#define DEF_CHOOSER "/etc/X11/xdm/chooser"
542  #endif
543  #ifndef DEF_AUTH_NAME
544  #ifdef HASXDMAUTH
545 @@ -107,7 +107,7 @@
546  #endif
547  #endif
548  #ifndef DEF_AUTH_DIR
549 -#define DEF_AUTH_DIR "/usr/lib/X11/xdm"
550 +#define DEF_AUTH_DIR "/etc/X11/xdm"
551  #endif
552  #ifndef DEF_USER_AUTH_DIR
553  #define DEF_USER_AUTH_DIR      "/tmp"
554 diff -urN xc.orig/programs/xinit/Imakefile xc/programs/xinit/Imakefile
555 --- xc.orig/programs/xinit/Imakefile    Mon Dec 30 15:54:10 2002
556 +++ xc/programs/xinit/Imakefile Mon Dec 30 16:31:27 2002
557 @@ -39,11 +39,12 @@
558  InstallNamedProg(startx,startx,$(BINDIR))
559  InstallManPage(startx,$(MANDIR))
560  
561 -#if InstallXinitConfig
562 -InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
563 -#else
564 -InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
565 -#endif
566 +XCOMM Red Hat gets this from a different package
567 +XCOMM #if InstallXinitConfig
568 +XCOMM InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
569 +XCOMM #else
570 +XCOMM InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
571 +XCOMM #endif
572  
573  LinkConfDirectory(xinit,.,xinit,.)
574  
575 diff -urN xc.orig/programs/xterm/Imakefile xc/programs/xterm/Imakefile
576 --- xc.orig/programs/xterm/Imakefile    Mon Dec 30 15:54:16 2002
577 +++ xc/programs/xterm/Imakefile Mon Dec 30 16:35:55 2002
578 @@ -36,6 +36,10 @@
579  #define XkbClientLibs /**/
580  #endif
581  
582 +#if InstallXtermSetUID
583 +#undef InstallXtermSetUID
584 +#endif
585 +
586  #ifndef SpecialCObjectRule
587  #define SpecialCObjectRule(module,ignore,defines) \
588  module.o: ; $(CC) -c defines $(CFLAGS) module.c
589 @@ -57,6 +61,8 @@
590           PTYLIB = -lpucc
591  #endif
592  
593 +         PTYLIB = -lutil
594 +
595  #if defined(NetBSDArchitecture) || defined(OpenBSDArchitecture) || \
596      (defined(LinuxArchitecture) && \
597       (LinuxCLibMajorVersion == 6) && (LinuxCLibMinorVersion < 1))
598 @@ -110,7 +116,7 @@
599     MISC_DEFINES = /* -DALLOWLOGGING -DALLOWLOGFILEEXEC */
600      XKB_DEFINES = XkbClientDefines
601     PATH_DEFINES = -DPROJECTROOT=$(PROJECTROOT)
602 -        DEFINES = -I. $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF) $(PATH_DEFINES) $(TRACEDEF)
603 +        DEFINES = -I. -I/usr/include/ncurses $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF) $(PATH_DEFINES) $(TRACEDEF)
604         INCLUDES = $(XRFINCLUDES)
605  
606  #ifdef OS2Architecture
607 diff -urN xc.orig/programs/xterm/xterm.h xc/programs/xterm/xterm.h
608 --- xc.orig/programs/xterm/xterm.h      Mon Dec 30 15:54:16 2002
609 +++ xc/programs/xterm/xterm.h   Mon Dec 30 16:02:13 2002
610 @@ -73,7 +73,7 @@
611  #endif
612  
613  #ifndef DFT_TERMTYPE
614 -#define DFT_TERMTYPE "xterm"
615 +#define DFT_TERMTYPE "xterm-color"
616  #endif
617  
618  #ifndef X_NOT_POSIX
This page took 0.803078 seconds and 4 git commands to generate.