home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / xaw.load.patch / patch1 / README next >
Encoding:
Text File  |  1989-05-04  |  1.5 KB  |  41 lines

  1. This is just some trivial patches to make the xperfmon and load meter
  2. work on the sun386i. The notes below by Dave Curry concerning adding
  3. the -DSUN4_0 and -lkvm apply only to the xperfmon changes.
  4.  
  5.     jim@eda.com
  6.  
  7. Enclosed find:
  8.         README          - this file
  9.         XawLoad.diff    - diffs to Xaw/Load.c for the sun386 
  10.         xperforig.diff  - diffs to contrib/clients/xperfmon/system.c
  11.                           for the sun386 and sunOS4.0. These include the
  12.                           patches by Dave Curry <davy@riacs.edu> for sunOS4.0.
  13.                           This diff is between the distributed code and mine.
  14.         xperfdavy.diff  - diffs between the system.c with Dave's patches
  15.                           already applied, and mine.
  16.  
  17. ############## Original README file from Dave Curry ##################
  18.  
  19. The distributed X.V11R3 xperfmon does not run under SunOS 4.0, because
  20. Sun changed things to access the kernel via the -lkvm library.
  21.  
  22. The other file in this shell archive, "diffs", contains context diffs
  23. for core/contrib/clients/xperfmon/system.c to make xperfmon run under
  24. SunOS 4.0.
  25.  
  26. In addition to applying the diffs, you'll need to modify the Makefile
  27. (or Imakefile or whatever) to:
  28.  
  29.     1. Add "-DSUN4_0" to CFLAGS.
  30.     2. Add "-lkvm" to the load libraries.
  31.  
  32. Somebody really needs to rewrite this thing to be truly X11-like; it
  33. doesn't use the resource database or anything else.  Oh well.
  34.  
  35. Dave Curry
  36. Research Institute for Advanced Computer Science
  37. Mail Stop 230-5
  38. NASA Ames Research Center
  39. Moffett Field, CA 94035
  40. davy@riacs.edu
  41.