Ticket #25623: mutt-devel.2.patch

File mutt-devel.2.patch, 1.4 KB (added by dmitry@…, 14 years ago)

Same patch, but increment the revision in the portfile (no need to apply this one, if you've applied the previous one)

  • Portfile

    diff --git a/Portfile b/Portfile
    index a3fb371..990dfde 100644
    a b PortSystem 1.0 
    44
    55name                mutt-devel
    66version             1.5.20
    7 revision            3
     7revision            4
    88categories          mail
    99platforms           darwin
    1010maintainers         simon openmaintainer
    variant imap description {IMAP support} { 
    5757    configure.args-append   --enable-imap
    5858}
    5959variant ssl description {Secure Sockets Layer support} {
     60    patchfiles-append       patch-1.5.20.mutt_ssl.diff
    6061    configure.args-append   --with-ssl=${prefix}
    6162    depends_lib-append      port:openssl
    6263}
  • new file files/patch-1.5.20.mutt_ssl.diff

    diff --git a/files/patch-1.5.20.mutt_ssl.diff b/files/patch-1.5.20.mutt_ssl.diff
    new file mode 100644
    index 0000000..3299605
    - +  
     1diff --git a/PATCHES b/PATCHES
     2new file mode 100644
     3index 0000000..12d07af
     4--- /dev/null
     5+++ b/PATCHES
     6@@ -0,0 +1 @@
     7+patch-1.5.20.mutt_ssl.diff
     8diff --git a/mutt_ssl.c b/mutt_ssl.c
     9index cb1b0cc..7490200 100644
     10--- a/mutt_ssl.c
     11+++ b/mutt_ssl.c
     12@@ -652,7 +652,7 @@ static int check_host (X509 *x509cert, const char *hostname, char *err, size_t e
     13   char *buf = NULL;
     14   int bufsize;
     15   /* needed to get the DNS subjectAltNames: */
     16-  STACK *subj_alt_names;
     17+  STACK_OF(GENERAL_NAME) *subj_alt_names;
     18   int subj_alt_names_count;
     19   GENERAL_NAME *subj_alt_name;
     20   /* did we find a name matching hostname? */