[89232] trunk/dports/python/py26-pygpgme

afb at macports.org afb at macports.org
Sat Jan 21 13:27:31 PST 2012


Revision: 89232
          http://trac.macports.org/changeset/89232
Author:   afb at macports.org
Date:     2012-01-21 13:27:26 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
py26-pygpgme: work with newer libgpgme (#32794)

Modified Paths:
--------------
    trunk/dports/python/py26-pygpgme/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-pygpgme/files/
    trunk/dports/python/py26-pygpgme/files/patch-pygpgme-context.c

Modified: trunk/dports/python/py26-pygpgme/Portfile
===================================================================
--- trunk/dports/python/py26-pygpgme/Portfile	2012-01-21 20:43:00 UTC (rev 89231)
+++ trunk/dports/python/py26-pygpgme/Portfile	2012-01-21 21:27:26 UTC (rev 89232)
@@ -5,6 +5,7 @@
 
 name			py26-pygpgme
 version			0.1
+revision		1
 platforms		darwin
 license			LGPL
 categories		python
@@ -22,4 +23,6 @@
 
 depends_lib-append	port:gpgme
 
+patchfiles		patch-pygpgme-context.c
+
 post-destroot		{ delete "${destroot}/${python.pkgd}/gpgme/tests" }

Added: trunk/dports/python/py26-pygpgme/files/patch-pygpgme-context.c
===================================================================
--- trunk/dports/python/py26-pygpgme/files/patch-pygpgme-context.c	                        (rev 0)
+++ trunk/dports/python/py26-pygpgme/files/patch-pygpgme-context.c	2012-01-21 21:27:26 UTC (rev 89232)
@@ -0,0 +1,11 @@
+--- ./src/pygpgme-context.c.orig	2006-02-14 05:05:15.000000000 +0100
++++ ./src/pygpgme-context.c	2010-05-19 09:37:51.000000000 +0200
+@@ -92,6 +92,8 @@ pygpgme_context_init(PyGpgmeContext *sel
+         return -1;
+     }
+ 
++    gpgme_check_version(NULL);
++
+     if (pygpgme_check_error(gpgme_new(&self->ctx)))
+         return -1;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/6f53f15e/attachment.html>


More information about the macports-changes mailing list