summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/shadow/files/shadow-4.0.4.1-selinux.diff')
-rw-r--r--sys-apps/shadow/files/shadow-4.0.4.1-selinux.diff14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys-apps/shadow/files/shadow-4.0.4.1-selinux.diff b/sys-apps/shadow/files/shadow-4.0.4.1-selinux.diff
index c2a15f80fd20..678f40a4c064 100644
--- a/sys-apps/shadow/files/shadow-4.0.4.1-selinux.diff
+++ b/sys-apps/shadow/files/shadow-4.0.4.1-selinux.diff
@@ -10,6 +10,18 @@ diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am
INCLUDES =
lib_LTLIBRARIES = libshadow.la
+diff -urN shadow-4.0.3.orig/lib/Makefile.in shadow-4.0.3/lib/Makefile.in
+--- shadow-4.0.3.orig/lib/Makefile.in 2004-01-14 16:15:26.000000000 +0200
++++ shadow-4.0.3/lib/Makefile.in 2004-07-03 21:34:31.815854072 +0300
+@@ -56,7 +56,7 @@
+ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+
+-DEFS =
++DEFS = -DWITH_SELINUX
+ DEPDIR = @DEPDIR@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c
--- shadow-4.0.3.orig/lib/commonio.c 2001-11-17 07:15:52.000000000 -0600
+++ shadow-4.0.3/lib/commonio.c 2003-08-07 08:38:20.000000000 -0500
@@ -110,7 +122,7 @@ diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h
--- shadow-4.0.3.orig/lib/commonio.h 2001-08-14 16:09:54.000000000 -0500
+++ shadow-4.0.3/lib/commonio.h 2003-08-07 08:38:20.000000000 -0500
@@ -1,5 +1,8 @@
- /* $Id: shadow-4.0.4.1-selinux.diff,v 1.1 2004/01/23 19:51:06 pebenito Exp $ */
+ /* $Id: shadow-4.0.4.1-selinux.diff,v 1.1.1.1 2005/11/30 09:57:05 chriswhite Exp $ */
+#ifdef WITH_SELINUX
+#include <selinux/selinux.h>