]> git.pld-linux.org Git - packages/XFree86.git/blob - XFree86-rh.patch
- removed %config from xdm rc script,
[packages/XFree86.git] / XFree86-rh.patch
1 --- XFree86-3.3.3/xc/config/cf/xf86site.def.rh  Sun Nov  8 06:19:11 1998
2 +++ XFree86-3.3.3/xc/config/cf/xf86site.def     Mon Nov 30 13:48:39 1998
3 @@ -66,9 +66,9 @@
4   *
5   * This should automatically get set correctly by imake.
6   *
7 -#define LinuxCLibMajorVersion  5
8 -#define LinuxClibMinorVersion  4
9   */
10 +#define LinuxCLibMajorVersion  6
11 +#define LinuxClibMinorVersion  0
12  
13  /*
14   * If you want to use the GNU malloc library, uncomment this
15 @@ -101,8 +101,8 @@
16   * Note: version 4.0 or 4.1 is required, and XF86Setup links it statically by
17   * default.
18   *
19 -#define HasTk                  YES
20   */
21 +#define HasTk                  YES
22  
23  /*
24   * Set the paths and names for your Tk library if they don't match the
25 @@ -115,25 +115,26 @@
26   *
27   * Some Linux releases need TkLibDir set to /usr/X11R6/lib
28   *
29 -#define TkLibDir               /usr/local/lib
30 -#define TkIncDir               /usr/local/include
31 -#define TkLibName              tk
32   */
33 +#define TkLibDir               /usr/lib
34 +#define TkIncDir               /usr/include
35 +#define TkLibName              tk
36  
37  /*
38   * By default, XF86Setup is linked with a static Tk library.  To change
39   * that, uncomment the following line.
40   *
41 -#define XF86SetupUsesStaticTk  NO
42   */
43 +#define XF86SetupUsesStaticTk  NO
44 +
45  
46  /*
47   * If you have Tcl (which is required to build XF86Setup), uncomment this
48   * Note: version 7.4 or 7.5 is required, and XF86Setup links it statically by
49   * default.
50   *
51 -#define HasTcl                 YES
52   */
53 +#define HasTcl                 YES
54  
55  /*
56   * Set the paths and names for your Tcl library if they don't match the
57 @@ -143,17 +144,17 @@
58   *
59   * Some Linux releases need TclIncDir set to /usr/include/tcl.
60   *
61 -#define TclLibDir              /usr/local/lib
62 -#define TclIncDir              /usr/local/include
63 -#define TclLibName             tcl
64   */
65 +#define TclLibDir              /usr/lib
66 +#define TclIncDir              /usr/include
67 +#define TclLibName             tcl
68  
69  /*
70   * By default, XF86Setup is linked with a static Tcl library.  To change
71   * that, uncomment the following line.
72   *
73 -#define XF86SetupUsesStaticTcl NO
74   */
75 +#define XF86SetupUsesStaticTcl NO
76  
77  /*
78   * Which servers do you wish to build, you can save a lot of disk space
79 @@ -339,8 +340,8 @@
80   * fonts once, if this is a first time install you will want to build the
81   * fonts)
82   *
83 -#define BuildFonts             NO
84   */
85 +#define BuildFonts             YES
86  
87  /*
88   * To not build/install the 75dpi fonts, uncomment the following
89 @@ -369,8 +370,8 @@
90  /*
91   * To not build/install the Cyrillic fonts, uncomment the following
92   *
93 -#define BuildCyrillicFonts     NO
94   */
95 +#define BuildCyrillicFonts     YES
96  
97  /*
98   * To not install the local font directory, uncomment the following
99 @@ -400,7 +401,7 @@
100   * will need to be built with the Joystick driver in order to be able to
101   * use this.
102   *
103 -#define JoystickSupport                NO
104 +#define JoystickSupport                YES
105  #define WacomSupport           YES
106  #define MicroTouchSupport      YES 
107  #define ElographicsSupport     YES 
108 @@ -536,8 +537,8 @@
109   * To forceably build static libraries in addition to shared libraries,
110   * uncomment this.
111   *
112 -#define ForceNormalLib         YES
113   */
114 +#define ForceNormalLib         YES
115  
116  /*
117   * Uncomment this if your default tools (eg, gcc, ld, as, etc) are
118 --- XFree86-3.3.3/xc/config/cf/site.def.rh      Sun Jun 22 06:32:21 1997
119 +++ XFree86-3.3.3/xc/config/cf/site.def Mon Nov 30 13:43:48 1998
120 @@ -106,10 +111,11 @@
121  */
122  
123  /*
124 -#undef DefaultUserPath
125 -#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
126  */
127 -
128 +#undef DefaultUserPath
129 +#define DefaultUserPath /usr/local/bin:/bin:/usr/bin
130 +#undef DefaultSystemPath
131 +#define DefaultSystemPath /sbin:/usr/sbin:/bin:/usr/bin
132  
133  /* You do NOT need SetUID if you only run the server under xdm */
134  /* You MAY need SetUID if users run the server by hand or under xinit */
135 --- XFree86-3.3.3/xc/config/cf/linux.cf.rh      Sun Nov  8 06:34:50 1998
136 +++ XFree86-3.3.3/xc/config/cf/linux.cf Mon Nov 30 13:43:53 1998
137 @@ -92,13 +92,13 @@
138                                 -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L \
139                                 -D_BSD_SOURCE -D_SVID_SOURCE
140  #define XawI18nDefines         -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
141 -#if !defined(AlphaArchitecture)
142 +/*#if !defined(AlphaArchitecture)*/
143  #define HasPosixThreads                YES
144  #define ThreadedX              YES
145  #define HasThreadSafeAPI       YES
146  #define ThreadsLibraries       -lpthread
147  #define SystemMTDefines                -D_REENTRANT
148 -#endif
149 +/*#endif*/
150  #ifndef HasLibCrypt
151  #define HasLibCrypt            YES
152  #endif
153 @@ -318,1 +318,5 @@
154  #include <xfree86.cf>
155 +
156 +#ifndef XtermWithI18N
157 +#define XtermWithI18N YES
158 +#endif
159 --- XFree86-3.3.3/xc/programs/xinit/Imakefile.rh        Thu Nov  5 14:28:39 1998
160 +++ XFree86-3.3.3/xc/programs/xinit/Imakefile   Mon Nov 30 13:43:47 1998
161 @@ -35,9 +35,11 @@
162  InstallNamedProg(startx,startx,$(BINDIR))
163  InstallManPage(startx,$(MANDIR))
164  
165 -#if InstallXinitConfig
166 -InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
167 -#else
168 -InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
169 -#endif
170 +XCOMM Red Hat gets this from a different package
171 +XCOMM #if InstallXinitConfig
172 +XCOMM InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
173 +XCOMM #else
174 +XCOMM InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
175 +XCOMM #endif
176 +
177  #endif
This page took 0.079995 seconds and 3 git commands to generate.