summaryrefslogtreecommitdiff
path: root/package/pam/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-24 13:54:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-24 13:55:01 +0200
commit086da7a91ef0a4fbf5ae524923475ae15e7e6f37 (patch)
treecde58004a1949848e75f441178cc679d6eb9cddd /package/pam/patches
parentf5f34fe0e16239f40270b1babb002e8aec3d3fed (diff)
fix build with ssp enabled
Diffstat (limited to 'package/pam/patches')
-rw-r--r--package/pam/patches/patch-configure_in16
-rw-r--r--package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c4
-rw-r--r--package/pam/patches/patch-modules_pam_time_pam_time_c4
3 files changed, 20 insertions, 4 deletions
diff --git a/package/pam/patches/patch-configure_in b/package/pam/patches/patch-configure_in
new file mode 100644
index 000000000..499ecc705
--- /dev/null
+++ b/package/pam/patches/patch-configure_in
@@ -0,0 +1,16 @@
+--- Linux-PAM-1.1.8.orig/configure.in 2013-09-18 14:30:13.000000000 +0200
++++ Linux-PAM-1.1.8/configure.in 2014-05-24 11:00:07.000000000 +0200
+@@ -28,12 +28,7 @@ dnl If we use /usr as prefix, use /etc f
+ fi
+ if test ${libdir} = '${exec_prefix}/lib'
+ then
+- case "`uname -m`" in
+- x86_64|ppc64|s390x|sparc64)
+- libdir="/lib64" ;;
+- *)
+- libdir="/lib" ;;
+- esac
++ libdir="/lib"
+ fi
+ if test ${sbindir} = '${exec_prefix}/sbin'
+ then
diff --git a/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c b/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c
index d6c05edaf..2d51fab3f 100644
--- a/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c
+++ b/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c
@@ -1,6 +1,6 @@
--- Linux-PAM-1.1.8.orig/modules/pam_succeed_if/pam_succeed_if.c 2013-06-18 16:11:21.000000000 +0200
-+++ Linux-PAM-1.1.8/modules/pam_succeed_if/pam_succeed_if.c 2014-02-10 11:36:17.000000000 +0100
-@@ -233,16 +233,20 @@ evaluate_notingroup(pam_handle_t *pamh,
++++ Linux-PAM-1.1.8/modules/pam_succeed_if/pam_succeed_if.c 2014-05-24 10:49:28.000000000 +0200
+@@ -233,16 +233,20 @@ evaluate_notingroup(pam_handle_t *pamh,
static int
evaluate_innetgr(const char *host, const char *user, const char *group)
{
diff --git a/package/pam/patches/patch-modules_pam_time_pam_time_c b/package/pam/patches/patch-modules_pam_time_pam_time_c
index a914fdd49..e122cece5 100644
--- a/package/pam/patches/patch-modules_pam_time_pam_time_c
+++ b/package/pam/patches/patch-modules_pam_time_pam_time_c
@@ -1,6 +1,6 @@
--- Linux-PAM-1.1.8.orig/modules/pam_time/pam_time.c 2013-06-18 16:11:21.000000000 +0200
-+++ Linux-PAM-1.1.8/modules/pam_time/pam_time.c 2014-02-10 11:36:17.000000000 +0100
-@@ -554,9 +554,11 @@ check_account(pam_handle_t *pamh, const
++++ Linux-PAM-1.1.8/modules/pam_time/pam_time.c 2014-05-24 10:49:28.000000000 +0200
+@@ -554,9 +554,11 @@ check_account(pam_handle_t *pamh, const
continue;
}
/* If buffer starts with @, we are using netgroups */