Index: branches/2017Q1/graphics/py-poppler-qt4/Makefile =================================================================== --- branches/2017Q1/graphics/py-poppler-qt4/Makefile (revision 432288) +++ branches/2017Q1/graphics/py-poppler-qt4/Makefile (revision 432289) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= poppler-qt4 PORTVERSION= 0.18.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= martin.dieringer@gmx.de COMMENT= Python bindings for the Poppler-Qt4 PDF rendering library LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual BUILD_DEPENDS= sip:devel/py-sip \ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:x11-toolkits/py-qt4-gui \ ${PYTHON_PKGNAMEPREFIX}qt4-xml>=0:textproc/py-qt4-xml LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:x11-toolkits/py-qt4-gui \ ${PYTHON_PKGNAMEPREFIX}qt4-xml>=0:textproc/py-qt4-xml USES= pkgconfig python USE_PYTHON= distutils autoplist .include Index: branches/2017Q1/graphics/py-poppler-qt4/files/patch-types.sip =================================================================== --- branches/2017Q1/graphics/py-poppler-qt4/files/patch-types.sip (nonexistent) +++ branches/2017Q1/graphics/py-poppler-qt4/files/patch-types.sip (revision 432289) @@ -0,0 +1,16 @@ +PyList_SET_ITEM() is supposed to be void, but as a macro it's an +expression and has a pointer value. Clang 4.0 trips on the bogus +pointer comparison; given the comparison, it should be PyList_SetItem() +which returns -1 on failure. + +--- types.sip.orig 2017-01-21 07:19:29 UTC ++++ types.sip +@@ -27,7 +27,7 @@ + foreach (Poppler::Document::RenderBackend value, set) + { + PyObject *obj = PyLong_FromLong ((long) value); +- if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0) ++ if (obj == NULL || PyList_SetItem (l, i, obj) < 0) + { + Py_DECREF(l); + Property changes on: branches/2017Q1/graphics/py-poppler-qt4/files/patch-types.sip ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2017Q1 =================================================================== --- branches/2017Q1 (revision 432288) +++ branches/2017Q1 (revision 432289) Property changes on: branches/2017Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r432089