make this works in amd64. bump package as well.

This commit is contained in:
fgsch 2005-12-31 02:09:46 +00:00
parent 4a9b8373a0
commit 8ddf23f6ac
5 changed files with 48 additions and 26 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.22 2004/12/16 00:31:22 alek Exp $
# $OpenBSD: Makefile,v 1.23 2005/12/31 02:09:46 fgsch Exp $
# $NetBSD: Makefile,v 1.6 1998/04/15 11:15:34 frueauf Exp $
COMMENT= "Internet CB - mostly-defunct chat client"
DISTNAME= icb-5.0.9
PKGNAME= icb-5.0.9p1
PKGNAME= ${DISTNAME}p2
CATEGORIES= net
MASTER_SITES= ftp://ftp.swcp.com/pub/icb/clients/unix/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-glob_tilde_c,v 1.1 2005/12/31 02:09:46 fgsch Exp $
--- glob/tilde.c.orig Sat Dec 31 02:02:06 2005
+++ glob/tilde.c Sat Dec 31 02:02:22 2005
@@ -28,6 +28,7 @@
#endif
#include <pwd.h>
+#include <stdlib.h>
#ifndef savestring
#define savestring(x) (char *)strcpy ((char *)xmalloc (1 + strlen (x)), (x))

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-icb_helpdata_c,v 1.2 2004/01/04 20:36:49 espie Exp $
--- icb/helpdata.c.orig 1995-02-24 22:20:23.000000000 +0100
+++ icb/helpdata.c 2004-01-04 21:31:11.000000000 +0100
$OpenBSD: patch-icb_helpdata_c,v 1.3 2005/12/31 02:09:46 fgsch Exp $
--- icb/helpdata.c.orig Fri Feb 24 21:20:23 1995
+++ icb/helpdata.c Sat Dec 31 01:54:33 2005
@@ -573,7 +573,7 @@ char *ht_variables[] =
" into the logfile, if logging is active. The value of this variable may",
" be overridden for a single replay command by specifying -log or -nolog.",
@ -10,15 +10,15 @@ $OpenBSD: patch-icb_helpdata_c,v 1.2 2004/01/04 20:36:49 espie Exp $
"",
" If this is nonzero, paging is in effect, and a more prompt will be",
" displayed every pagesize lines. Hitting a space continues, hitting any",
@@ -600,6 +600,11 @@ char *ht_variables[] =
@@ -599,6 +599,11 @@ char *ht_variables[] =
" shell command is finished. Since a large amount of icb output may be",
" waiting for your screen, this gives you a chance to see the output",
" of your command.",
"",
+"",
+"printtime (boolean) default: false",
+"",
+" Print the current time in front of every line sent to the display",
+" and log file.",
+"",
"",
"restricted (boolean) default: false",
"",
" Restricted shuts off the ability to run subshell commands or to",

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-icb_unix_c,v 1.1 2001/05/14 16:42:54 millert Exp $
--- icb/unix.c.orig Fri Feb 24 14:20:31 1995
+++ icb/unix.c Mon May 14 10:33:04 2001
@@ -9,11 +9,35 @@
$OpenBSD: patch-icb_unix_c,v 1.2 2005/12/31 02:09:46 fgsch Exp $
--- icb/unix.c.orig Fri Feb 24 21:20:31 1995
+++ icb/unix.c Sat Dec 31 01:54:33 2005
@@ -9,12 +9,36 @@
#include "externs.h"
#include <pwd.h>
#include <sys/dir.h>
@ -14,7 +14,7 @@ $OpenBSD: patch-icb_unix_c,v 1.1 2001/05/14 16:42:54 millert Exp $
-#ifndef SYSV
+#ifdef SYSV
+
+#define USE_TERMIO
+#include <termio.h>
+#define TTYSTRUCT termio
@ -35,9 +35,10 @@ $OpenBSD: patch-icb_unix_c,v 1.1 2001/05/14 16:42:54 millert Exp $
+#endif /* SYSV */
+
+#ifndef USE_TERMIO /* neither case above (SYSV or BSD4_4) */
+
#ifdef linux
#include <bsd/sgtty.h>
#else
@@ -22,18 +46,15 @@
#endif

View File

@ -1,11 +1,21 @@
$OpenBSD: patch-tcl_tclBasic_c,v 1.2 2001/05/14 16:42:55 millert Exp $
--- tcl/tclBasic.c.orig Fri Feb 24 14:19:53 1995
+++ tcl/tclBasic.c Mon May 14 10:33:07 2001
@@ -132,6 +132,7 @@ Tcl_CreateInterp()
iPtr->errorLine = 0;
iPtr->commandPtr = NULL;
iPtr->globalPtr = NULL;
+ iPtr->localPtr = NULL;
iPtr->numLevels = 0;
iPtr->framePtr = NULL;
iPtr->varFramePtr = NULL;
$OpenBSD: patch-tcl_tclBasic_c,v 1.3 2005/12/31 02:09:46 fgsch Exp $
--- tcl/tclBasic.c.orig Sat Dec 31 01:55:25 2005
+++ tcl/tclBasic.c Sat Dec 31 01:55:38 2005
@@ -657,7 +657,7 @@ Tcl_Eval(interp, cmd, flags, termPtr)
length = strlen(iPtr->result);
if ((limit - dst) < length) {
char *newCopy;
- int delta;
+ size_t delta;
copySize = length + 10 + dst - copy;
newCopy = (char *) malloc((unsigned) copySize);
@@ -870,7 +870,7 @@ Tcl_Eval(interp, cmd, flags, termPtr)
if (dst >= limit) {
char *newCopy;
- int delta;
+ size_t delta;
copySize *= 2;
newCopy = (char *) malloc((unsigned) copySize);