login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #26 Graphics in Solaris, patch 24, fixed! revision 1 of 1

1
Editor:
Time: 2007/11/17 22:18:43 GMT-8
Note:

changed:
-
Ok, I fixed it, although the fix is not elegant :-)


In int/lib/openpty.c add the #define shown below:



#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>


#define SUN4OS5platform   <----------------



It seems to me this should be fixable by putting in 
src/sman/Makefile.pamphlet


CFLAGS= ${CCF} -DSUN4OS5platform


but somehow that definition doesn't seem to work.  I can't see it in the output 
of the make.


Anyhow, everything works now!

Submitted by : (unknown) at: 2007-11-17T22:18:43-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

Ok, I fixed it, although the fix is not elegant :-)


In int/lib/openpty.c add the #define shown below:



#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>


#define SUN4OS5platform   <----------------



It seems to me this should be fixable by putting in 
src/sman/Makefile.pamphlet


CFLAGS= ${CCF} -DSUN4OS5platform


but somehow that definition doesn't seem to work.  I can't see it in the output 
of the make.


Anyhow, everything works now!