Package: libcap2 / 1:2.24-8

0001-ldlibs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Andrew Straw <strawman@astraw.com>
Date: Fri, 20 May 2011 08:28:55 -0500
Subject: compile pam_cap with -lpam

A similar fix was in Debian but appears to have been accidentally
dropped. Drop this one if or when debian gets it back so we can
directly sync (Closes: #591410).

Last-Update: 2014-07-26

diff -Naurp libcap2.orig/pam_cap/Makefile libcap2/pam_cap/Makefile
--- libcap2.orig/pam_cap/Makefile
+++ libcap2/pam_cap/Makefile
@@ -7,7 +7,7 @@ include ../Make.Rules
 # that this next line does *not* require -lpam on it.) If you think it
 # does, *verify that it does*, and if you observe that it fails as
 # written (and you know why it fails), email me and explain why. Thanks!
-LDLIBS += -L../libcap -lcap
+LDLIBS += -L../libcap -lcap -lpam
 
 all: pam_cap.so
 	$(MAKE) testcompile