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 430F4158008 for ; Mon, 12 Jun 2023 19:12:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09196E092D; Mon, 12 Jun 2023 19:12:48 +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 D44A9E091D for ; Mon, 12 Jun 2023 19:12:47 +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 A9143341392 for ; Mon, 12 Jun 2023 19:12:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E06FDA8B for ; Mon, 12 Jun 2023 19:12:44 +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: <1686597042.6d96da86faf72ced61b89d64ea7c6162d3c5e628.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nds/openldap/openldap-2.5.14.ebuild net-nds/openldap/openldap-2.6.4-r1.ebuild X-VCS-Directories: net-nds/openldap/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6d96da86faf72ced61b89d64ea7c6162d3c5e628 X-VCS-Branch: master Date: Mon, 12 Jun 2023 19:12:44 +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: b5a0963c-3308-4504-963d-cc94a43a2833 X-Archives-Hash: ff3278b507ce2058a43511abc2b51f6b commit: 6d96da86faf72ced61b89d64ea7c6162d3c5e628 Author: Sam James gentoo org> AuthorDate: Sun Jun 11 22:57:52 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 12 19:10:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d96da86 net-nds/openldap: microoptimize Signed-off-by: Sam James gentoo.org> net-nds/openldap/openldap-2.5.14.ebuild | 2 +- net-nds/openldap/openldap-2.6.4-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-nds/openldap/openldap-2.5.14.ebuild b/net-nds/openldap/openldap-2.5.14.ebuild index 8b5c4628b810..7a4195c78e9a 100644 --- a/net-nds/openldap/openldap-2.5.14.ebuild +++ b/net-nds/openldap/openldap-2.5.14.ebuild @@ -342,7 +342,7 @@ src_prepare() { # Fish out MDB_VERSION_MAJOR/MDB_VERSION_MINOR/MDB_VERSION_PATCH from # the bundled lmdb's header to find out the version. local bundled_lmdb_version=$(sed -En '/^#define MDB_VERSION_(MAJOR|MINOR|PATCH)(\s+)?/{s/[^0-9.]//gp}' libraries/liblmdb/lmdb.h || die) - bundled_lmdb_version=$(printf "%s." ${bundled_lmdb_version}) + printf -v bundled_lmdb_version "%s." ${bundled_lmdb_version} if [[ ${SYSTEM_LMDB_VER}. != ${bundled_lmdb_version} ]] ; then eerror "Source lmdb version: ${bundled_lmdb_version}" diff --git a/net-nds/openldap/openldap-2.6.4-r1.ebuild b/net-nds/openldap/openldap-2.6.4-r1.ebuild index 2747bc015832..15efe59d9ec6 100644 --- a/net-nds/openldap/openldap-2.6.4-r1.ebuild +++ b/net-nds/openldap/openldap-2.6.4-r1.ebuild @@ -343,7 +343,7 @@ src_prepare() { # Fish out MDB_VERSION_MAJOR/MDB_VERSION_MINOR/MDB_VERSION_PATCH from # the bundled lmdb's header to find out the version. local bundled_lmdb_version=$(sed -En '/^#define MDB_VERSION_(MAJOR|MINOR|PATCH)(\s+)?/{s/[^0-9.]//gp}' libraries/liblmdb/lmdb.h || die) - bundled_lmdb_version=$(printf "%s." ${bundled_lmdb_version}) + printf -v bundled_lmdb_version "%s." ${bundled_lmdb_version} if [[ ${SYSTEM_LMDB_VER}. != ${bundled_lmdb_version} ]] ; then eerror "Source lmdb version: ${bundled_lmdb_version}"