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 3211E15806E for ; Sun, 14 May 2023 00:31:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1443CE07FE; Sun, 14 May 2023 00:31:54 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD92CE07F1 for ; Sun, 14 May 2023 00:31:53 +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 A031B340DFE for ; Sun, 14 May 2023 00:31:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFB08990 for ; Sun, 14 May 2023 00:31:50 +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: <1684024277.4a1c5fd4948a420aded7d9f8e9179b0435f875d4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libpcre2/libpcre2-10.42-r1.ebuild dev-libs/libpcre2/metadata.xml X-VCS-Directories: dev-libs/libpcre2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4a1c5fd4948a420aded7d9f8e9179b0435f875d4 X-VCS-Branch: master Date: Sun, 14 May 2023 00:31:50 +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: fa7fa1a6-c1b4-4c1b-8fa7-b5ff0edbd8a4 X-Archives-Hash: 597047b0aa537a60b93f90c203870b11 commit: 4a1c5fd4948a420aded7d9f8e9179b0435f875d4 Author: Sam James gentoo org> AuthorDate: Sat May 13 23:08:06 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 14 00:31:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1c5fd4 dev-libs/libpcre2: add Valgrind annotation support The headers are needed to get Valgrind annotations. Signed-off-by: Sam James gentoo.org> dev-libs/libpcre2/libpcre2-10.42-r1.ebuild | 8 ++++++-- dev-libs/libpcre2/metadata.xml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild b/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild index 5a0b23904c4b..56e994b8bfe0 100644 --- a/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild +++ b/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0/3" # libpcre2-posix.so version KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="bzip2 +jit libedit +pcre16 pcre32 +readline static-libs unicode zlib" +IUSE="bzip2 +jit libedit +pcre16 pcre32 +readline static-libs unicode valgrind zlib" REQUIRED_USE="?? ( libedit readline )" RDEPEND=" @@ -33,7 +33,10 @@ RDEPEND=" readline? ( sys-libs/readline:= ) zlib? ( sys-libs/zlib ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-util/valgrind ) +" BDEPEND=" virtual/pkgconfig verify-sig? ( sec-keys/openpgp-keys-philiphazel ) @@ -60,6 +63,7 @@ multilib_src_configure() { $(multilib_native_use_enable bzip2 pcre2grep-libbz2) $(multilib_native_use_enable libedit pcre2test-libedit) $(multilib_native_use_enable readline pcre2test-libreadline) + $(multilib_native_use_enable valgrind) $(multilib_native_use_enable zlib pcre2grep-libz) $(use_enable jit) $(use_enable jit pcre2grep-jit) diff --git a/dev-libs/libpcre2/metadata.xml b/dev-libs/libpcre2/metadata.xml index 66bde795d3f1..04cdf69f6d5d 100644 --- a/dev-libs/libpcre2/metadata.xml +++ b/dev-libs/libpcre2/metadata.xml @@ -16,6 +16,7 @@ Add support for command line editing to pcretest, through sys-libs/readline. + Support Valgrind for dev-util/valgrind annotations to improve results for memcheck. Add support for pcregrep command to search within gzip-compressed files (via sys-libs/zlib).