diff options
author | tron <tron@pkgsrc.org> | 1998-06-19 21:13:07 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-06-19 21:13:07 +0000 |
commit | c5e7ac84af75f2ac121d37664d0670f96ec8a93f (patch) | |
tree | 92d33256b9bae5493eaa2799a94b149cbd9f3bd4 /comms | |
parent | 9e2024fe58efc62c54ae826259ba391b1c125082 (diff) | |
download | pkgsrc-c5e7ac84af75f2ac121d37664d0670f96ec8a93f.tar.gz |
Make "kermit" 64bit clean using patches supplied by Tim Rightnour in
PR pkg/5609.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/kermit/patches/patch-aa | 26 | ||||
-rw-r--r-- | comms/kermit/patches/patch-ac | 12 | ||||
-rw-r--r-- | comms/kermit/patches/patch-ad | 16 | ||||
-rw-r--r-- | comms/kermit/patches/patch-ae | 18 |
4 files changed, 58 insertions, 14 deletions
diff --git a/comms/kermit/patches/patch-aa b/comms/kermit/patches/patch-aa index 473ec7b697c..b1c730ed81d 100644 --- a/comms/kermit/patches/patch-aa +++ b/comms/kermit/patches/patch-aa @@ -1,14 +1,12 @@ -*** ckucmd.c Wed Nov 20 07:12:12 1996 ---- ckucmd.c Thu Dec 5 11:20:24 1996 -*************** -*** 3648,3653 **** ---- 3648,3656 ---- - not convert \r to \n, so additional \n needed in newline function. But - it is also very likely to result in unwanted blank lines. - */ -+ #ifdef SVORPOSIX -+ if (c == CR) putchar(NL); -+ #endif /* SVORPOSIX */ - - #ifdef OS2 - if (c == CR) putchar(NL); +--- ckucmd.c.orig Mon Nov 25 01:20:49 1996 ++++ ckucmd.c Fri Jun 19 22:52:29 1998 +@@ -3648,6 +3648,9 @@ + not convert \r to \n, so additional \n needed in newline function. But + it is also very likely to result in unwanted blank lines. + */ ++#ifdef SVORPOSIX ++ if (c == CR) putchar(NL); ++#endif /* SVORPOSIX */ + + #ifdef OS2 + if (c == CR) putchar(NL); diff --git a/comms/kermit/patches/patch-ac b/comms/kermit/patches/patch-ac new file mode 100644 index 00000000000..85df7526b5f --- /dev/null +++ b/comms/kermit/patches/patch-ac @@ -0,0 +1,12 @@ +--- ckuus5.c.orig Thu Jun 18 04:32:48 1998 ++++ ckuus5.c Thu Jun 18 05:00:44 1998 +@@ -2540,4 +2540,6 @@ + q[i] = m_arg[maclvl][i]; +- debug(F111,"popclvl mac 8", +- (maclvl > -1 && macx[maclvl]) ? macx[maclvl] : "",maclvl); ++ if (maclvl > -1 && macx[maclvl]) ++ debug(F111,"popclvl mac 8",macx[maclvl],maclvl); ++ else ++ debug(F111,"popclvl mac 8","",maclvl); + } else maclvl = -1; + diff --git a/comms/kermit/patches/patch-ad b/comms/kermit/patches/patch-ad new file mode 100644 index 00000000000..41fa15501eb --- /dev/null +++ b/comms/kermit/patches/patch-ad @@ -0,0 +1,16 @@ +--- ckutio.c.orig Thu Jun 18 05:04:33 1998 ++++ ckutio.c Thu Jun 18 05:12:25 1998 +@@ -7178,3 +7178,3 @@ + clock_storage = time( +-#ifdef IRIX60 ++#if defined(IRIX60) || defined(__NetBSD__) + (time_t *) +@@ -7184,3 +7184,7 @@ + 0 ); ++#ifdef __NetBSD__ ++ *s = ctime( (time_t *)&clock_storage ); ++#else + *s = ctime( &clock_storage ); ++#endif + debug(F110,"ztime: ATTSV",*s,0); + diff --git a/comms/kermit/patches/patch-ae b/comms/kermit/patches/patch-ae new file mode 100644 index 00000000000..060875a801e --- /dev/null +++ b/comms/kermit/patches/patch-ae @@ -0,0 +1,18 @@ +--- ckufio.c.orig Thu Jun 18 05:15:10 1998 ++++ ckufio.c Thu Jun 18 05:19:26 1998 +@@ -2961,6 +2961,14 @@ + } ++#ifdef __NetBSD__ ++ time_stamp = localtime((time_t *)&tmx); ++#else + time_stamp = localtime(&tmx); ++#endif + if (!time_stamp) + return(-1); ++#ifdef __NetBSD__ ++ if (localtime((time_t *)&tmx)->tm_isdst) ++#else + if (localtime(&tmx)->tm_isdst) ++#endif + tmx -= 60L * 60L; /* Adjust for daylight savings time */ + |