diff options
author | oliver <oliver@FreeBSD.org> | 2006-05-31 22:43:00 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2006-05-31 22:43:00 +0800 |
commit | e69337e0501fd6901e9367a8450d5ed354e63d20 (patch) | |
tree | 6d7fef1a32d45140eadb950ae388ef00215d07f3 /mail/courier-imap | |
parent | 1241786e02d4bab1151cf3ccb59a3898f0781d91 (diff) | |
download | freebsd-ports-gnome-e69337e0501fd6901e9367a8450d5ed354e63d20.tar.gz freebsd-ports-gnome-e69337e0501fd6901e9367a8450d5ed354e63d20.tar.zst freebsd-ports-gnome-e69337e0501fd6901e9367a8450d5ed354e63d20.zip |
fix FreeBSD 4 build
PR: 98217
Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'mail/courier-imap')
-rw-r--r-- | mail/courier-imap/files/patch-rfc2045_rfc2045reply.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c b/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c new file mode 100644 index 000000000000..f53c3463a9ee --- /dev/null +++ b/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c @@ -0,0 +1,22 @@ +--- rfc2045/rfc2045reply.c~ Thu May 25 08:48:48 2006 ++++ rfc2045/rfc2045reply.c Wed May 31 10:08:03 2006 +@@ -591,7 +591,9 @@ + off_t start_pos, end_pos, start_body, dummy; + int errflag=0; + struct rfc2045headerinfo *hi; +- ++#if HAVE_UNICODE ++ const struct unicode_info *uiptr=NULL; ++#endif + oldtocc=0; + oldtolist=0; + oldfrom=0; +@@ -601,8 +603,6 @@ + oldreferences=0; + whowrote=0; + #if HAVE_UNICODE +- const struct unicode_info *uiptr=NULL; +- + if (ri->charset && *(ri->charset)) + uiptr = unicode_find(ri->charset); + #endif |