mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
aca614c519
- MUTT_FLOCK vs. CONFIGURE_ARGS logic was inverted. - MUTT_ICONV was mistyped as MITT_ICONV so that the check was defective. + While here, make SLANG/NCURSES a radio group for clarity (these two options are optional and mutually exclusive). + Add a patch to send the proper length in an IMAP APPEND command; a size_t argument was printed with %d, which failed where sizeof(int) != sizeof(size_t), i. e. on 64-bit systems, or when the value was in ]INT_MAX; UINT_MAX] (2^31 or beyond). We now use %lu and cast the argument to unsigned long. Bump PORTREVISION. + Shorten COMMENT to avoid its truncation in pkg_info output.
12 lines
405 B
C
12 lines
405 B
C
--- imap/message.c.orig 2007-05-23 03:17:53.000000000 +0200
|
|
+++ imap/message.c 2013-06-04 00:53:42.000000000 +0200
|
|
@@ -435,7 +435,7 @@
|
|
rewind (fp);
|
|
|
|
imap_munge_mbox_name (mbox, sizeof (mbox), mailbox);
|
|
- snprintf (buf, sizeof (buf), "APPEND %s (\\Seen) {%d}", mbox, len);
|
|
+ snprintf (buf, sizeof (buf), "APPEND %s (\\Seen) {%lu}", mbox, (unsigned long)len);
|
|
|
|
imap_cmd_start (idata, buf);
|
|
|