73f8735fa4
2000b. Pkgsrc changes include: - Reduce the number of patches. - Install full set of headers for c-client. - Install library as libc-client.* and make compatibility links from libc-client.* to libimapuw.*. Other software that use the c-client library seem to look for libc-client.*; no software looks for libimapuw.*. - Install the IMAP RFCs along with the rest of the UW-IMAP documentation. - Introduce a new compile-time knob, CCLIENT_MBOX_FMT, that controls the default format for new mailboxes created by c-client programs.
18 lines
615 B
Text
18 lines
615 B
Text
$NetBSD: patch-ah,v 1.5 2001/02/08 19:11:37 jlam Exp $
|
|
|
|
--- src/osdep/unix/env_unix.c.orig Thu Dec 21 01:12:13 2000
|
|
+++ src/osdep/unix/env_unix.c
|
|
@@ -1273,8 +1273,12 @@
|
|
DRIVER *d;
|
|
FILE *f = fopen (file,"r");
|
|
/* no file or ill-advised usage */
|
|
+ /*
|
|
+ * pkgsrc: don't require the "I accept the risk for..." outdated string at
|
|
+ * the top of /etc/c-client.cf.
|
|
+ */
|
|
if (!(f && (s = fgets (tmp,MAILTMPLEN,f)) && (t = strchr (s,'\n')) &&
|
|
- (flag ||
|
|
+ (1 ||
|
|
(!strcmp (s,"I accept the risk for IMAP toolkit 4.1.\n") &&
|
|
(s = fgets (tmp,MAILTMPLEN,f)) && (t = strchr (s,'\n')))))) return;
|
|
do {
|