Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2019 18:43:37 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512979 - head/graphics/py-python-poppler-qt5/files
Message-ID:  <201909261843.x8QIhb4L071966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909261843.x8QIhb4L071966>