summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-28 14:22:58 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-28 14:23:15 -0500
commit50702829bf5ca222f473c2e19e4f64fb48960c69 (patch)
treea1b3b3f282f6ad74f8382ba6079000aa9daa840e /sys-libs/pwdb
parentgnome-extra/gnome-characters: Ensure all prepare phases are run (diff)
downloadgentoo-50702829bf5ca222f473c2e19e4f64fb48960c69.tar.gz
gentoo-50702829bf5ca222f473c2e19e4f64fb48960c69.tar.bz2
gentoo-50702829bf5ca222f473c2e19e4f64fb48960c69.zip
sys-libs/pwdb: update selinux patch #575882
Diffstat (limited to 'sys-libs/pwdb')
-rw-r--r--sys-libs/pwdb/files/pwdb-0.62-selinux.patch12
1 files 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 c31579cc8d98..106be5645176 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)