Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/lvm2/files: lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch
Date: Sun, 29 Nov 2009 23:44:29
Message-Id: E1NEtRJ-0002k1-7S@stork.gentoo.org
1 robbat2 09/11/29 23:44:25
2
3 Added: lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch
4 Log:
5 Try a different combined fix for bug #291217 (selinux compile) and bug #293272 (parallel compile fix) that should work better than the previous revisions.
6 (Portage version: 2.2_rc51/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-fs/lvm2/files/lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch?rev=1.1&content-type=text/plain
13
14 Index: lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch
15 ===================================================================
16 diff -Nuar LVM2.2.02.51.orig/tools/Makefile.in LVM2.2.02.51/tools/Makefile.in
17 --- LVM2.2.02.51.orig/tools/Makefile.in 2009-11-29 22:41:54.008495958 +0000
18 +++ LVM2.2.02.51/tools/Makefile.in 2009-11-29 22:44:40.207625943 +0000
19 @@ -98,6 +98,7 @@
20 endif
21
22 LVMLIBS += -ldevmapper
23 +SELINUX_LIBS += @SELINUX_LIBS@
24
25 DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\"
26
27 @@ -109,13 +110,13 @@
28 $(CC) $(CFLAGS) $(LDFLAGS) \
29 -L$(top_srcdir)/libdm \
30 -o $@ dmsetup.o \
31 - -ldevmapper $(LIB_PTHREAD)
32 + -ldevmapper $(SELINUX_LIBS) $(LIB_PTHREAD)
33
34 dmsetup.static: dmsetup.o $(interfacedir)/libdevmapper.a
35 $(CC) $(CFLAGS) $(LDFLAGS) -static \
36 -L$(interfacedir) \
37 -o $@ dmsetup.o \
38 - -ldevmapper $(LIB_PTHREAD)
39 + -ldevmapper $(SELINUX_LIBS) $(LIB_PTHREAD)
40
41 all: device-mapper