diff --git a/mutt-1.5.20-openssl_1.0.diff b/mutt-1.5.20-openssl_1.0.diff new file mode 100644 index 0000000..0b0712d --- /dev/null +++ b/mutt-1.5.20-openssl_1.0.diff @@ -0,0 +1,13 @@ +Index: mutt-1.5.20/mutt_ssl.c +=================================================================== +--- mutt-1.5.20.orig/mutt_ssl.c ++++ mutt-1.5.20/mutt_ssl.c +@@ -652,7 +652,7 @@ static int check_host (X509 *x509cert, c + char *buf = NULL; + int bufsize; + /* needed to get the DNS subjectAltNames: */ +- STACK *subj_alt_names; ++ STACK_OF(GENERAL_NAME) *subj_alt_names; + int subj_alt_names_count; + GENERAL_NAME *subj_alt_name; + /* did we find a name matching hostname? */ diff --git a/mutt.changes b/mutt.changes index 5677af5..2941259 100644 --- a/mutt.changes +++ b/mutt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 19 11:46:56 UTC 2010 - lnussel@suse.de + +- fix build against openssl 1.0 + ------------------------------------------------------------------- Wed Dec 2 12:38:04 CET 2009 - werner@suse.de diff --git a/mutt.spec b/mutt.spec index fa8202a..58e0bbd 100644 --- a/mutt.spec +++ b/mutt.spec @@ -1,7 +1,7 @@ # # spec file for package mutt (Version 1.5.20) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ Requires: smtp_daemon #Requires: desktop-data-SuSE AutoReqProv: on Version: 1.5.20 -Release: 6 +Release: 7 Summary: Mail Program # ftp://ftp.mutt.org/mutt/devel/ Source0: %name-%version.tar.bz2 @@ -56,6 +56,7 @@ Patch8: mutt-1.5.19-opennfs.dif Patch9: mutt-1.5.20-gpgme_set_locale.patch Patch10: mutt-1.5.20-bnc537141.dif Patch11: mutt-1.5.20-bnc559525.dif +Patch12: mutt-1.5.20-openssl_1.0.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir %{_sysconfdir} @@ -85,6 +86,7 @@ Authors: %patch9 -p1 %patch10 -p0 %patch11 -p0 +%patch12 -p1 cp doc/Muttrc Muttrc.SuSE cp %{S:2} .