diff options
author | jkh <jkh@FreeBSD.org> | 1994-10-04 15:00:39 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-10-04 15:00:39 +0000 |
commit | 99e59679c048de48dec505b3bf8161af99b2f5cf (patch) | |
tree | 2e7cd1f3487a8f8a8a92dec8e307c9afec1218a1 /comms/seyon/files | |
parent | 93a1bd6c5c60a8dbc87a70f732af76df554bee80 (diff) | |
download | FreeBSD-ports-99e59679c048de48dec505b3bf8161af99b2f5cf.zip FreeBSD-ports-99e59679c048de48dec505b3bf8161af99b2f5cf.tar.gz |
Michael Elbel's port of seyon.
Diffstat (limited to 'comms/seyon/files')
-rw-r--r-- | comms/seyon/files/patch-aa | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/comms/seyon/files/patch-aa b/comms/seyon/files/patch-aa new file mode 100644 index 0000000..0a14765 --- /dev/null +++ b/comms/seyon/files/patch-aa @@ -0,0 +1,87 @@ +Only in seyon: Makefile +diff -c SePort.c seyon.new/SePort.c +*** SePort.c Wed Apr 21 15:38:31 1993 +--- seyon.new/SePort.c Sun Oct 2 23:05:25 1994 +*************** +*** 627,645 **** + #endif + break; + #if USE_NONSTD_BAUD +- #ifdef linux + case 57600: + baudrate = B38400; + ser_io.flags &= ~ASYNC_SPD_MASK; + ser_io.flags |= ASYNC_SPD_HI; + break; + case 115200: + baudrate = B38400; + ser_io.flags &= ~ASYNC_SPD_MASK; + ser_io.flags |= ASYNC_SPD_VHI; + break; + #endif +- #endif + default: + return (-1); + } +--- 627,651 ---- + #endif + break; + #if USE_NONSTD_BAUD + case 57600: ++ #ifdef linux + baudrate = B38400; + ser_io.flags &= ~ASYNC_SPD_MASK; + ser_io.flags |= ASYNC_SPD_HI; ++ #else ++ baudrate = B57600; ++ #endif + break; + case 115200: ++ #ifdef linux + baudrate = B38400; + ser_io.flags &= ~ASYNC_SPD_MASK; + ser_io.flags |= ASYNC_SPD_VHI; ++ #else ++ baudrate = B115200; ++ #endif + break; + #endif + default: + return (-1); + } +*************** +*** 691,696 **** +--- 697,710 ---- + #endif + #endif + return 38400; ++ #if USE_NONSTD_BAUD ++ #ifndef linux ++ case B57600: ++ return(57600); ++ case B115200: ++ return(115200); ++ #endif ++ #endif + } + + SeError("Consistency error in baud rate"); +diff -c config.h seyon.new/config.h +*** config.h Wed Apr 21 14:47:48 1993 +--- seyon.new/config.h Sun Oct 2 23:03:53 1994 +*************** +*** 81,86 **** +--- 81,92 ---- + #define HAVE_USLEEP YES + #endif + ++ #ifdef __FreeBSD__ ++ #define USE_NONSTD_BAUD YES ++ #define LF_PATH "/var/spool/lock" ++ #define LF_PREFIX "LCK.." ++ #endif ++ + #ifdef SVR4 + #define HAVE_TERMIOS YES + #define HAVE_MODEM_CONTROL YES + |