diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-09-27 02:43:37 +0800 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-09-27 02:43:37 +0800 |
commit | 5bc77ee8c26b8a9d4dfeb2026b331aec58089e9a (patch) | |
tree | b16dc51b079e8cf3f55bc587b2eec1655b159621 /graphics | |
parent | 37421c08c34bb98753873ccf7a6590d8f819458a (diff) | |
download | freebsd-ports-gnome-5bc77ee8c26b8a9d4dfeb2026b331aec58089e9a.tar.gz freebsd-ports-gnome-5bc77ee8c26b8a9d4dfeb2026b331aec58089e9a.tar.zst freebsd-ports-gnome-5bc77ee8c26b8a9d4dfeb2026b331aec58089e9a.zip |
graphics/py-python-poppler-qt5: Fix build on i386
PR: 240817
Submitted by: m.ne@gmx.net (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-python-poppler-qt5/files/patch-types.sip | 18 |
1 files changed, 18 insertions, 0 deletions
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 <TYPE> + + 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; |