Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2026 20:54:36 +0000
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 3c77c4c758f6 - 2026Q1 - devel/abseil: fix __is_trivially_relocatable warnings with clang 21
Message-ID:  <699cbe8c.1d0ca.77cdd2f9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q1 has been updated by dim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c77c4c758f612ac4928e1d4fc8cfc1254011864

commit 3c77c4c758f612ac4928e1d4fc8cfc1254011864
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2026-02-23 10:37:28 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-02-23 20:54:19 +0000

    devel/abseil: fix __is_trivially_relocatable warnings with clang 21
    
    With clang 21 ports using devel/abseil will run into warnings similar
    to:
    
        In file included from /usr/local/include/absl/strings/string_view.h:40:
        In file included from /usr/local/include/absl/base/nullability.h:154:
        In file included from /usr/local/include/absl/base/internal/nullability_impl.h:23:
        /usr/local/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
          527 |                     (__is_trivially_relocatable(T) &&
              |                      ^
        /usr/local/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
        /usr/local/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
          147 |     : std::conditional<T::value, conjunction<Ts...>, T>::type {};
              |                        ^
    
    Upstream abseil fixed this in
    <https://github.com/abseil/abseil-cpp/commit/a4950fb>, so pull it in as
    a patch.
    
    PR:             293380
    Approved by:    danfe (maintainer)
    MFH:            2026Q1
    
    (cherry picked from commit 96eb01b03f5b5e3d01de893907bfaa89b25dd650)
---
 devel/abseil/Makefile | 4 ++++
 devel/abseil/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/devel/abseil/Makefile b/devel/abseil/Makefile
index 38611a2b1870..5fd803ceb288 100644
--- a/devel/abseil/Makefile
+++ b/devel/abseil/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	abseil
 PORTVERSION=	20250127.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/abseil/abseil-cpp/releases/download/${PORTVERSION}/
 DISTNAME=	${PORTNAME}-cpp-${PORTVERSION}
 
+PATCH_SITES=	https://github.com/abseil/abseil-cpp/commit/
+PATCHFILES+=	a4950fba03217d0ea102c98ce795c189bba50383.patch:-p1 # https://github.com/llvm/llvm-project/pull/138835
+
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Abseil Common Libraries (C++)
 WWW=		https://abseil.io/
diff --git a/devel/abseil/distinfo b/devel/abseil/distinfo
index 49ff07397a84..1a9af4245417 100644
--- a/devel/abseil/distinfo
+++ b/devel/abseil/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1742835788
+TIMESTAMP = 1771795101
 SHA256 (abseil-cpp-20250127.1.tar.gz) = b396401fd29e2e679cace77867481d388c807671dc2acc602a0259eeb79b7811
 SIZE (abseil-cpp-20250127.1.tar.gz) = 2267282
+SHA256 (a4950fba03217d0ea102c98ce795c189bba50383.patch) = 47ceb260d2182659246a0a85c389c4b87ccdf21944aac32a34890191bada85e7
+SIZE (a4950fba03217d0ea102c98ce795c189bba50383.patch) = 6457


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699cbe8c.1d0ca.77cdd2f9>