commit:     50702829bf5ca222f473c2e19e4f64fb48960c69
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 19:22:58 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 19:23:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50702829

sys-libs/pwdb: update selinux patch #575882

 sys-libs/pwdb/files/pwdb-0.62-selinux.patch | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-libs/pwdb/files/pwdb-0.62-selinux.patch 
b/sys-libs/pwdb/files/pwdb-0.62-selinux.patch
index c31579c..106be56 100644
--- a/sys-libs/pwdb/files/pwdb-0.62-selinux.patch
+++ b/sys-libs/pwdb/files/pwdb-0.62-selinux.patch
@@ -433,13 +433,11 @@
  
  CFLAGS+=# -DDEBUG
  
-@@ -50,6 +50,6 @@ all: $(LIBSTATIC) $(LIBDYNAME) 
+@@ -50,6 +50,7 @@
  
+ all: $(LIBSTATIC) $(LIBDYNAME) 
  
- $(LIBDYNAME): $(LIBOBJ)
--      $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o 
$(LIBFILENAME) $(LIBOBJ)  -lcrypt -lnsl -lc
-+      $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o 
$(LIBFILENAME) $(LIBOBJ)  -lcrypt -lnsl -lc -lselinux
-       @ln -sf $(LIBFILENAME) $@
++$(LIBDYNAME): LDLIBS += -lselinux
  
- $(LIBSTATIC): $(LIBOBJ)
-       $(AR) $@ $(LIBOBJ)
+ $(LIBDYNAME): $(LIBOBJ)
+       $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o 
$(LIBFILENAME) $(LIBOBJ)  -lcrypt -lnsl $(LDLIBS)

Reply via email to