public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/
Date: Sat, 14 Jan 2023 19:17:29 +0000 (UTC)	[thread overview]
Message-ID: <1673723677.5d2982b0e0e30d8caa74281cb61d25521726f819.sam@gentoo> (raw)

commit:     5d2982b0e0e30d8caa74281cb61d25521726f819
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 07:32:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 19:14:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2982b0

sys-auth/passwdqc: fix build with lld-16

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/passwdqc/passwdqc-1.4.0-r2.ebuild | 15 +++++++++++++--
 sys-auth/passwdqc/passwdqc-2.0.2-r1.ebuild | 15 +++++++++++++--
 2 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/sys-auth/passwdqc/passwdqc-1.4.0-r2.ebuild b/sys-auth/passwdqc/passwdqc-1.4.0-r2.ebuild
index abb50e927b18..90ea5b5ec52c 100644
--- a/sys-auth/passwdqc/passwdqc-1.4.0-r2.ebuild
+++ b/sys-auth/passwdqc/passwdqc-1.4.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit pam toolchain-funcs
+inherit flag-o-matic pam toolchain-funcs
 
 DESCRIPTION="Password strength checking library (and PAM module)"
 HOMEPAGE="http://www.openwall.com/passwdqc/"
@@ -40,6 +40,17 @@ src_prepare() {
 
 }
 
+src_configure() {
+	# ideally we want !tc-ld-is-bfd for best future-proofing, but it needs
+	# https://github.com/gentoo/gentoo/pull/28355
+	# mold needs this too but right now tc-ld-is-mold is also not available
+	if tc-ld-is-lld; then
+		append-ldflags -Wl,--undefined-version
+	fi
+
+	default
+}
+
 _emake() {
 	emake \
 		SHARED_LIBDIR="/usr/$(get_libdir)" \

diff --git a/sys-auth/passwdqc/passwdqc-2.0.2-r1.ebuild b/sys-auth/passwdqc/passwdqc-2.0.2-r1.ebuild
index a81c6b2a6942..2710ce4c24dc 100644
--- a/sys-auth/passwdqc/passwdqc-2.0.2-r1.ebuild
+++ b/sys-auth/passwdqc/passwdqc-2.0.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit pam toolchain-funcs
+inherit flag-o-matic pam toolchain-funcs
 
 DESCRIPTION="Password strength checking library (and PAM module)"
 HOMEPAGE="http://www.openwall.com/passwdqc/"
@@ -40,6 +40,17 @@ src_prepare() {
 
 }
 
+src_configure() {
+	# ideally we want !tc-ld-is-bfd for best future-proofing, but it needs
+	# https://github.com/gentoo/gentoo/pull/28355
+	# mold needs this too but right now tc-ld-is-mold is also not available
+	if tc-ld-is-lld; then
+		append-ldflags -Wl,--undefined-version
+	fi
+
+	default
+}
+
 _emake() {
 	emake \
 		SHARED_LIBDIR="/usr/$(get_libdir)" \


             reply	other threads:[~2023-01-14 19:17 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-14 19:17 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-28  3:43 [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/ Sam James
2023-12-15 13:22 Arthur Zamarin
2023-12-15  6:42 Sam James
2023-12-15  6:42 Sam James
2023-12-15  6:42 Sam James
2023-12-15  6:42 Sam James
2023-12-15  6:42 Sam James
2023-12-15  6:42 Sam James
2023-09-06  9:37 Sam James
2023-08-20  5:43 Sam James
2023-08-19 11:38 Sam James
2023-08-19 11:38 Sam James
2023-08-19  9:30 Sam James
2023-08-19  7:23 Sam James
2023-08-19  6:36 Sam James
2023-08-19  6:33 Sam James
2023-06-26 16:47 Sam James
2023-01-14 10:12 Sam James
2021-11-14  9:22 Sam James
2021-11-09 22:35 Sam James
2021-11-09 21:36 Sam James
2021-11-06 19:56 Sam James
2021-11-06  0:48 Sam James
2021-11-06  0:48 Sam James
2021-11-06  0:48 Sam James
2021-11-06  0:48 Sam James
2021-11-06  0:48 Sam James
2021-06-24 23:27 Sam James
2021-04-10 11:22 Mikle Kolyada
2021-04-10 11:07 Mikle Kolyada
2021-03-13 19:53 Mikle Kolyada
2021-02-23 15:36 Mikle Kolyada
2021-02-22 23:21 Mikle Kolyada
2021-02-18 20:14 Sam James
2020-12-13  0:29 Sam James
2020-10-10  9:31 Mikle Kolyada
2020-09-05 19:03 Mikle Kolyada
2020-08-31 10:13 Mikle Kolyada
2020-07-29 19:57 Mikle Kolyada
2020-06-17 15:13 Mikle Kolyada
2020-06-11  8:43 Mikle Kolyada
2020-06-10 16:54 Mikle Kolyada
2020-06-09 12:12 Mikle Kolyada
2019-11-10  9:19 Michał Górny
2019-11-01 11:07 Mikle Kolyada
2019-11-01 11:07 Mikle Kolyada
2019-11-01 11:07 Mikle Kolyada
2019-10-12 20:39 Mikle Kolyada
2019-10-11 22:32 Sergei Trofimovich
2019-10-07 19:12 Sergei Trofimovich
2019-10-07 10:44 Agostino Sarubbo
2019-10-07 10:38 Agostino Sarubbo
2019-10-07  9:47 Agostino Sarubbo
2019-10-07  8:42 Agostino Sarubbo
2019-10-07  7:29 Agostino Sarubbo
2019-10-06 21:18 Thomas Deutschmann
2017-06-19 20:07 Alexis Ballier
2015-08-14  3:37 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673723677.5d2982b0e0e30d8caa74281cb61d25521726f819.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox