Hu
841c1458f2
from check_packages as we don't require it to be selinux-ready. OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=176
23 lines
781 B
Diff
23 lines
781 B
Diff
Index: libselinux-3.7/src/selinuxswig_python.i
|
|
===================================================================
|
|
--- libselinux-3.7.orig/src/selinuxswig_python.i
|
|
+++ libselinux-3.7/src/selinuxswig_python.i
|
|
@@ -71,7 +71,7 @@ def install(src, dest):
|
|
for (i = 0; i < *$2; i++) {
|
|
PyList_SetItem(list, i, PyString_FromString((*$1)[i]));
|
|
}
|
|
- $result = SWIG_Python_AppendOutput($result, list);
|
|
+ $result = SWIG_Python_AppendOutput($result, list, $isvoid);
|
|
}
|
|
|
|
/* return a sid along with the result */
|
|
@@ -108,7 +108,7 @@ def install(src, dest):
|
|
plist = PyList_New(0);
|
|
}
|
|
|
|
- $result = SWIG_Python_AppendOutput($result, plist);
|
|
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
|
|
}
|
|
|
|
/* Makes functions in get_context_list.h return a Python list of contexts */
|