From nobody Thu Feb 29 10:14:50 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TlnCH18Ltz5CchT; Thu, 29 Feb 2024 10:14:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlnCG6Cbkz3xlr; Thu, 29 Feb 2024 10:14:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709201690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zYCm3c9czg2zRnTX4FMMww9BG+HeUM4LO6sSkC+46LU=; b=m/ts6sWOp7OqUC4xtQsEUKfE6Bz2obKhiK+Y/JLYy439j4TOk1iV5Comuk8cxfcvpLFuaP 1pC15AWTlU8gfrRzps+Q0rLK0AgCZHnc10KMo514yR35GYE2gwPnY4LDRJ3IlNdHZxianS LelMvbakQWPHi1M4qLus46/NGnMk20rgsFr0DaoKXE7n04O5Fzqx3G4P0dFakXxdxViECD BszmU9nZRfkDb6O/TtT7vlIzlrKxQTwfXmZPIYHFCKfcObpNbWzlmqVVF0nAEibOEg0xyj gJ9nA+ZpPEAvGwNTvqDzYu7iqgVFmgldtbGDIaa5Fgw6k44xk/2HK9NOpUbcwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709201690; a=rsa-sha256; cv=none; b=FEfcz2NtBagYhQnwSaYt5DIHEHYr4ooi91N5EyoQXsNrWrsrCyL0xQaEHEQtLpU0qR5PaO tLDU+UYpFkDm3EXLbbN9lOjLbU3mwzkv+CeAeeWUsLDJtfQR4HQ5vh4OsPIZU92RPPuiMS MAAu4YxqSwHz4MZW9dFQ7qIiMNjg9FamX7QerHj2w+FbeNeGP1xJ4wbWxWsSRkyilITtB/ Hnr2Hnb/GdNmc/TRRT3vp9lSlL4Ho1H0lLcxqW+S0GguRr2cKIuc/LllBWytGjLrAk/Zet anJnkjYrRemNIjmZ3mqzDzvjU99jmIGofNUBuSpY4VgzzfRH3Do1CZNiiNdhVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709201690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zYCm3c9czg2zRnTX4FMMww9BG+HeUM4LO6sSkC+46LU=; b=tHT0P2a4k6bpnoPH5azbxT86xlvgJsLX6LOxKGx6d0wry/7zwST6PY8ZIBS7UfRo/lR0d7 0fvbbW8WwZPXurSKPwUP8Kp/5Ug5Ar91RFy/WYNhqgo2eQV7hUrNq01whR+Z37S0NJcdq0 yvkiMrRdLl7OYhF31mibl1jLzrcVmEdW4kzWoIBObAcKTxWYdpKJRf1V5Vy2Yo0EYINTZ6 2eUF8FhvrRFwgCHucW8zKiiBneLiav6xsachKwCNhHOrqSlXCbz5VZ0Oxd9ZSsnGtH3G+9 5C4frmKlfw8pvgCa2YbGycYMFvabFOg2ewR0PCs5Vell+UYqqk6xFmfoILNjlA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TlnCG5ZnTzdLK; Thu, 29 Feb 2024 10:14:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41TAEoWE096808; Thu, 29 Feb 2024 10:14:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41TAEol0096805; Thu, 29 Feb 2024 10:14:50 GMT (envelope-from git) Date: Thu, 29 Feb 2024 10:14:50 GMT Message-Id: <202402291014.41TAEol0096805@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8f19a6a71d6b - main - devel/google-perftools: update 2.10 =?utf-8?Q?=E2=86=92?= 2.15 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f19a6a71d6b96023b7d9fb19985fbf2842f5c94 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f19a6a71d6b96023b7d9fb19985fbf2842f5c94 commit 8f19a6a71d6b96023b7d9fb19985fbf2842f5c94 Author: Yuri Victorovich AuthorDate: 2024-02-27 00:29:50 +0000 Commit: Yuri Victorovich CommitDate: 2024-02-27 00:31:17 +0000 devel/google-perftools: update 2.10 → 2.15 --- devel/google-perftools/Makefile | 3 +- devel/google-perftools/distinfo | 6 ++-- devel/google-perftools/files/patch-Makefile.am | 17 +++++----- .../files/patch-src_base_dynamic__annotations.c | 39 ---------------------- .../google-perftools/files/patch-src_stacktrace.cc | 13 -------- devel/google-perftools/pkg-plist | 12 +++---- 6 files changed, 18 insertions(+), 72 deletions(-) diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile index ac2de91162e0..4c50df6509a3 100644 --- a/devel/google-perftools/Makefile +++ b/devel/google-perftools/Makefile @@ -1,7 +1,6 @@ PORTNAME= google-perftools DISTVERSIONPREFIX= gperftools- -DISTVERSION= 2.10 -PORTREVISION= 4 +DISTVERSION= 2.15 CATEGORIES= devel MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/ DISTNAME= gperftools-${PORTVERSION} diff --git a/devel/google-perftools/distinfo b/devel/google-perftools/distinfo index 24da0716d4fd..4ee20330c5e4 100644 --- a/devel/google-perftools/distinfo +++ b/devel/google-perftools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655613288 -SHA256 (gperftools-2.10.tar.gz) = 83e3bfdd28b8bcf53222c3798d4d395d52dadbbae59e8730c4a6d31a9c3732d8 -SIZE (gperftools-2.10.tar.gz) = 1616679 +TIMESTAMP = 1709196244 +SHA256 (gperftools-2.15.tar.gz) = c69fef855628c81ef56f12e3c58f2b7ce1f326c0a1fe783e5cae0b88cbbe9a80 +SIZE (gperftools-2.15.tar.gz) = 1511014 diff --git a/devel/google-perftools/files/patch-Makefile.am b/devel/google-perftools/files/patch-Makefile.am index 011506ac6890..2c80307acbc5 100644 --- a/devel/google-perftools/files/patch-Makefile.am +++ b/devel/google-perftools/files/patch-Makefile.am @@ -1,13 +1,12 @@ ---- Makefile.am.orig 2021-02-28 23:41:19 UTC +--- Makefile.am.orig 2024-01-05 00:50:17 UTC +++ Makefile.am -@@ -122,8 +122,8 @@ googleinclude_HEADERS = \ - # Add your documentation files (in doc/) in addition to these - # top-level boilerplate files. Also add a TODO file if you have one. - # We'll add to this later, on a library-by-library basis --dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \ -- TODO ChangeLog.old -+dist_doc_DATA = AUTHORS NEWS README README_windows.txt -+ +@@ -108,8 +108,7 @@ googleinclude_HEADERS = \ + # your documentation files (in doc/) in addition to these top-level + # boilerplate files. We'll add to this later, on a library-by-library + # basis +-dist_doc_DATA = AUTHORS COPYING INSTALL NEWS README README_windows.txt \ +- ChangeLog.old ++dist_doc_DATA = AUTHORS NEWS README README_windows.txt # The libraries (.so's) you want to install # We'll add to this later, on a library-by-library basis diff --git a/devel/google-perftools/files/patch-src_base_dynamic__annotations.c b/devel/google-perftools/files/patch-src_base_dynamic__annotations.c deleted file mode 100644 index 3850e05461a5..000000000000 --- a/devel/google-perftools/files/patch-src_base_dynamic__annotations.c +++ /dev/null @@ -1,39 +0,0 @@ -- add another way to determine if the process is run under valgrind - based on LD_PRELOAD patterns presence -- Submitted: https://github.com/gperftools/gperftools/pull/1316 - ---- src/base/dynamic_annotations.c.orig 2021-02-15 06:44:21 UTC -+++ src/base/dynamic_annotations.c -@@ -43,6 +43,21 @@ - #include "base/dynamic_annotations.h" - #include "getenv_safe.h" // for TCMallocGetenvSafe - -+static int running_on_valgrind_preload = -1; -+void __attribute__ ((constructor)) premain() { -+ char *LD_PRELOAD = getenv("LD_PRELOAD"); -+ if (LD_PRELOAD == NULL) -+ LD_PRELOAD = getenv("LD_32_PRELOAD"); -+ running_on_valgrind_preload = LD_PRELOAD != NULL && -+ ( -+ strstr(LD_PRELOAD, "/valgrind/") != NULL -+ || -+ strstr(LD_PRELOAD, "/vgpreload") != NULL -+ ) -+ ? -+ 1 : 0; -+} -+ - static int GetRunningOnValgrind(void) { - #ifdef RUNNING_ON_VALGRIND - if (RUNNING_ON_VALGRIND) return 1; -@@ -51,6 +66,11 @@ static int GetRunningOnValgrind(void) { - if (running_on_valgrind_str) { - return strcmp(running_on_valgrind_str, "0") != 0; - } -+ -+ // use the LD_PRELOAD trick from https://stackoverflow.com/questions/365458/how-can-i-detect-if-a-program-is-running-from-within-valgrind -+ if (running_on_valgrind_preload == 1) -+ return 1; -+ - return 0; - } - diff --git a/devel/google-perftools/files/patch-src_stacktrace.cc b/devel/google-perftools/files/patch-src_stacktrace.cc deleted file mode 100644 index b2c2d59ec27b..000000000000 --- a/devel/google-perftools/files/patch-src_stacktrace.cc +++ /dev/null @@ -1,13 +0,0 @@ -- workaround for https://github.com/gperftools/gperftools/issues/1271 - ---- src/stacktrace.cc.orig 2022-02-13 17:53:31 UTC -+++ src/stacktrace.cc -@@ -219,7 +219,7 @@ static GetStackImplementation *all_impls[] = { - - // ppc and i386 implementations prefer arch-specific asm implementations. - // arm's asm implementation is broken --#if defined(__i386__) || defined(__ppc__) || defined(__PPC__) || defined(__loongarch64) -+#if defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__PPC__) || defined(__loongarch64) - #if !defined(NO_FRAME_POINTER) - #define TCMALLOC_DONT_PREFER_LIBUNWIND - #endif diff --git a/devel/google-perftools/pkg-plist b/devel/google-perftools/pkg-plist index 4eedc715497d..0f3036f7154e 100644 --- a/devel/google-perftools/pkg-plist +++ b/devel/google-perftools/pkg-plist @@ -22,27 +22,27 @@ include/gperftools/tcmalloc.h %%PROFILER%%lib/libprofiler.a %%PROFILER%%lib/libprofiler.so %%PROFILER%%lib/libprofiler.so.0 -%%PROFILER%%lib/libprofiler.so.0.5.5 +%%PROFILER%%lib/libprofiler.so.0.5.11 lib/libtcmalloc.a lib/libtcmalloc.so lib/libtcmalloc.so.4 -lib/libtcmalloc.so.4.5.10 +lib/libtcmalloc.so.4.5.16 %%PROFILER%%lib/libtcmalloc_and_profiler.a %%PROFILER%%lib/libtcmalloc_and_profiler.so %%PROFILER%%lib/libtcmalloc_and_profiler.so.4 -%%PROFILER%%lib/libtcmalloc_and_profiler.so.4.6.5 +%%PROFILER%%lib/libtcmalloc_and_profiler.so.4.6.11 lib/libtcmalloc_debug.a lib/libtcmalloc_debug.so lib/libtcmalloc_debug.so.4 -lib/libtcmalloc_debug.so.4.5.10 +lib/libtcmalloc_debug.so.4.5.16 lib/libtcmalloc_minimal.a lib/libtcmalloc_minimal.so lib/libtcmalloc_minimal.so.4 -lib/libtcmalloc_minimal.so.4.5.10 +lib/libtcmalloc_minimal.so.4.5.16 lib/libtcmalloc_minimal_debug.a lib/libtcmalloc_minimal_debug.so lib/libtcmalloc_minimal_debug.so.4 -lib/libtcmalloc_minimal_debug.so.4.5.10 +lib/libtcmalloc_minimal_debug.so.4.5.16 libdata/pkgconfig/libprofiler.pc libdata/pkgconfig/libtcmalloc.pc libdata/pkgconfig/libtcmalloc_debug.pc