[comp.windows.x] xtalk patch

doleh@math-cs.kent.edu (Yaser Doleh) (02/28/90)

I got few questions about xtalk does not work under R4. So I am posting this
patch which I received from casey@gauss.llnl.GOV few weeks ago.


*** xtalk.c.orig	Tue Feb 27 18:10:30 1990
--- xtalk.c	Tue Feb 27 18:14:18 1990
***************
*** 2,9
  
  	Written by : Yaser Doleh
  	Kent State University
! 	email doleh@kent.edu
! 	March 15, 1980
  */
  	
  #include <X11/Intrinsic.h>

--- 2,9 -----
  
  	Written by : Yaser Doleh
  	Kent State University
! 	email doleh@math-cs.kent.edu
! 	March 15, 1988
  */
  	
  #include <X11/Intrinsic.h>
***************
*** 8,18
  	
  #include <X11/Intrinsic.h>
  #include <X11/StringDefs.h>
! #include <X11/Cardinals.h>
! #include <X11/AsciiText.h>
! #include <X11/Box.h>
! #include <X11/Command.h>
! #include <X11/Label.h>
  #include <X11/Shell.h>
  #include <X11/cursorfont.h>
  #include <stdio.h>

--- 8,18 -----
  	
  #include <X11/Intrinsic.h>
  #include <X11/StringDefs.h>
! #include <X11/Xaw/Cardinals.h>
! #include <X11/Xaw/AsciiText.h>
! #include <X11/Xaw/Box.h>
! #include <X11/Xaw/Command.h>
! #include <X11/Xaw/Label.h>
  #include <X11/Shell.h>
  #include <X11/cursorfont.h>
  #include <stdio.h>
*** Imakefile.orig	Tue Feb 27 18:11:07 1990
--- Imakefile	Tue Feb 27 18:13:32 1990
***************
*** 1,6
  LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
             SRCS = xtalk.c
             OBJS = xtalk.o
         INCLUDES = -I$(TOP)
  
  ComplexProgramTarget(xtalk)

--- 1,7 -----
  LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
             SRCS = xtalk.c
             OBJS = xtalk.o
+         DEFINES = -DXAW_BC
         INCLUDES = -I$(TOP)
  
  ComplexProgramTarget(xtalk)
--
Yaser Doleh   <doleh@math-cs.kent.edu>
Department Of Mathematics & Computer Science
Kent State University
Kent - OH 44242