Changes of Revision 4
[-] [+] | Added | pygpgme-0.1-py23.patch |
@@ -0,0 +1,14 @@ +--- pygpgme-0.1/src/pygpgme.h.py23 2006-10-13 09:21:33.000000000 -0700 ++++ pygpgme-0.1/src/pygpgme.h 2006-10-13 09:22:41.000000000 -0700 +@@ -23,6 +23,11 @@ + #include <Python.h> + #include <gpgme.h> + ++/* For python 2.3 compatibility */ ++#ifndef Py_RETURN_NONE ++#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None ++#endif ++ + #define HIDDEN __attribute__((visibility("hidden"))) + + typedef struct { |