diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/patches/ftbfs-implicit-function-declaration | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index c102c04c..f225df51 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pam (1.5.3-6) UNRELEASED; urgency=medium + + [ Dan Bungert ] + * Fix FTBFS when built with -Werror=implicit-function-declaration + + -- Dan Bungert <daniel.bungert@canonical.com> Thu, 29 Feb 2024 11:53:08 -0700 + pam (1.5.3-5) unstable; urgency=medium * Revert renaming libpam0g to libpam0t64 for time_t transition: apt diff --git a/debian/patches/ftbfs-implicit-function-declaration b/debian/patches/ftbfs-implicit-function-declaration new file mode 100644 index 00000000..21dad567 --- /dev/null +++ b/debian/patches/ftbfs-implicit-function-declaration @@ -0,0 +1,14 @@ +Description: Fix FTBFS when built with -Werror=implicit-function-declaration +Bug-Ubuntu: https://bugs.launchpad.net/bugs/2055453 +Forwarded: no +Last-Update: 2024-02-29 +--- a/modules/pam_unix/support.h ++++ b/modules/pam_unix/support.h +@@ -6,6 +6,7 @@ + #define _PAM_UNIX_SUPPORT_H + + #include <pwd.h> ++#include "libpam/include/pam_inline.h" + + /* + * File to read value of ENCRYPT_METHOD from. diff --git a/debian/patches/series b/debian/patches/series index dd734f94..590e2847 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -20,3 +20,4 @@ fix-autoreconf.patch nullok_secure-compat.patch pam_mkhomedir_stat_before_opendir pam_namespace_o_directory +ftbfs-implicit-function-declaration |