libselinux-rhat.patch changes struct selinux_opt from { int, char* } to { int, union { char*, char** }}. This causes code in the following form to fail when -Werror=missing-braces is in the CFLAGS. struct selinux_opt selabel_option = { SELABEL_OPT_VALIDATE, (char *)1 }; xselinux_hooks.c: In function 'SELinuxFlaskInit': xselinux_hooks.c:851:12: error: missing braces around initializer [-Werror=missing-braces] xselinux_hooks.c:851:12: error: (near initialization for 'avc_option.<anonymous>') [-Werror=missing-braces] cc1: some warnings being treated as errors Example taken from the X server, we just switched to -Werror=missing-braces. The hard bit was tracking this down since all the man pages still refer to the old struct form (and I could only trigger the error on koji at first), and my F16 machine has the old struct. Not sure if you want to do anything about it, but if this is a long-standing patch, updating the man pages would be useful.
Created attachment 550708 [details] How does this look?
Fixed in libselinux-2.1.9-2.fc17