- fix build with new autoconf
This commit is contained in:
parent
afb096a17d
commit
3be955e71c
22
pam-1.0.1-autoreconf.patch
Normal file
22
pam-1.0.1-autoreconf.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -up Linux-PAM-1.0.1/configure.in.autoreconf Linux-PAM-1.0.1/configure.in
|
||||
--- Linux-PAM-1.0.1/configure.in.autoreconf 2008-05-19 17:45:00.000000000 +0200
|
||||
+++ Linux-PAM-1.0.1/configure.in 2008-05-20 15:24:54.000000000 +0200
|
||||
@@ -72,7 +72,7 @@ fi
|
||||
AM_CONDITIONAL([STATIC_MODULES], [test "$STATIC_MODULES" != "no"])
|
||||
|
||||
dnl Checks for programs.
|
||||
-AC_GNU_SOURCE
|
||||
+AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_PROG_CC
|
||||
AC_PROG_YACC
|
||||
AM_PROG_LEX
|
||||
@@ -491,8 +491,7 @@ AM_GNU_GETTEXT_VERSION
|
||||
AM_GNU_GETTEXT([external])
|
||||
AC_CHECK_FUNCS(dngettext)
|
||||
|
||||
-AH_VERBATIM([_ZZENABLE_NLS],
|
||||
-[#ifdef ENABLE_NLS
|
||||
+AH_BOTTOM([#ifdef ENABLE_NLS
|
||||
#include <libintl.h>
|
||||
#define _(msgid) dgettext(PACKAGE, msgid)
|
||||
#define N_(msgid) msgid
|
5
pam.spec
5
pam.spec
@ -25,6 +25,7 @@ Source11: 90-nproc.conf
|
||||
Patch1: pam-0.99.7.0-redhat-modules.patch
|
||||
Patch2: db-4.6.18-glibc.patch
|
||||
Patch4: pam-0.99.8.1-dbpam.patch
|
||||
Patch5: pam-1.0.1-autoreconf.patch
|
||||
Patch10: pam-1.0.0-sepermit-screensaver.patch
|
||||
Patch11: pam-1.0.1-selinux-restore-execcon.patch
|
||||
Patch12: pam-1.0.0-selinux-env-params.patch
|
||||
@ -103,6 +104,7 @@ pushd db-%{db_version}
|
||||
%patch2 -p1 -b .db4-glibc
|
||||
popd
|
||||
%patch4 -p1 -b .dbpam
|
||||
%patch5 -p1 -b .autoreconf
|
||||
%patch10 -p1 -b .screensaver
|
||||
%patch11 -p1 -b .restore-execcon
|
||||
%patch12 -p0 -b .env-params
|
||||
@ -378,8 +380,9 @@ fi
|
||||
%doc doc/adg/*.txt doc/adg/html
|
||||
|
||||
%changelog
|
||||
* Mon May 19 2008 Tomas Mraz <tmraz@redhat.com> 1.0.1-3
|
||||
* Tue May 20 2008 Tomas Mraz <tmraz@redhat.com> 1.0.1-3
|
||||
- pam_selinux: add env_params option which will be used by OpenSSH
|
||||
- fix build with new autoconf
|
||||
|
||||
* Tue Apr 22 2008 Tomas Mraz <tmraz@redhat.com> 1.0.1-2
|
||||
- pam_selinux: restore execcon properly (#443667)
|
||||
|
Loading…
Reference in New Issue
Block a user