diff options
author | rillig <rillig@pkgsrc.org> | 2005-03-16 12:34:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-03-16 12:34:49 +0000 |
commit | 05f7d5ad1e5ad1ebf97ab4450e14b9dffb6bb7fd (patch) | |
tree | 8afe2bdc1278b82672e7599490e10134f1bceacb /mail/gmime/patches | |
parent | b2b26b7830aa37b3bb58ee4e204510e271d7ac0c (diff) | |
download | pkgsrc-05f7d5ad1e5ad1ebf97ab4450e14b9dffb6bb7fd.tar.gz |
Added a workaround for systems that don't have ECANCELED. Approved by wiz.
Diffstat (limited to 'mail/gmime/patches')
-rw-r--r-- | mail/gmime/patches/patch-ab | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/gmime/patches/patch-ab b/mail/gmime/patches/patch-ab new file mode 100644 index 00000000000..0d7dc3d40e9 --- /dev/null +++ b/mail/gmime/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1 2005/03/16 12:34:49 rillig Exp $ + +Needed for NetBSD-1.6.2 and NetBSD-2.0. ECANCELED is used when the user +cancels the password query, so EAUTH seemed to be the most appropriate +to me. + +--- gmime/gmime-gpg-context.c.orig Tue Jul 6 15:09:18 2004 ++++ gmime/gmime-gpg-context.c Wed Mar 16 01:33:23 2005 +@@ -56,6 +56,10 @@ + + #define _(x) x + ++#if !defined(ECANCELED) && defined(EAUTH) ++# define ECANCELED EAUTH ++#endif ++ + static void g_mime_gpg_context_class_init (GMimeGpgContextClass *klass); + static void g_mime_gpg_context_init (GMimeGpgContext *ctx, GMimeGpgContextClass *klass); + static void g_mime_gpg_context_finalize (GObject *object); |