OBS User unknown 2009-07-16 16:09:08 +00:00 committed by Git OBS Bridge
parent e8174418c2
commit 655af6d587
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Index: mutt-1.5.20/crypt-gpgme.c
===================================================================
--- mutt-1.5.20/crypt-gpgme.c 2009-05-19 02:11:35.000000000 +0200
+++ mutt-1.5.20/crypt-gpgme.c 2009-07-14 14:43:43.000000000 +0200
@@ -344,6 +344,7 @@ static gpgme_ctx_t create_gpgme_context
if (!GpgmeLocaleSet)
{
+ gpgme_check_version(NULL);
gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL));
#ifdef ENABLE_NLS
gpgme_set_locale (NULL, LC_MESSAGES, setlocale (LC_MESSAGES, NULL));

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 15 13:46:07 CEST 2009 - werner@suse.de
- Make gpgme work even with locale, patch from Evan McClain
(bnc#519628)
-------------------------------------------------------------------
Fri Jun 26 13:12:09 CEST 2009 - werner@suse.de

View File

@ -32,7 +32,7 @@ Requires: smtp_daemon
#Requires: desktop-data-SuSE
AutoReqProv: on
Version: 1.5.20
Release: 1
Release: 2
Summary: Mail Program
# ftp://ftp.mutt.org/mutt/devel/
Source0: %name-%version.tar.bz2
@ -53,6 +53,7 @@ Patch5: patch-1.5.5.1.nt.xtitles.3.ab.1
Patch6: patch-%version.sidebar.20090619.txt.bz2
Patch7: mutt-1.5.20.sidebar-fix.dif
Patch8: mutt-1.5.19-opennfs.dif
Patch9: mutt-1.5.20-gpgme_set_locale.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir %{_sysconfdir}
@ -79,6 +80,7 @@ Authors:
%patch6 -p1
%patch7 -p0
%patch8 -p0
%patch9 -p1
cp doc/Muttrc Muttrc.SuSE
cp %{S:2} .