Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/pecl-gnupg/Makefile,v --- Makefile 15 Jul 2009 16:47:45 -0000 1.9 +++ Makefile 4 Jan 2010 17:10:45 -0000 @@ -7,7 +7,7 @@ PORTNAME= gnupg PORTVERSION= 1.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- Index: files/patch-gnupg.c =================================================================== RCS file: files/patch-gnupg.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-gnupg.c 4 Jan 2010 17:10:31 -0000 @@ -0,0 +1,10 @@ +--- gnupg.c.orig 2010-01-04 18:08:52.000000000 +0100 ++++ gnupg.c 2010-01-04 18:09:14.000000000 +0100 +@@ -136,6 +136,7 @@ + static void gnupg_res_init(gnupg_object *intern TSRMLS_DC){ + /* init the gpgme-lib and set the default values */ + gpgme_ctx_t ctx; ++ gpgme_check_version (0); + gpgme_new (&ctx); + gpgme_set_armor (ctx,1); + intern->ctx = ctx;