Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/libcap/files: libcap-2.20-build-system-fixes.patch
Date: Wed, 26 Jan 2011 03:32:01
Message-Id: 20110126033149.979E320057@flycatcher.gentoo.org
1 vapier 11/01/26 03:31:49
2
3 Modified: libcap-2.20-build-system-fixes.patch
4 Log:
5 Also build pam module with -fPIC #352758 by Seemant Kulleen.
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sys-libs/libcap/files/libcap-2.20-build-system-fixes.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/files/libcap-2.20-build-system-fixes.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/files/libcap-2.20-build-system-fixes.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/files/libcap-2.20-build-system-fixes.patch?r1=1.1&r2=1.2
15
16 Index: libcap-2.20-build-system-fixes.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/libcap/files/libcap-2.20-build-system-fixes.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- libcap-2.20-build-system-fixes.patch 25 Jan 2011 21:00:58 -0000 1.1
23 +++ libcap-2.20-build-system-fixes.patch 26 Jan 2011 03:31:49 -0000 1.2
24 @@ -1,4 +1,4 @@
25 -From bb4491059b315433a421e8fd37286f1a0077fd1e Mon Sep 17 00:00:00 2001
26 +From 5540f3c2a3bd70ebc8140b74ac5a0aecdbc53234 Mon Sep 17 00:00:00 2001
27 From: Mike Frysinger <vapier@g.o>
28 Date: Sun, 16 Nov 2008 09:10:31 -0500
29 Subject: [PATCH] build system fixes
30 @@ -16,9 +16,9 @@
31 ---
32 Make.Rules | 25 +++++++++++++------------
33 libcap/Makefile | 11 ++++++-----
34 - pam_cap/Makefile | 6 +++---
35 + pam_cap/Makefile | 8 +++++---
36 progs/Makefile | 2 +-
37 - 4 files changed, 23 insertions(+), 21 deletions(-)
38 + 4 files changed, 25 insertions(+), 21 deletions(-)
39
40 diff --git a/Make.Rules b/Make.Rules
41 index 011aa14..6e432a6 100644
42 @@ -115,10 +115,19 @@
43 install: all
44 mkdir -p -m 0755 $(INCDIR)/sys
45 diff --git a/pam_cap/Makefile b/pam_cap/Makefile
46 -index 9ca5bef..be49338 100644
47 +index 9ca5bef..bdae933 100644
48 --- a/pam_cap/Makefile
49 +++ b/pam_cap/Makefile
50 -@@ -17,13 +17,13 @@ install: all
51 +@@ -9,6 +9,8 @@ include ../Make.Rules
52 + # written (and you know why it fails), email me and explain why. Thanks!
53 + LDLIBS += -L../libcap -lcap
54 +
55 ++CFLAGS += -fPIC
56 ++
57 + all: pam_cap.so
58 + $(MAKE) testcompile
59 +
60 +@@ -17,13 +19,13 @@ install: all
61 install -m 0755 pam_cap.so $(LIBDIR)/security
62
63 pam_cap.so: pam_cap.o