[BACK]Return to patch-mew-ssl.el CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / mew / patches

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/mail/mew/patches/Attic/patch-mew-ssl.el between version 1.2 and 1.3

version 1.2, 2011/10/19 18:32:50 version 1.3, 2014/03/12 12:43:43
Line 1 
Line 1 
 $NetBSD$  $NetBSD$
   
 * Support "stunnel -version" output of stunnel-4.39.  * Add stunnel 5 support
   
 --- mew-ssl.el.orig     2009-01-21 05:54:58.000000000 +0000  --- mew-ssl.el.orig     2012-04-16 03:18:13.000000000 +0000
 +++ mew-ssl.el  +++ mew-ssl.el
 @@ -260,7 +260,8 @@ A local port number can be obtained the  @@ -264,7 +264,7 @@ A local port number can be obtained the
      (with-temp-buffer  
        (call-process mew-prog-ssl nil t nil "-version")         (call-process mew-prog-ssl nil t nil "-version")
        (goto-char (point-min))         (goto-char (point-min))
 -      (if (looking-at "stunnel 4\\.\\([0-9]+\\)")         (re-search-forward "^stunnel " nil t 1)
 +      (re-search-forward "^stunnel " nil t 1)  -      (if (looking-at "4\\.\\([0-9]+\\)")
 +      (if (looking-at "4\\.\\([0-9]+\\)")  +      (if (looking-at "[45]\\.\\([0-9]+\\)")
           (progn            (progn
             (setq mew-ssl-ver 4)              (setq mew-ssl-ver 4)
             (setq mew-ssl-minor-ver (string-to-number (mew-match-string 1))))              (setq mew-ssl-minor-ver (string-to-number (mew-match-string 1))))

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>