Patch-ID#  100369-01
Keywords: SunGKS, double buffering, dbuff
Synopsis: SunGKS: Double buffering using 16 colours causes a crash 
Date: 4-Sep-91  
 
SunOS release: 4.1.1
 
Unbundled Product: SunGKS 
 
Unbundled Release: 4.0
 
Topic: 
 
BugId's fixed with this patch: 1052209

Architectures for which this patch is available: sun4c_65

Patches which may conflict with this patch: None

Obsoleted by: GKS 4.1

Problem Description: When double buffering:
     If 16 colors are used the application core dumps with the X error major opcode 86
     and minor opcode of 1.
     If 8 or less colors are used, sometimes both buffers are displayed.

INSTALL: 
 
  The patch to be installed is xgl.o
 1) Copy the patch to the directory <patch_dir> of your choice. 

 2) If GKS is installed in /usr then do :
  
  f77 myfile.f -o myfile xgl.o -IOPENHOMEINCLUDE/include -lgks77 -lgks -lxgl \ 
      -lgks -lxgl -lxview -lolgx -lX11 -lm
  
  If GKS is installed elsewhere then do:

  f77 -I${GKSDIR}/../../include/gks myfile.f -o myfile xgl.o \ 
	${GKSDIR}/../libgks77.a ${GKSDIR}/../libgks.a -IOPENWINHOME/include \ 
	-lxgl -lxview -lolgx lX11 -lm
