home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / MSDOS / GOPHER / PC_SERVE / KA9Q / README.LAT < prev    next >
Encoding:
Text File  |  1993-09-19  |  8.8 KB  |  279 lines

  1. Here are a few last-minute bug-fixes which didn't make it into 1.3.
  2. If you use any of these fixes, remember that they are not part of the
  3. official 1.3 release, and you should save the 1.3 version of any files
  4. that are patched, and restore them before applying any future
  5. upgrade patches.
  6.  
  7. -----------------------------------------------------------------------------
  8. The first fix is only required when using the XFree86-1.3 patched source tree
  9. to build X on non-i386 platforms.  It is NOT needed to build XFree86.
  10.  
  11. *** mit/lib/Xt/Error.c-1.3    Sat May  8 23:36:35 1993
  12. --- mit/lib/Xt/Error.c    Mon Jun  7 16:29:05 1993
  13. ***************
  14. *** 415,421 ****
  15. --- 415,423 ----
  16.   void _XtDefaultError(message)
  17.       String message;
  18.   {
  19. + #ifdef X_NOT_STDC_ENV
  20.       extern void exit();
  21. + #endif
  22.   
  23.       (void)fprintf(stderr, "%sError: %s\n", XTERROR_PREFIX, message);
  24.       exit(1);
  25. *** mit/config/Project.tmpl-1.3    Sat Apr  3 15:03:25 1993
  26. --- mit/config/Project.tmpl    Mon Jun  7 21:34:16 1993
  27. ***************
  28. *** 23,28 ****
  29. --- 23,34 ----
  30.   #ifndef BuildFonts
  31.   #define BuildFonts        BuildServer
  32.   #endif
  33. + #ifndef Build75Dpi
  34. + #define Build75Dpi        BuildFonts
  35. + #endif
  36. + #ifndef Build100Dpi
  37. + #define Build100Dpi        BuildFonts
  38. + #endif
  39.   #ifndef BuildFontServer
  40.   #define BuildFontServer        BuildServer
  41.   #endif
  42. -----------------------------------------------------------------------------
  43. The second fix is required for all platforms except 386BSD.  It fixes a
  44. late bug that crept in to clients/xman/vendor.h.  It is also required when
  45. when using the XFree86-1.3 patched source tree to build X on non-i386
  46. platforms.
  47.  
  48. *** mit/clients/xman/vendor.h-1.3    1993/06/02 13:47:56
  49. --- mit/clients/xman/vendor.h    1993/06/13 04:32:24
  50. ***************
  51. *** 127,138 ****
  52.   #  ifdef __386BSD__
  53.   #    define FORMAT "| eqn | tbl | nroff -man"
  54.   #  else
  55. ! #    define linux_GROFF        /* undef this to use nroff instead */
  56.   #    ifdef linux_GROFF
  57. ! #      define FORMAT "| geqn | groff -Tascii -man"
  58.   #    else
  59.   #      define FORMAT "| neqn | nroff -man"      /* The format command. */
  60. ! #    endif /* linux */
  61.   #  endif
  62.   #endif
  63.   
  64. --- 127,140 ----
  65.   #  ifdef __386BSD__
  66.   #    define FORMAT "| eqn | tbl | nroff -man"
  67.   #  else
  68. ! #    ifdef linux
  69. ! #      define linux_GROFF        /* undef this to use nroff instead */
  70. ! #    endif /* linux */
  71.   #    ifdef linux_GROFF
  72. ! #      define FORMAT "| geqn | gtbl | groff -Tascii -man"
  73.   #    else
  74.   #      define FORMAT "| neqn | nroff -man"      /* The format command. */
  75. ! #    endif /* linux_GROFF */
  76.   #  endif
  77.   #endif
  78.   
  79. -----------------------------------------------------------------------------
  80. The third fix is only required when building PEX on systems with short (14
  81. character) file names.  One of the files in MIT's PEXlib has a name that
  82. is 15 characters long.  To fix this, do the following, and then apply the
  83. patch:
  84.  
  85. cd mit/extensions/lib/PEXlib
  86. mv pl_global_def.h pl_glbl_def.h
  87.  
  88. *** mit/extensions/lib/PEXlib/pl_startup.c-1.3    1993/04/06 15:01:20
  89. --- mit/extensions/lib/PEXlib/pl_startup.c    1993/06/13 05:14:55
  90. ***************
  91. *** 27,33 ****
  92.   
  93.   #include "PEXlib.h"
  94.   #include "PEXlibint.h"
  95. ! #include "pl_global_def.h"
  96.   #include <stdio.h>
  97.   
  98.   
  99. --- 27,33 ----
  100.   
  101.   #include "PEXlib.h"
  102.   #include "PEXlibint.h"
  103. ! #include "pl_glbl_def.h"
  104.   #include <stdio.h>
  105.   
  106.   
  107. -----------------------------------------------------------------------------
  108. This fix is for a graphics bug that shows up with the colour server when
  109. using a virtual width != 1024 (this bug has been present since the X11R5
  110. release).  The operation affected is FillPolygon with OpaqueStipple.
  111.  
  112. *** mit/server/ddx/x386/vga256/cfb.banked/cfbfillsp.c-1.3    1992/08/29 11:12:49
  113. --- mit/server/ddx/x386/vga256/cfb.banked/cfbfillsp.c    1993/06/12 06:52:42
  114. ***************
  115. *** 1053,1060 ****
  116.               nlw = nlwTmp;
  117.               dst = dstTmp;
  118.               RESTORE_BANK();
  119. -             CHECKRWO(dst);
  120.               SAVE_BANK();
  121.               dstTmp++;
  122.               xor = GetFourPixels (bits);
  123.               while (nlw--)
  124. --- 1053,1060 ----
  125.               nlw = nlwTmp;
  126.               dst = dstTmp;
  127.               RESTORE_BANK();
  128.               SAVE_BANK();
  129. +             CHECKRWO(dst);
  130.               dstTmp++;
  131.               xor = GetFourPixels (bits);
  132.               while (nlw--)
  133. ***************
  134. *** 1080,1087 ****
  135.               nlw = nlwTmp;
  136.               dst = dstTmp;
  137.               RESTORE_BANK();
  138. -             CHECKRWO(dst);
  139.               SAVE_BANK();
  140.               dstTmp++;
  141.               xor = GetFourPixels (bits);
  142.               while (nlw--)
  143. --- 1080,1087 ----
  144.               nlw = nlwTmp;
  145.               dst = dstTmp;
  146.               RESTORE_BANK();
  147.               SAVE_BANK();
  148. +             CHECKRWO(dst);
  149.               dstTmp++;
  150.               xor = GetFourPixels (bits);
  151.               while (nlw--)
  152. -----------------------------------------------------------------------------
  153. The following notes apply to SVR3 only.
  154.  
  155. If you build from source:
  156. 1. The shared libraries should not be built with gcc 2.4.x because it
  157.    don't use its in-built strlen() where prior gcc versions did. That
  158.    requires changes in the source which were too late for 1.3.
  159.    Gcc 2.3.3 is a good choice.
  160. 2. Although support for XDM-AUTHORIZATION-1 is included in the shared
  161.    Xlib, there is still a bug which make it impossible to use
  162.    it with xdm at the moment. Hence you should 'HasXdmAuth' set to 'NO'
  163.    in site.def.
  164. 3. If you want to use the chooser application with xdm you have
  165.    to apply the following two patches. But note, the chooser
  166.    is not tested for SVR3 systems.
  167.  
  168. *** mit/clients/xdm/Imakefile-1.3    Thu May 27 15:59:45 1993
  169. --- mit/clients/xdm/Imakefile    Mon Jun 14 21:21:31 1993
  170. ***************
  171. *** 4,8 ****
  172.   #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLS)'
  173.   
  174. ! #define BuildChooser !SystemV
  175.   
  176.   #if HasXdmAuth
  177. --- 4,8 ----
  178.   #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  179.   
  180. ! #define BuildChooser !SystemV || defined(i386SVR3Architecture)
  181.   
  182.   #if HasXdmAuth
  183. *** mit/clients/xdm/chooser.c-1.3    Thu May 27 16:01:53 1993
  184. --- mit/clients/xdm/chooser.c    Mon Jun 14 21:17:43 1993
  185. ***************
  186. *** 70,73 ****
  187. --- 70,76 ----
  188.   #include    <sys/sockio.h>
  189.   #endif
  190. + #if defined(SYSV) && defined(SYSV386)
  191. + #include    <sys/stream.h>
  192. + #endif
  193.   #include    <sys/socket.h>
  194.   #include    <netinet/in.h>
  195. -----------------------------------------------------------------------------
  196. For SVR4:
  197.  
  198. There are problems with shared libraries built with gcc 2.4.3.  It is
  199. recommended that gcc 2.3.3 be used.
  200. It appears that this problem has been fixed in gcc 2.4.4
  201. -----------------------------------------------------------------------------
  202. For systems with an old cpp there may be problems with some #pragma
  203. lines in mit/lib/Xt/Xtos.h (line 54) and mit/server/include/os (line 62).
  204. Removing the '#' should fix the problem in these cases.
  205. -----------------------------------------------------------------------------
  206. The ATI 18000-1 chip is falsely detected by the XF86_Mono as a cpq_avga.
  207. To work around this, put:
  208.  
  209. Chipset "generic"
  210.  
  211. in the VGA2 section of the Xconfig file.
  212. -----------------------------------------------------------------------------
  213. There is a problem with Linux version of xload running out of file
  214. descriptors.  This patch fixes the problem.
  215.  
  216. *** mit/clients/xload/get_load.c-1.3    Mon Jun 21 23:42:36 1993
  217. --- mit/clients/xload/get_load.c    Mon Jun 21 23:43:10 1993
  218. ***************
  219. *** 384,390 ****
  220.        caddr_t    closure;    /* unused */
  221.        caddr_t    call_data;    /* pointer to (double) return value */
  222.   {
  223. !     int fd = -1, n;
  224.       char buf[10];
  225.   
  226.       if (fd < 0)
  227. --- 384,391 ----
  228.        caddr_t    closure;    /* unused */
  229.        caddr_t    call_data;    /* pointer to (double) return value */
  230.   {
  231. !     static int fd = -1;
  232. !     int n;
  233.       char buf[10];
  234.   
  235.       if (fd < 0)
  236. -----------------------------------------------------------------------------
  237. There is a problem with the ATI driver restoring the text-mode fonts
  238. when running on some systems (including Linux and 386BSD).  The following
  239. patch fixes this problem.
  240.  
  241.  
  242. *** mit/server/ddx/x386/vga256/drivers/ati/driver.c-1.3    Tue Jun 22 21:32:03 1993
  243. --- mit/server/ddx/x386/vga256/drivers/ati/driver.c    Tue Jun 22 21:35:12 1993
  244. ***************
  245. *** 191,196 ****
  246. --- 191,198 ----
  247.   #define TRACE(a)        /* Disable TRACE statements */
  248.   #endif
  249.   
  250. + #define ATI_PATCHLEVEL  1
  251.   typedef struct {
  252.       vgaHWRec std;        /* good old IBM VGA */
  253.       unsigned char ATIExtRegBank[11]; /* ATI Registers B0,B1,B2,B3,B5,B6,B8,B9,BE,A6,A7 */
  254. ***************
  255. *** 316,321 ****
  256. --- 318,325 ----
  257.       /* Load Miscellaneous Output External Register */
  258.       outb(0x3C2, restore->std.MiscOutReg);
  259.   
  260. +     outw(ATIExtReg, 0x00b2);    /* segment select 0 */
  261.       /* For text modes, download Character Generator into Plane 2 */
  262.       if (restore->std.FontInfo1 || restore->std.FontInfo2 ||
  263.               restore->std.TextInfo) {
  264. ***************
  265. *** 1112,1117 ****
  266. --- 1116,1124 ----
  267.      close( fd );
  268.   #endif /* MACH386 */
  269.      
  270. +    ErrorF("%s: ATI: driver patchlevel: %d\n", vga256InfoRec.name,
  271. +           ATI_PATCHLEVEL);
  272.      ErrorF( "ATI BIOS Information Block:\n" );
  273.      ErrorF( "   Signature code:                %c%c = ",
  274.          bios_data[ 0x40 ], bios_data[ 0x41 ] );
  275. -----------------------------------------------------------------------------
  276.