rename patches and use unified diffs
This commit is contained in:
parent
8eba78ca86
commit
bcfd69abdf
@ -1,14 +0,0 @@
|
||||
*** 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);
|
@ -1,58 +0,0 @@
|
||||
*** ckcdeb.h Sun Nov 24 16:20:48 1996
|
||||
--- ckcdeb.h Thu Jan 1 09:03:30 1998
|
||||
***************
|
||||
*** 1555,1560 ****
|
||||
--- 1555,1563 ----
|
||||
#ifdef __NetBSD__
|
||||
#define BPS_57K
|
||||
#else
|
||||
+ #ifdef __OpenBSD__
|
||||
+ #define BPS_57K
|
||||
+ #else
|
||||
#ifdef MAC
|
||||
#define BPS_57K
|
||||
#else
|
||||
***************
|
||||
*** 1566,1571 ****
|
||||
--- 1569,1575 ----
|
||||
#endif /* BEBOX */
|
||||
#endif /* QNX */
|
||||
#endif /* MAC */
|
||||
+ #endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
***************
|
||||
*** 1620,1625 ****
|
||||
--- 1624,1632 ----
|
||||
#ifdef __NetBSD__
|
||||
#define BPS_115K
|
||||
#else
|
||||
+ #ifdef __OpenBSD__
|
||||
+ #define BPS_115K
|
||||
+ #else
|
||||
#ifdef OS2
|
||||
#ifdef __32BIT__
|
||||
#define BPS_115K
|
||||
***************
|
||||
*** 1629,1634 ****
|
||||
--- 1636,1642 ----
|
||||
#define BPS_115K
|
||||
#endif /* BEBOX */
|
||||
#endif /* OS2 */
|
||||
+ #endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
***************
|
||||
*** 1755,1760 ****
|
||||
--- 1763,1771 ----
|
||||
#ifdef __NetBSD__ /* NetBSD */
|
||||
#define POSIX_CRTSCTS
|
||||
#endif /* __NetBSD__ */
|
||||
+ #ifdef __OpenBSD__ /* OpenBSD */
|
||||
+ #define POSIX_CRTSCTS
|
||||
+ #endif /* __OpenBSD__ */
|
||||
#ifdef BEBOX
|
||||
#define POSIX_CRTSCTS
|
||||
/* BEBOX defines CRTSFL as (CTSFLOW & RTSFLOW) */
|
@ -1,14 +0,0 @@
|
||||
*** ckuus5.c Sun Nov 24 16:20:50 1996
|
||||
--- ckuus5.c Thu Jan 1 09:01:41 1998
|
||||
***************
|
||||
*** 3351,3356 ****
|
||||
--- 3351,3359 ----
|
||||
#ifdef __NetBSD__
|
||||
if (!prtopt(&lines,"__NetBSD__")) return;
|
||||
#endif /* __NetBSD__ */
|
||||
+ #ifdef __OpenBSD__
|
||||
+ if (!prtopt(&lines,"__OpenBSD__")) return;
|
||||
+ #endif /* __OpenBSD__ */
|
||||
#ifdef __FreeBSD__
|
||||
if (!prtopt(&lines,"__FreeBSD__")) return;
|
||||
#endif /* __FreeBSD__ */
|
@ -1,24 +0,0 @@
|
||||
*** ckuver.h Fri Nov 29 05:52:13 1996
|
||||
--- ckuver.h Thu Jan 1 08:58:30 1998
|
||||
***************
|
||||
*** 101,106 ****
|
||||
--- 101,109 ----
|
||||
#ifdef __NetBSD__
|
||||
#define HERALD " NetBSD"
|
||||
#else
|
||||
+ #ifdef __OpenBSD__
|
||||
+ #define HERALD " OpenBSD"
|
||||
+ #else
|
||||
#ifdef __FreeBSD__
|
||||
#define HERALD " FreeBSD"
|
||||
#else
|
||||
***************
|
||||
*** 110,115 ****
|
||||
--- 113,119 ----
|
||||
#define HERALD " 4.4BSD"
|
||||
#endif /* __386BSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
+ #endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __bsdi__ */
|
||||
#endif /* BSD44 */
|
49
comms/kermit/patches/patch-ckcdeb_h
Normal file
49
comms/kermit/patches/patch-ckcdeb_h
Normal file
@ -0,0 +1,49 @@
|
||||
$OpenBSD: patch-ckcdeb_h,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckcdeb.h.orig Sun Nov 24 19:20:48 1996
|
||||
+++ ckcdeb.h Mon Sep 10 19:30:51 2001
|
||||
@@ -1555,6 +1555,9 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#ifdef __NetBSD__
|
||||
#define BPS_57K
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define BPS_57K
|
||||
+#else
|
||||
#ifdef MAC
|
||||
#define BPS_57K
|
||||
#else
|
||||
@@ -1566,6 +1569,7 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#endif /* BEBOX */
|
||||
#endif /* QNX */
|
||||
#endif /* MAC */
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
@@ -1620,6 +1624,9 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#ifdef __NetBSD__
|
||||
#define BPS_115K
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define BPS_115K
|
||||
+#else
|
||||
#ifdef OS2
|
||||
#ifdef __32BIT__
|
||||
#define BPS_115K
|
||||
@@ -1629,6 +1636,7 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#define BPS_115K
|
||||
#endif /* BEBOX */
|
||||
#endif /* OS2 */
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
@@ -1755,6 +1763,9 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#ifdef __NetBSD__ /* NetBSD */
|
||||
#define POSIX_CRTSCTS
|
||||
#endif /* __NetBSD__ */
|
||||
+#ifdef __OpenBSD__ /* OpenBSD */
|
||||
+#define POSIX_CRTSCTS
|
||||
+#endif /* __OpenBSD__ */
|
||||
#ifdef BEBOX
|
||||
#define POSIX_CRTSCTS
|
||||
/* BEBOX defines CRTSFL as (CTSFLOW & RTSFLOW) */
|
13
comms/kermit/patches/patch-ckucmd_c
Normal file
13
comms/kermit/patches/patch-ckucmd_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-ckucmd_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckucmd.c.orig Sun Nov 24 19:20:49 1996
|
||||
+++ ckucmd.c Mon Sep 10 19:30:50 2001
|
||||
@@ -3648,6 +3648,9 @@ cmdnewl(c) char c;
|
||||
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);
|
@ -1,6 +1,7 @@
|
||||
--- ckufio.c.~1~ Sun Nov 24 16:20:49 1996
|
||||
+++ ckufio.c Tue Mar 3 09:59:28 1998
|
||||
@@ -2959,11 +2959,15 @@
|
||||
$OpenBSD: patch-ckufio_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckufio.c.orig Sun Nov 24 19:20:49 1996
|
||||
+++ ckufio.c Mon Sep 10 19:30:54 2001
|
||||
@@ -2959,11 +2959,15 @@ struct utimbuf tp;
|
||||
}
|
||||
tmx += n;
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
--- ckutio.c.orig Sun Nov 24 16:20:49 1996
|
||||
+++ ckutio.c Tue Mar 3 10:23:55 1998
|
||||
@@ -289,7 +289,11 @@
|
||||
$OpenBSD: patch-ckutio_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckutio.c.orig Sun Nov 24 19:20:49 1996
|
||||
+++ ckutio.c Mon Sep 10 19:30:52 2001
|
||||
@@ -289,7 +289,11 @@ char *ckxsys = HERALD;
|
||||
#ifdef __NetBSD__
|
||||
#define LOCK_DIR "/var/spool/lock";
|
||||
#else
|
||||
@ -12,7 +13,7 @@
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
@@ -7162,6 +7166,11 @@
|
||||
@@ -7162,6 +7166,11 @@ ztime(s) char **s; {
|
||||
#define ZTIMEV7
|
||||
#endif /* POSIX */
|
||||
|
||||
@ -24,7 +25,7 @@
|
||||
#ifdef HPUX1020
|
||||
/*
|
||||
Prototypes are in <time.h>, included above.
|
||||
@@ -7233,6 +7242,7 @@
|
||||
@@ -7233,6 +7242,7 @@ ztime(s) char **s; {
|
||||
#endif /* PROVX1 */
|
||||
#endif /* ATTSV */
|
||||
#endif /* HPUX1020 */
|
13
comms/kermit/patches/patch-ckuus5_c
Normal file
13
comms/kermit/patches/patch-ckuus5_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-ckuus5_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckuus5.c.orig Sun Nov 24 19:20:50 1996
|
||||
+++ ckuus5.c Mon Sep 10 19:30:53 2001
|
||||
@@ -3351,6 +3351,9 @@ shofea() {
|
||||
#ifdef __NetBSD__
|
||||
if (!prtopt(&lines,"__NetBSD__")) return;
|
||||
#endif /* __NetBSD__ */
|
||||
+#ifdef __OpenBSD__
|
||||
+ if (!prtopt(&lines,"__OpenBSD__")) return;
|
||||
+#endif /* __OpenBSD__ */
|
||||
#ifdef __FreeBSD__
|
||||
if (!prtopt(&lines,"__FreeBSD__")) return;
|
||||
#endif /* __FreeBSD__ */
|
21
comms/kermit/patches/patch-ckuver_h
Normal file
21
comms/kermit/patches/patch-ckuver_h
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-ckuver_h,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckuver.h.orig Fri Nov 29 08:52:13 1996
|
||||
+++ ckuver.h Mon Sep 10 19:30:54 2001
|
||||
@@ -101,6 +101,9 @@
|
||||
#ifdef __NetBSD__
|
||||
#define HERALD " NetBSD"
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define HERALD " OpenBSD"
|
||||
+#else
|
||||
#ifdef __FreeBSD__
|
||||
#define HERALD " FreeBSD"
|
||||
#else
|
||||
@@ -110,6 +113,7 @@
|
||||
#define HERALD " 4.4BSD"
|
||||
#endif /* __386BSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __bsdi__ */
|
||||
#endif /* BSD44 */
|
Loading…
x
Reference in New Issue
Block a user