From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27D92158094 for ; Mon, 3 Oct 2022 00:38:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 708FEE08D3; Mon, 3 Oct 2022 00:38:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56F4FE08D3 for ; Mon, 3 Oct 2022 00:38:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58185340EC7 for ; Mon, 3 Oct 2022 00:38:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93B215FF for ; Mon, 3 Oct 2022 00:38:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1664757489.5bfa0c9d170e14d5dfa9a174298561432c96ed20.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam-pgsql/files/, sys-auth/pam-pgsql/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild X-VCS-Directories: sys-auth/pam-pgsql/ sys-auth/pam-pgsql/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5bfa0c9d170e14d5dfa9a174298561432c96ed20 X-VCS-Branch: master Date: Mon, 3 Oct 2022 00:38:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 192b774a-6fb7-408e-b80b-ce4179bc2278 X-Archives-Hash: 31c23bc340e3d0e1fbe91fef49336169 commit: 5bfa0c9d170e14d5dfa9a174298561432c96ed20 Author: Sam James gentoo org> AuthorDate: Sun Oct 2 23:04:46 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 3 00:38:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfa0c9d sys-auth/pam-pgsql: fix build with Clang 16 Closes: https://bugs.gentoo.org/871492 Signed-off-by: Sam James gentoo.org> ...7.3.2-Fix-crypt-implicit-function-declaration.patch | 18 ++++++++++++++++++ ...l-0.7.3.2-r1.ebuild => pam-pgsql-0.7.3.2-r2.ebuild} | 6 +++++- 2 files changed, 23 insertions(+), 1 deletion(-) 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 diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild similarity index 90% rename from sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild rename to sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild index 656ce64960a5..cf3ad756ccad 100644 --- a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r1.ebuild +++ b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,6 +24,10 @@ RDEPEND=">=dev-db/postgresql-8.0:= virtual/libcrypt:=" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-0.7.3.2-Fix-crypt-implicit-function-declaration.patch +) + src_configure() { econf \ --sysconfdir=/etc/security \