This probably should be a sed in shadow.

   -- Bruce


-------- Original Message --------
Subject: [lfs-patches] shadow-4.1.5 copydir.c patch!
Date: Wed, 14 Mar 2012 14:47:24 +0200
From: Kostas Tamateas <[email protected]>
To: [email protected]

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 :)


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/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to