From c0f9c483e315379eabfbbef34fad51dbe42c896d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Oct 2022 07:14:16 +0100 Subject: gentoo auto-resync : 03:10:2022 - 07:14:15 --- ...7.3.2-Fix-crypt-implicit-function-declaration.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch (limited to 'sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch') diff --git a/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch b/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch new file mode 100644 index 000000000000..bf3604fd5670 --- /dev/null +++ b/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch @@ -0,0 +1,18 @@ +From: Sam James +Date: Sun, 2 Oct 2022 23:55:21 +0100 +Subject: [PATCH] Fix crypt() implicit function declaration + +crypt() is POSIX and setting _XOPEN_SOURCE makes glibc inhibit +defining it w/o _DEFAULT_SOURCE. + +Bug: https://bugs.gentoo.org/871492 +--- a/src/backend_pgsql.c ++++ b/src/backend_pgsql.c +@@ -8,7 +8,6 @@ + * William Grzybowski + */ + +-#define _XOPEN_SOURCE 500 + #include + #include + #include -- cgit v1.2.3