From 5bc77ee8c26b8a9d4dfeb2026b331aec58089e9a Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Thu, 26 Sep 2019 18:43:37 +0000 Subject: graphics/py-python-poppler-qt5: Fix build on i386 PR: 240817 Submitted by: m.ne@gmx.net (maintainer) --- graphics/py-python-poppler-qt5/files/patch-types.sip | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 graphics/py-python-poppler-qt5/files/patch-types.sip (limited to 'graphics/py-python-poppler-qt5/files') diff --git a/graphics/py-python-poppler-qt5/files/patch-types.sip b/graphics/py-python-poppler-qt5/files/patch-types.sip new file mode 100644 index 000000000000..a4bd31d38ad0 --- /dev/null +++ b/graphics/py-python-poppler-qt5/files/patch-types.sip @@ -0,0 +1,18 @@ +--- types.sip.orig 2019-09-18 15:22:50 UTC ++++ types.sip +@@ -266,13 +266,13 @@ template + + if (sipPy == Py_None) + { +- *sipCppPtr = new long(); ++ *sipCppPtr = new time_t(); + return 1; + } + + if (PyLong_Check(sipPy)) + { +- *sipCppPtr = new long(PyLong_AsLong(sipPy)); ++ *sipCppPtr = new time_t(PyLong_AsLong(sipPy)); + return 1; + } + return 0; -- cgit v1.2.3