File:  [cvs.NetBSD.org] / pkgsrc / mail / mutt-kz / patches / Attic / patch-af
Revision 1.2: download - view: text, annotated - select for diffs
Sat Apr 9 09:46:26 2016 UTC (8 years, 11 months ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, HEAD
Update "mutt-kz" package to version 1.6.0.1. Changes since 1.5.23.1-rc1:
+ Enabled utf-8 mailbox support for IMAP.
+ New expandos %r and %R for comma separated list of To: and Cc:
  recipients respectively.
+ Improved support for internationalized email and SMTPUTF8 (RFC653[0-3]).
! $use_idn has been renamed to $idn_decode.
+ $idn_encode controls whether outgoing email address domains will
  be IDNA encoded.  If your MTA supports it, unset to use utf-8
  email address domains.
+ The S/MIME message digest algorithm is now specified using the
  option $smime_sign_digest_alg.  Note that $smime_sign_command
  should be modified to include "-md %d".  Please see
  contrib/smime.rc.
+ $reflow_space_quotes allows format=flowed email quotes to be
  displayed with spacing between them.
! multipart draft files are now supported.
+ The "-E" command line argument causes mutt to edit draft or include files.
  All changes made in mutt will be saved back out to those files.
+ $resume_draft_files and $resume_edited_draft_files control how
  mutt processes draft files.
+ For classic gpg mode, $pgp_decryption_okay should be set to verify
  multipart/encrypted are actually encrypted.  Please see
  contrib/gpg.rc for the suggested value.
! mailto URL header parameters by default are now restricted to
  'body' and 'subject'.
+ mailto_allow and unmailto_allow can be used to add or remove
  allowed mailto header parameters.
! The method of setting $hostname has been changed.  Rather than
  scanning /etc/resolv.conf, the domain will now be determined using
  DNS calls.

$NetBSD: patch-af,v 1.2 2016/04/09 09:46:26 tron Exp $

On some systems, curses.h defines TRUE and FALSE, so conditionalise
them here to avoid compiler complaints about duplicate definitions.

--- lib.h.orig	2016-04-02 19:12:22.000000000 +0100
+++ lib.h	2016-04-09 09:34:25.000000000 +0100
@@ -54,8 +54,12 @@
 #  define N_(a) a
 # endif
 
-# define TRUE 1
-# define FALSE 0
+# ifndef TRUE
+#  define TRUE 1
+# endif
+# ifndef FALSE
+#  define FALSE 0
+# endif
 
 # define HUGE_STRING     8192
 # define LONG_STRING     1024

CVSweb <webmaster@jp.NetBSD.org>