[2246] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Patches for rolodex on RS/6000

daemon@ATHENA.MIT.EDU (lwvanels@Athena.MIT.EDU)
Sun Nov 10 19:44:11 1991

From: lwvanels@Athena.MIT.EDU
Date: Sun, 10 Nov 91 19:43:43 -0500
To: bug-sipb@Athena.MIT.EDU
Reply-To: lwvanels@mit.edu

These are the patches to make rolodex compile on the RS/6000:

----------------------------------------------------------------------------
*** /tmp/,RCSt1MskBFe   Sun Nov 10 19:40:40 1991
--- Makefile    Sun Nov 10 19:40:38 1991
***************
*** 4,11 ****
  #  if you have termcap,  set TERMSTUFF= -DTERMCAP,  and LIBS= -ltermcap
  #  if you have terminfo, set TERMSTUFF= -DTERMINFO, and LIBS= -lterminfo
  #  if you dont have either, leave them both blank (only "clear_screen" is used)
! TERMSTUFF= -DTERMCAP
! LIBS= -ltermcap
  #
  CC = cc
  # ROLOLIB = \"./helplib\"
--- 4,11 ----
  #  if you have termcap,  set TERMSTUFF= -DTERMCAP,  and LIBS= -ltermcap
  #  if you have terminfo, set TERMSTUFF= -DTERMINFO, and LIBS= -lterminfo
  #  if you dont have either, leave them both blank (only "clear_screen" is used)
! TERMSTUFF= -DTERMINFO
! LIBS= -lcurses
  #
  CC = cc
  # ROLOLIB = \"./helplib\"
*** /tmp/,RCSt1Ms8BxI   Sun Nov 10 19:41:00 1991
--- clear.c     Sun Nov 10 19:39:38 1991
***************
*** 1,5 ****
--- 1,8 ----
  #include <stdio.h>
  #ifdef TERMINFO
+ #ifdef _IBMR2
+ #include <curses.h>
+ #endif
  #include <term.h>
  #endif
  #undef putchar

home help back first fref pref prev next nref lref last post