[git] GPGME - branch, master, updated. gpgme-1.10.0-179-g60d7a1e

by Werner Koch cvs at cvs.gnupg.org
Thu Mar 29 15:13:39 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  60d7a1e8f625ea0db455bff989534dd52f0650c7 (commit)
      from  75a1a1c33efe952986bba56494b81e2f4835b8c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 60d7a1e8f625ea0db455bff989534dd52f0650c7
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Mar 29 15:06:47 2018 +0200

    json: Build only a dummy if libgpg-error is < 1.28
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index 5f16daf..b54d9a8 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -41,6 +41,10 @@
 #include "cJSON.h"
 
 
+#if GPGRT_VERSION_NUMBER < 0x011c00 /* 1.28 */
+int main (void){fputs ("Build with Libgpg-error >= 1.28!\n", stderr);return 1;}
+#else /* libgpg-error >= 1.28 */
+
 /* We don't allow a request with more than 64 MiB.  */
 #define MAX_REQUEST_SIZE (64 * 1024 * 1024)
 
@@ -1369,3 +1373,4 @@ main (int argc, char *argv[])
 #endif /* This is a modern libgp-error.  */
   return 0;
 }
+#endif /* libgpg-error >= 1.28 */

-----------------------------------------------------------------------

Summary of changes:
 src/gpgme-json.c | 5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list