diff options
author | Steve Langasek <vorlon@debian.org> | 2013-02-11 20:32:57 -0800 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 22:11:49 -0800 |
commit | 9469ddadb2d7533ba3334e70602731e5caefcc21 (patch) | |
tree | 89b74221e41e3d4724de838434cb87eba6ba0877 | |
parent | f03325449d8e8416b31a1eb9f31019759b42cfe6 (diff) | |
download | pam-9469ddadb2d7533ba3334e70602731e5caefcc21.tar.gz pam-9469ddadb2d7533ba3334e70602731e5caefcc21.tar.bz2 pam-9469ddadb2d7533ba3334e70602731e5caefcc21.zip |
Whoops, commit a patch that I managed to not get added
-rw-r--r-- | debian/patches-applied/glibc-2_16-compilation-fix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches-applied/glibc-2_16-compilation-fix.patch b/debian/patches-applied/glibc-2_16-compilation-fix.patch new file mode 100644 index 00000000..921c8b5c --- /dev/null +++ b/debian/patches-applied/glibc-2_16-compilation-fix.patch @@ -0,0 +1,30 @@ +Author: Daniel Schepler <dschepler@gmail.com> +Description: fix missing include causing build failure with eglibc 2.16 + eglibc 2.16 is more strict in its handling of <sys/resource.h>, so fix + our includes here to address a build failure. +Bug-Debian: http://bugs.debian.org/693450 + +Index: pam-1.1.3/modules/pam_unix/pam_unix_acct.c +=================================================================== +--- pam-1.1.3.orig/modules/pam_unix/pam_unix_acct.c 2012-08-11 23:05:09.000000000 +0000 ++++ pam-1.1.3/modules/pam_unix/pam_unix_acct.c 2012-08-11 23:05:29.000000000 +0000 +@@ -47,6 +47,7 @@ + #include <time.h> /* for time() */ + #include <errno.h> + #include <sys/wait.h> ++#include <sys/resource.h> + + #include <security/_pam_macros.h> + +Index: pam-1.1.3/modules/pam_unix/pam_unix_passwd.c +=================================================================== +--- pam-1.1.3.orig/modules/pam_unix/pam_unix_passwd.c 2012-08-11 23:05:29.000000000 +0000 ++++ pam-1.1.3/modules/pam_unix/pam_unix_passwd.c 2012-08-11 23:09:06.000000000 +0000 +@@ -54,6 +54,7 @@ + #include <ctype.h> + #include <sys/time.h> + #include <sys/stat.h> ++#include <sys/resource.h> + #include <rpc/rpc.h> + #ifdef HAVE_RPCSVC_YP_PROT_H + #include <rpcsvc/yp_prot.h> |