[comp.windows.x] More descriptive fixes for X11 on the RT.

jonnyg@ROVER.UMD.EDU (Jon Greenblatt) (10/01/87)

Sorry about the limited explanation I sent previously, I just waited for the
make to bomb out and corrected the makefiles at that point. There are still
some errors that came up durring the make that I ignored using make -k, I do
not sugguest this since it will cause you to miss more important errors.
Since it takes 3/4 of a day to make X from scratch on an RT I'll have to
leave it to someone else to add to this discription. You should be able to
make X without doing anything too crucial using this discription, enough said
here it is.


	YEA! I now have X11 working on the RT. Follow these steps to get it
running. This applies to those running the Latest release of 4.3 on the RT
with X11R1.

	1: Run RTSETUP first!

	2: Some files do not compile at all with "hc". These are in lib/Xtk,
	   lib/oldXtk, lib/oldXrm, and clients/gnuplot. In these directories
	   change the line in the makefile that reads "CC = hc" to "CC = pcc".

	3: In the directories server/ddx/mi and server/ddx/mfb, grep for
	   all occurences of "++->", Change these lines so that the ++
	   is in a seperate statement following the ->.

	4: In the file server/ddx/mi/miregion.c, make the following changes.
	   I did this in reverse order so the changes come before the
	   original lines (sorry).

290,292c290,292
< 		do {
< 		    *pPrevBox = *pCurBox;
< 		    pPrevBox++; pCurBox++;
---
> 		do
> 		{
> 		    *pPrevBox++ = *pCurBox++;
1503,1504c1503
< 		    pbox++;
< 		    pboxTest = pbox;
---
> 		    pboxTest = ++pbox;
1525,1526c1524
< 		*pwidthNew = xEnd - xStart;
< 		pwidthNew++;
---
> 		*pwidthNew++ = xEnd - xStart;
1572,1573c1570
< 			*pwidthNew = xEnd - xStart;
< 			pwidthNew++;
---
> 			*pwidthNew++ = xEnd - xStart;


NOTE: I have not looked for all the possible pointer/incr conflicts at this
	point, there may be more.

				Good sailing,

				     Jon Greenblatt
					<pcproj@gymble.umd.edu> (128.8.128.16)
					<jonnyg@rover.umd.edu> (128.8.2.73)
PS: Thank you Robert Scheifler!