Would you be willing to test build the attached patch on hppa? I've
tested it on amd64 with -Werror=implicit-function-declaration appended.
thanks,
Ryan
>From fa0b704371762bdc479a5d8dc6a0a6df4ec3a52e Mon Sep 17 00:00:00 2001
From: Ryan Tandy <r...@nardis.ca>
Date: Fri, 8 Mar 2024 17:58:15 -0800
Subject: [PATCH] Fix implicit declaration of kadm5_s_init_with_password_ctx
---
debian/patches/series | 1 +
debian/patches/smbk5pwd-implicit-declaration | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 100644 debian/patches/smbk5pwd-implicit-declaration
diff --git a/debian/patches/series b/debian/patches/series
index a8d57cb99c..7381d0a06b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ add-tlscacert-option-to-ldap-conf
fix-build-top-mk
switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff
set-maintainer-name
+smbk5pwd-implicit-declaration
diff --git a/debian/patches/smbk5pwd-implicit-declaration b/debian/patches/smbk5pwd-implicit-declaration
new file mode 100644
index 0000000000..a704086286
--- /dev/null
+++ b/debian/patches/smbk5pwd-implicit-declaration
@@ -0,0 +1,12 @@
+Description: Fix implicit declaration of kadm5_s_init_with_password_ctx
+Bug-Debian: https://bugs.debian.org/1065633
+--- a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c
++++ b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c
+@@ -45,6 +45,7 @@
+ #include <krb5.h>
+ #include <kadm5/admin.h>
+ #include <hdb.h>
++#include <kadm5/private.h>
+
+ #ifndef HDB_INTERFACE_VERSION
+ #define HDB_MASTER_KEY_SET master_key_set
--
2.39.2