pkgsrc/chat/icb/patches/patch-aj
christos 460bd4190f make this work on 64 bit platforms:
- fix warnings for missing prototypes
- use termios instead of sgtty (why doesn't this work on amd64?)
2008-12-17 02:19:59 +00:00

21 lines
687 B
Text

$NetBSD: patch-aj,v 1.3 2008/12/17 02:19:59 christos Exp $
--- icb/oset.c.orig 1995-02-24 16:20:24.000000000 -0500
+++ icb/oset.c 2008-12-16 20:18:00.000000000 -0500
@@ -39,6 +39,7 @@
{ "pagesize", V_INT, (char *)&gv.pagesize },
{ "pauseonshell", V_BOOLEAN, (char *)&gv.pauseonshell },
{ "personalto", V_STRING, (char *)&gv.personalto },
+ { "printtime", V_BOOLEAN, (char *)&gv.printtime },
{ "restricted", V_BOOLEAN, (char *)&gv.restricted },
{ "tabreply", V_BOOLEAN, (char *)&gv.tabreply },
{ "timedisplay", V_STRING, (char *)&gv.timedisplay },
@@ -140,7 +141,7 @@
{
int zero = 0, one = 1;
int tmp;
- char *p, *malloc();
+ char *p;
switch(type) {
case V_CHAR: