From f40a1571c95eb8a3d884b5c16548500ca5dbcd4e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 17 Sep 2007 12:20:52 +0000 Subject: [PATCH] - fix md5 on big-endian systems --- mutt-1.5.16-md5.patch | 18 ++++++++++++++++++ mutt.spec | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/mutt-1.5.16-md5.patch b/mutt-1.5.16-md5.patch index fcfc132..6fe3a19 100644 --- a/mutt-1.5.16-md5.patch +++ b/mutt-1.5.16-md5.patch @@ -1144,3 +1144,21 @@ diff -r 4ade2517703a -r 9cfb5ac98e26 imap/auth_cram.c + md5_process_bytes (response, MD5_DIGEST_LEN, &ctx); + md5_finish_ctx (&ctx, response); } +# HG changeset patch +# User Emanuele Giaquinta +# Date 1189794927 25200 +# Node ID c699e5847630f6c9a2207d87d7f933a06b9d9e87 +# Parent 154417d57b9da5e488108887b3061a5322de8dbd +The new MD5 code needs AC_C_BIGENDIAN on big-endian systems + +diff -r 154417d57b9d -r c699e5847630 configure.ac +--- a/configure.ac Thu Sep 13 09:39:47 2007 -0700 ++++ b/configure.ac Fri Sep 14 11:35:27 2007 -0700 +@@ -39,6 +39,7 @@ AC_CHECK_TOOL(AR, ar, ar) + + AC_C_INLINE + AC_C_CONST ++AC_C_BIGENDIAN + + AC_SYS_LARGEFILE + AC_FUNC_FSEEKO diff --git a/mutt.spec b/mutt.spec index 2d8adbe..fc6925c 100644 --- a/mutt.spec +++ b/mutt.spec @@ -1,7 +1,7 @@ Summary: A text mode mail user agent Name: mutt Version: 1.5.16 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 5 # The entire source code is GPLv2+ except # pgpewrap.c setenv.c sha1.c wcwidth.c which are Public Domain @@ -101,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/muttrc.* %changelog +* Mon Sep 17 2007 Miroslav Lichvar 5:1.5.16-4 +- fix md5 on big-endian systems + * Tue Aug 28 2007 Miroslav Lichvar 5:1.5.16-3 - replace md5 implementation - update license tag