Accepting request 125670 from home:a_jaeger:devel-glibc
Include correct headers for getrlimit. OBS-URL: https://build.opensuse.org/request/show/125670 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=90
This commit is contained in:
parent
eded56e30d
commit
73ec5dd486
25
pam-fix-includes.patch
Normal file
25
pam-fix-includes.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
|
||||||
|
===================================================================
|
||||||
|
--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_acct.c
|
||||||
|
+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
|
||||||
|
@@ -47,6 +47,8 @@
|
||||||
|
#include <time.h> /* for time() */
|
||||||
|
#include <errno.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
+#include <sys/time.h>
|
||||||
|
+#include <sys/resource.h>
|
||||||
|
|
||||||
|
#include <security/_pam_macros.h>
|
||||||
|
|
||||||
|
Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c
|
||||||
|
===================================================================
|
||||||
|
--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_passwd.c
|
||||||
|
+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c
|
||||||
|
@@ -54,6 +54,7 @@
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
+#include <sys/resource.h>
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
|
#include <errno.h>
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 21 11:59:52 UTC 2012 - aj@suse.de
|
||||||
|
|
||||||
|
- Include correct headers for getrlimit.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 23 15:30:02 UTC 2012 - jengelh@medozas.de
|
Mon Apr 23 15:30:02 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
2
pam.spec
2
pam.spec
@ -57,6 +57,7 @@ Source7: common-session.pamd
|
|||||||
Source8: etc.environment
|
Source8: etc.environment
|
||||||
Source9: baselibs.conf
|
Source9: baselibs.conf
|
||||||
Patch0: pam_tally-deprecated.diff
|
Patch0: pam_tally-deprecated.diff
|
||||||
|
Patch1: pam-fix-includes.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -106,6 +107,7 @@ building both PAM-aware applications and modules for use with PAM.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Linux-PAM-%{version} -b 1
|
%setup -q -n Linux-PAM-%{version} -b 1
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -DNDEBUG"
|
export CFLAGS="%optflags -DNDEBUG"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user