$OpenBSD: patch-sip_solid_powermanagement_sip,v 1.1 2017/05/24 10:29:40 espie Exp $
confusion between the "void" macro and the int function

Index: sip/solid/powermanagement.sip
--- sip/solid/powermanagement.sip.orig
+++ sip/solid/powermanagement.sip
@@ -83,7 +83,7 @@ bool                    stopSuppressingScreenPowerMana
 #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);
 
