summaryrefslogtreecommitdiffstats
path: root/package/linux-pam/linux-pam-configure.patch
diff options
context:
space:
mode:
authorDmitry <golubovsky@gmail.com>2012-08-10 22:50:26 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-11 22:16:11 +0200
commit04be7f0f8ca100afaf06b264332bc2cd61fbb3d0 (patch)
treef83a44f990c174c72c99060be078996b1a43f452 /package/linux-pam/linux-pam-configure.patch
parent80b43964d01d5c84f66497d6295d786ff925c7de (diff)
downloadbuildroot-novena-04be7f0f8ca100afaf06b264332bc2cd61fbb3d0.tar.gz
buildroot-novena-04be7f0f8ca100afaf06b264332bc2cd61fbb3d0.zip
Add package linux-pam
Signed-off-by: Dmitry <golubovsky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linux-pam/linux-pam-configure.patch')
-rw-r--r--package/linux-pam/linux-pam-configure.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/linux-pam/linux-pam-configure.patch b/package/linux-pam/linux-pam-configure.patch
new file mode 100644
index 000000000..0b2326b1d
--- /dev/null
+++ b/package/linux-pam/linux-pam-configure.patch
@@ -0,0 +1,20 @@
+Add check for ruserok
+
+ruserok is not available/functional in uclibc, provide conditions for compilation
+where needed.
+
+Signed-off-by: Dmitry Golubovsky <golubovsky@gmail.com>
+
+Index: linux-pam-1.1.4/configure.in
+============================================================================
+--- linux-pam-1.1.4/configure.in 2011-06-24 06:46:33.000000000 -0400
++++ linux-pam-1.1.4/configure.in 2012-08-09 21:14:11.000000000 -0400
+@@ -522,7 +522,7 @@
+ AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol uname)
+ AC_CHECK_FUNCS(getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r)
+ AC_CHECK_FUNCS(getgrouplist getline getdelim)
+-AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af)
++AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af ruserok)
+
+ AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no])
+ AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes])