[comp.archives] [comp.sys.sgi...] Unblessed patches for SGI/IRIX 3.3

jim@baroque.Stanford.EDU (James Helman) (08/28/90)

Archive-name: sgi-x11r4/28-Aug-90
Original-posting-by: jim@baroque.Stanford.EDU (James Helman)
Original-subject: Unblessed patches for SGI/IRIX 3.3 (was Re: X11 R4 on SGI)
Archive-site: fresnel.stanford.edu [36.10.0.77]
Archive-directory: /pub/4DX
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)


   Has anyone ported the Client X11 R4 to the SGI?  I know that I can
   get X from SGI.  I want to muck with the sources, so I need to be
   able to rebuild the code.

I only encountered a few minor problems in compiling MIT's X11R4
distribution (clients + libraries only, *no server code available*)
under IRIX.  Most of the SGI specific stuff is already on the R4 tape,
courtesy of SGI.

Back in April, I posted some patches to fix a few things (xload, ptys
for xterm, makedepend) for compiling under IRIX 3.2.  Those patches
are available for anonymous ftp from fresnel.stanford.edu,
pub/4DX/4DX-patch1.

The new patches, which make a few minor adjustments for IRIX 3.3, are
in pub/4DX/4DX-patch2.  4DX-patch1 must be applied before 4DX-patch2.
Some R4 binaries, libraries, and include files are also on fresnel.

These patches should be applied to X11R4 from MIT with at least fixes
1 thru 6 applied.  MIT fixes 7 thru 12 do not affect any of same
files, so it shouldn't matter whether you have applied them or not.  I
most recently compiled R4 with MIT fixes 1 thru 12 under IRIX 3.3.

CAVEAT COMPILOR: Unless you're looking for free libraries or want to
muck around with the R4 client source, you're probably better off with
the libraries from SGI's X Development tape and with the clients on
the standard IRIX 3.3 tapes, for one thing, SGI's IRIX 3.3 clients use
a shared libX11, which the R4 distribution does not.  Note however
that you still can't create clients which use the shared library,
since the X Development tape does not include libX11_s.a (only
libX11_s).

BUGS: Once, I encountered a problem with pty allocation under 3.3 but
have been unable to duplicate it.  There are known server problems
when drawing 1-bit images onto 8-bit windows with XPutImage, e.g.
xwud.

All of these patches are completely unblessed.  Most of it has only
been tested on a 4D/220.

Jim Helman
Department of Applied Physics			Durand 012
Stanford University				FAX: (415) 725-3377
(jim@KAOS.stanford.edu) 			Voice: (415) 723-9127