diff options
Diffstat (limited to 'graphics/py-python-poppler-qt5/files/patch-version.sip.in')
-rw-r--r-- | graphics/py-python-poppler-qt5/files/patch-version.sip.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/py-python-poppler-qt5/files/patch-version.sip.in b/graphics/py-python-poppler-qt5/files/patch-version.sip.in new file mode 100644 index 000000000000..e09774be5c66 --- /dev/null +++ b/graphics/py-python-poppler-qt5/files/patch-version.sip.in @@ -0,0 +1,26 @@ +From https://github.com/frescobaldi/python-poppler-qt5/pull/41/commits/4ee58b6ee02772db915fdc5e70e336e0e5b2f34c + +--- version.sip.in.orig 2020-10-11 18:59:42 UTC ++++ version.sip.in +@@ -0,0 +1,21 @@ ++// Generated by project.py -- Do not edit ++ ++PyObject *version(); ++%Docstring ++The version of the popplerqt5 python module. ++%End ++ ++PyObject *poppler_version(); ++%Docstring ++The version of the Poppler library it was built with. ++%End ++ ++%ModuleCode ++ ++PyObject *version() ++{{ return Py_BuildValue("({vlen})", {vargs}); }}; ++ ++PyObject *poppler_version() ++{{ return Py_BuildValue("({pvlen})", {pvargs}); }}; ++ ++%End |