svn commit: r512979 - head/graphics/py-python-poppler-qt5/files

Steve Wills swills at FreeBSD.org
Thu Sep 26 18:43:37 UTC 2019


Author: swills
Date: Thu Sep 26 18:43:37 2019
New Revision: 512979
URL: https://svnweb.freebsd.org/changeset/ports/512979

Log:
  graphics/py-python-poppler-qt5: Fix build on i386
  
  PR:		240817
  Submitted by:	m.ne at gmx.net (maintainer)

Added:
  head/graphics/py-python-poppler-qt5/files/
  head/graphics/py-python-poppler-qt5/files/patch-types.sip   (contents, props changed)

Added: head/graphics/py-python-poppler-qt5/files/patch-types.sip
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-python-poppler-qt5/files/patch-types.sip	Thu Sep 26 18:43:37 2019	(r512979)
@@ -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;


More information about the svn-ports-all mailing list