1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/evolution-devel/files/patch-ah
Ade Lovett dc24d06d3f Add a couple of patches to make evolution do the right thing on
initial startup (you no longer have to manually copy some files
around).  These updates will be committed to the next version of
evolution itself.

Many thanks to Dan Winship <danw@helixcode.com> for pointing
me in the right direction after my bug report.
2000-09-19 21:14:01 +00:00

21 lines
715 B
Plaintext

--- mail/mail-crypto.c.orig Fri Aug 11 15:27:12 2000
+++ mail/mail-crypto.c Wed Aug 23 11:17:44 2000
@@ -189,7 +189,7 @@
passwd_next = passphrase;
passwd_remaining = strlen (passphrase);
- passwd_incr = fpathconf (passwd_fds[1], _PC_PIPE_BUF);
+ passwd_incr = 1024; /* XXX: no fpathconf() in libc_r? */
/* Use a reasonable default value on error. */
if (passwd_incr <= 0)
passwd_incr = 1024;
@@ -197,7 +197,7 @@
input_next = input;
input_remaining = strlen (input);
- input_incr = fpathconf (ip_fds[1], _PC_PIPE_BUF);
+ input_incr = 1024; /* XXX: no fpathconf() in libc_r? */
if (input_incr <= 0)
input_incr = 1024;
input_eof_seen = FALSE;