Hello there!
By default shadow fails to compile when ACL & ATTR is enabled.
The problem is a missing header in libmisc/copydir.c.
If you apply the attached patch you won't have to issue --without-acl
and --without-attr.
I hope you like my tiny patch :)
KT
Submitted By: Konstantinos Tamateas <[email protected]>
Date: 2012-03-14
Initial Package Version: 4.1.5
Upstream Status: From upstream
Origin: Upstream
Description: Allows shadow to be compiled with ACL and ATTR support
--- shadow-4.1.5/libmisc/copydir.c 2012-03-14 16:20:28.000000000 +0200
+++ shadow-4.1.5/libmisc/copydir-patched.c 2012-03-14 16:20:14.000000000
+0200
@@ -40,6 +40,7 @@
#include <sys/time.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdarg.h>
#include "prototypes.h"
#include "defines.h"
#ifdef WITH_SELINUX
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page