Index: head/devel/py-pykde4/Makefile =================================================================== --- head/devel/py-pykde4/Makefile (revision 431948) +++ head/devel/py-pykde4/Makefile (revision 431949) @@ -1,49 +1,49 @@ # $FreeBSD$ PORTNAME= pykde4 PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel kde kde-kde4 python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for KDE LIB_DEPENDS= libqwt.so:x11-toolkits/qwt5 USES= cmake:outsource kde:4 python:2 pyqt:4 tar:xz USE_KDE= kdelibs nepomuk-core okular pimlibs \ akonadi automoc4 soprano USE_PYQT= declarative designer gui network opengl phonon script sip \ sql svg webkit xml \ dbussupport_run USE_QT4= corelib dbus designer_build gui network xml \ qmake_build moc_build uic_build rcc_build CMAKE_ARGS+= -DWITH_PolkitQt:BOOL=FALSE \ -DENABLE_PYTHON=ON \ -DPYTHON_INCLUDE_DIR:PATH=${WRKDIR}/include/${PYTHON_VERSION} SUB_FILES= kdebindings4.pth SUB_LIST= PYTHONPREFIX_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} PLIST_SUB+= SIPDIR=share/sip OPTIONS_DEFINE= EXAMPLES post-patch: ${FIND} -d ${PATCH_WRKSRC}/sip -name "*.orig" -delete pre-configure: ${REINPLACE_CMD} -e '/add_subdirectory(examples)/ d' \ -e '/add_subdirectory(tools)/ d' \ ${WRKSRC}/CMakeLists.txt ${RM} ${WRKSRC}/examples/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKDIR}/kdebindings4.pth ${STAGEDIR}${PYTHON_SITELIBDIR} .include Index: head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip =================================================================== --- head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip (nonexistent) +++ head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip (revision 431949) @@ -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. + +--- sip/phonon/abstractvideodataoutput.sip.orig 2014-08-14 20:17:11 UTC ++++ sip/phonon/abstractvideodataoutput.sip +@@ -72,7 +72,7 @@ protected: + foreach (Phonon::Experimental::VideoFrame2::Format value, set) + { + PyObject *obj = PyInt_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: head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1,2 ## +yes +\ No newline at end of property \ 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: head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip =================================================================== --- head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip (nonexistent) +++ head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip (revision 431949) @@ -0,0 +1,13 @@ +See patch-sip_phonon_abstractvideodataoutput.sip + +--- sip/solid/powermanagement.sip.orig 2014-08-14 20:17:11 UTC ++++ sip/solid/powermanagement.sip +@@ -83,7 +83,7 @@ bool stopSuppressingS + #else + PyObject *obj = PyInt_FromLong ((long) value); + #endif +- 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: head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1,2 ## +yes +\ No newline at end of property \ 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: head/devel/py-pykde4/files/patch-sip_solid_predicate.sip =================================================================== --- head/devel/py-pykde4/files/patch-sip_solid_predicate.sip (nonexistent) +++ head/devel/py-pykde4/files/patch-sip_solid_predicate.sip (revision 431949) @@ -0,0 +1,13 @@ +See patch-sip_phonon_abstractvideodataoutput.sip + +--- sip/solid/predicate.sip.orig 2014-08-14 20:17:11 UTC ++++ sip/solid/predicate.sip +@@ -112,7 +112,7 @@ Py_BEGIN_ALLOW_THREADS + #else + PyObject *obj = PyInt_FromLong ((long) value); + #endif +- 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: head/devel/py-pykde4/files/patch-sip_solid_predicate.sip ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1,2 ## +yes +\ No newline at end of property \ 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