Page MenuHomeFreeBSD

D9253.diff
No OneTemporary

D9253.diff

Index: head/devel/py-pykde4/Makefile
===================================================================
--- head/devel/py-pykde4/Makefile
+++ head/devel/py-pykde4/Makefile
@@ -2,7 +2,7 @@
PORTNAME= pykde4
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel kde kde-kde4 python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Index: head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip
===================================================================
--- head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip
+++ head/devel/py-pykde4/files/patch-sip_phonon_abstractvideodataoutput.sip
@@ -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);
+
Index: head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip
===================================================================
--- head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip
+++ head/devel/py-pykde4/files/patch-sip_solid_powermanagement.sip
@@ -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);
+
Index: head/devel/py-pykde4/files/patch-sip_solid_predicate.sip
===================================================================
--- head/devel/py-pykde4/files/patch-sip_solid_predicate.sip
+++ head/devel/py-pykde4/files/patch-sip_solid_predicate.sip
@@ -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);
+

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 30, 1:04 AM (16 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26369334
Default Alt Text
D9253.diff (2 KB)

Event Timeline