diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-08-09 08:04:47 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-08-09 08:04:47 +0000 |
commit | 2ca9abcb5825801f005004418de9ada0026db4f6 (patch) | |
tree | 39b4f53c03aa55697a43c3c4dfc6b51ab4664b7b /mail/pine4/files/patch-ac | |
parent | Added tcl75 and tk41. (diff) |
Some fixes :-
- add -DPOSIX to pico build so that it doesn't use the sgtty cruft.
- clean freebsd-specific files too.
- correctly specify wait() as taking an int, rather than configuring it
for "union wait *" and adding patches to cast them to int's.
- use POSIX counterparts for pine proper (signals, non-blocking, termios)
- correct path to /usr/bin/passwd (not /bin/passwd)
- revert 3-char identifier to "BSF" not "BSI" (originally, BSN = NetBSD,
BSF=FreeBSD, BSI=BSDI)
- use more usual paths for news files. both cnews and inn* default to
/var/news (usually), and the inn ports default to
/usr/local/news/lib/active (cnews uses /usr/local/lib/news/active)
None of our ports use /usr/spool/news or /usr/lib/news/active.
Partly Submitted by: Chris Timmons <skynyrd@opus.cts.cwu.edu> (PR#1458)
Notes
Notes:
svn path=/head/; revision=3558
Diffstat (limited to 'mail/pine4/files/patch-ac')
-rw-r--r-- | mail/pine4/files/patch-ac | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/pine4/files/patch-ac b/mail/pine4/files/patch-ac index 43691ed43edc..c51a4d300e21 100644 --- a/mail/pine4/files/patch-ac +++ b/mail/pine4/files/patch-ac @@ -253,7 +253,7 @@ + #define SigType void /* value returned by sig handlers is void */ + /* #define SigType int /* value returned by sig handlers is int */ + -+ /* #define POSIX_SIGNALS /* use POSIX signal semantics (ttyin.c) */ ++ #define POSIX_SIGNALS /* use POSIX signal semantics (ttyin.c) */ + /* #define SYSV_SIGNALS /* use System-V signal semantics (ttyin.c) */ + + @@ -272,8 +272,8 @@ + + + /*-------------- fcntl flag to set non-blocking IO ---------------------*/ -+ /*#define NON_BLOCKING_IO O_NONBLOCK /* POSIX style */ -+ #define NON_BLOCKING_IO FNDELAY /* good ol' bsd style */ ++ #define NON_BLOCKING_IO O_NONBLOCK /* POSIX style */ ++ /* #define NON_BLOCKING_IO FNDELAY /* good ol' bsd style */ + + + @@ -288,15 +288,15 @@ + */ + + /*--------- Good 'ol BSD -----------------------------------------------*/ -+ #include <sgtty.h> /* BSD-based systems */ ++ /* #include <sgtty.h> /* BSD-based systems */ + + /*--------- System V terminal driver -----------------------------------*/ + /* #define HAVE_TERMIO /* this is for pure System V */ + /* #include <termio.h> /* Sys V */ + + /*--------- POSIX terminal driver --------------------------------------*/ -+ /* #define HAVE_TERMIOS /* this is an alternative */ -+ /* #include <termios.h> /* POSIX */ ++ #define HAVE_TERMIOS /* this is an alternative */ ++ #include <termios.h> /* POSIX */ + + + @@ -311,7 +311,7 @@ + + + /*-- What argument does wait(2) take? Define this if it is a union -----*/ -+ #define HAVE_WAIT_UNION /* the arg to wait is a union wait * */ ++ /* #define HAVE_WAIT_UNION /* the arg to wait is a union wait * */ + + + @@ -340,7 +340,7 @@ + + + /*--------- Program employed by users to change their password ---------*/ -+ #define PASSWD_PROG "/bin/passwd" ++ #define PASSWD_PROG "/usr/bin/passwd" + + + /*-------------- A couple constants used to size arrays ----------------*/ |