mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 10:50:54 +00:00
As of >=sys-libs/pam-1.7.0 (upstream commit 941bfc1de4c8d4963c8b9d63d32fed391f1476c8), pam's .pc files expect proper includes in consumers with the <security/*> namespace. Adapt to that. Closes: https://bugs.gentoo.org/948461 Signed-off-by: Sam James <sam@gentoo.org>
19 lines
624 B
Diff
19 lines
624 B
Diff
https://bugs.gentoo.org/948461
|
|
--- a/xpra/server/pam.pyx
|
|
+++ b/xpra/server/pam.pyx
|
|
@@ -36,12 +36,12 @@
|
|
cdef extern from "stdlib.h":
|
|
void *calloc(size_t nitems, size_t size)
|
|
|
|
-cdef extern from "pam_misc.h":
|
|
+cdef extern from "security/pam_misc.h":
|
|
ctypedef struct pam_handle_t:
|
|
pass
|
|
void misc_conv(int num_msg, const pam_message **msgm, pam_response **response, void *appdata_ptr)
|
|
|
|
-cdef extern from "pam_appl.h":
|
|
+cdef extern from "security/pam_appl.h":
|
|
struct pam_conv:
|
|
void *conv
|
|
#int (*conv)(int num_msg, const pam_message **msg, pam_response **resp, void *appdata_ptr)
|
|
|