Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
python-gpgme
> pygpgme-0.1-py23.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pygpgme-0.1-py23.patch of Package python-gpgme
--- 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 {