-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5D498ACgkQrlYvE4MpobN1agCdFdjzcNroXD07kbTkBnEsPsqo iDsAoJz1buB7mx/QvgnW3/85oeN1Mrto =pR3w -----END PGP SIGNATURE-----
>From 34e323b00283eb82746d6128c92f5e1e7eee05a2 Mon Sep 17 00:00:00 2001 From: Eric Paris <eparis@xxxxxxxxxx> Date: Wed, 3 Aug 2011 14:02:37 -0400 Subject: [PATCH 06/96] libselinux: audit2why: work around python bug not defining SIZEOF_SOCKET_T A at least one broken python headers didn't define SIZEOF_SOCKET_T. Define it if we happen upon one of those. Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- libselinux/src/audit2why.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libselinux/src/audit2why.c b/libselinux/src/audit2why.c index b937606..62ba02c 100644 --- a/libselinux/src/audit2why.c +++ b/libselinux/src/audit2why.c @@ -1,3 +1,8 @@ +/* Workaround for http://bugs.python.org/issue4835 */ +#ifndef SIZEOF_SOCKET_T +#define SIZEOF_SOCKET_T SIZEOF_INT +#endif + #include <Python.h> #include <unistd.h> #include <stdlib.h> -- 1.7.6
Attachment:
0006-libselinux-audit2why-work-around-python-bug-not-defi.patch.sig
Description: PGP signature