retitle 396655 coreutils: FTBFS on hurd and kfreebsd: Unguarded usage of 
SELinux code
tags 396655 + patch
thanks

The same problem applies also for kfreebsd, see
http://experimental.ftbfs.de/build.php?&pkg=coreutils&ver=5.97-5.1&arch=kfreebsd-i386&file=log

Easiest way to fix this is to apply following hack/patch.
Thanks in advance

                        Petr


diff -u coreutils-5.97/debian/patches/55_coreutils-selinux.patch coreutils-5.97/debian/patches/55_coreutils-selinux.patch
--- coreutils-5.97/debian/patches/55_coreutils-selinux.patch
+++ coreutils-5.97/debian/patches/55_coreutils-selinux.patch
@@ -1009,7 +1009,7 @@
    bool preserve_ownership;
    bool preserve_mode;
    bool preserve_timestamps;
-+#ifdef WITH_SELINUX
++#if 1
 +  bool preserve_security_context;
 +  bool set_security_context;
 +#endif



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to