Fix building with GPGME 1.3.0.

This commit is contained in:
adam 2011-03-05 11:57:08 +00:00
parent 4770c13b25
commit bfc090eb28
2 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.15 2011/01/23 07:55:14 markd Exp $
$NetBSD: distinfo,v 1.16 2011/03/05 11:57:08 adam Exp $
SHA1 (kdepimlibs-4.5.5.tar.bz2) = 436fd7897586294f327395981a714ae0695f4ee2
RMD160 (kdepimlibs-4.5.5.tar.bz2) = 6e9e54fcf8fa2f1da1c76004a3998f9426a30f4c
Size (kdepimlibs-4.5.5.tar.bz2) = 2674251 bytes
SHA1 (patch-aa) = 4a90823acf9832232ea51cc1202dd88edebe5ee9
SHA1 (patch-gpgmexx_config-gpgmexx.h.cmake) = bd8fd1e9a619d6bd52185f37adb5dc7f7b97423c

View file

@ -0,0 +1,16 @@
$NetBSD: patch-gpgmexx_config-gpgmexx.h.cmake,v 1.1 2011/03/05 11:57:09 adam Exp $
Fix building with GPGME 1.3.0.
--- gpgme++/config-gpgme++.h.cmake.orig 2011-03-05 11:22:26.000000000 +0000
+++ gpgme++/config-gpgme++.h.cmake
@@ -67,9 +67,6 @@
/* Define to 1 if your gpg-error has GPG_ERR_ALREADY_SIGNED */
#cmakedefine HAVE_GPG_ERR_ALREADY_SIGNED 1
-#ifndef HAVE_GPG_ERR_NO_PASSPHRASE
-# define GPG_ERR_NO_PASSPHRASE GPG_ERR_INV_PASSPHRASE
-#endif
#ifndef HAVE_GPG_ERR_ALREADY_SIGNED
# define GPG_ERR_ALREADY_SIGNED GPG_ERR_USER_1