git: 5a2e32373172 - main - devel/c4core: Update 0.1.8 => 0.2.6

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 04 Sep 2025 23:14:44 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a2e32373172d34c8024bbb5abf52e1b1f2c555a

commit 5a2e32373172d34c8024bbb5abf52e1b1f2c555a
Author:     Pavel Timofeev <timp87@gmail.com>
AuthorDate: 2025-09-04 22:30:01 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-04 23:14:24 +0000

    devel/c4core: Update 0.1.8 => 0.2.6
    
    Changelogs:
    https://github.com/biojppm/c4core/releases/tag/v0.1.9
    https://github.com/biojppm/c4core/releases/tag/v0.1.10
    https://github.com/biojppm/c4core/releases/tag/v0.1.11
    https://github.com/biojppm/c4core/releases/tag/v0.2.0
    https://github.com/biojppm/c4core/releases/tag/v0.2.1
    https://github.com/biojppm/c4core/releases/tag/v0.2.2
    https://github.com/biojppm/c4core/releases/tag/v0.2.3
    https://github.com/biojppm/c4core/releases/tag/v0.2.4
    https://github.com/biojppm/c4core/releases/tag/v0.2.5
    https://github.com/biojppm/c4core/releases/tag/v0.2.6
    
    - Refresh patches.
    - Replace PORTVERSION with DISTVERSION and VERSION in PLIST_SUB.
    
    PR:             287839
    Approved by:    Gasol Wu <gasol.wu@gmail.com> (maintainer)
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
---
 devel/c4core/Makefile                               |  9 +++------
 devel/c4core/distinfo                               | 20 +++++++++-----------
 devel/c4core/files/patch-CMakeLists.txt             |  6 +++---
 devel/c4core/files/patch-src_c4_std_string__fwd.hpp |  4 ++--
 devel/c4core/files/patch-src_c4_std_vector__fwd.hpp | 19 +++++++++++--------
 devel/c4core/pkg-plist                              |  8 ++++++--
 6 files changed, 34 insertions(+), 32 deletions(-)

diff --git a/devel/c4core/Makefile b/devel/c4core/Makefile
index 8af2f99d75a6..c0388fbb9a32 100644
--- a/devel/c4core/Makefile
+++ b/devel/c4core/Makefile
@@ -1,11 +1,8 @@
 PORTNAME=	c4core
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.8
+DISTVERSION=	0.2.6
 CATEGORIES=	devel
 
-PATCH_SITES=	https://github.com/biojppm/c4core/commit/
-PATCHFILES=	ed9bf87ab152509fcd5c54bdc40ebed9a2b4ede7.patch:-p1
-
 MAINTAINER=	gasol.wu@gmail.com
 COMMENT=	Library of low-level C++ utilities
 WWW=		https://github.com/biojppm/c4core
@@ -21,12 +18,12 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	biojppm
 GH_PROJECT=	cmake:cmake debugbreak:debugbreak fast_float:fast_float
 GH_SUBDIR=	cmake:cmake src/c4/ext/debugbreak:debugbreak src/c4/ext/fast_float:fast_float
-GH_TAGNAME=	9416f29:cmake 5dcbe41:debugbreak 052975d:fast_float
+GH_TAGNAME=	e87e11f:cmake 328e4ab:debugbreak d28a332:fast_float
 
 USE_LDCONFIG=	yes
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
+PLIST_SUB=	VERSION=${DISTVERSION}
 
 .include <bsd.port.mk>
diff --git a/devel/c4core/distinfo b/devel/c4core/distinfo
index 3b9ae79dd0b4..1148d87b4c26 100644
--- a/devel/c4core/distinfo
+++ b/devel/c4core/distinfo
@@ -1,11 +1,9 @@
-TIMESTAMP = 1645456811
-SHA256 (biojppm-c4core-v0.1.8_GH0.tar.gz) = 4b219ebd8957c338edf00be0a55254725cb527fb05e3917bd3ee8e158ba23bf6
-SIZE (biojppm-c4core-v0.1.8_GH0.tar.gz) = 202602
-SHA256 (biojppm-cmake-9416f29_GH0.tar.gz) = 4c4b47dec40782866deb56df29a93b89eec059a2b368d3ad72aed85b810109d8
-SIZE (biojppm-cmake-9416f29_GH0.tar.gz) = 121012
-SHA256 (biojppm-debugbreak-5dcbe41_GH0.tar.gz) = d6f80346d3c712a174faaece2cc64e5600d1142ff77f802ce46b474601d1fe2b
-SIZE (biojppm-debugbreak-5dcbe41_GH0.tar.gz) = 7030
-SHA256 (biojppm-fast_float-052975d_GH0.tar.gz) = e2e699795934cdb83c3acc0db5f349e200019a4ba8fd4d0e6191a638f62d85c7
-SIZE (biojppm-fast_float-052975d_GH0.tar.gz) = 75689
-SHA256 (ed9bf87ab152509fcd5c54bdc40ebed9a2b4ede7.patch) = 1a1a27eaade9c3753c12a970fe9799deaa3d385ec1276b1d04fa4cf536c48252
-SIZE (ed9bf87ab152509fcd5c54bdc40ebed9a2b4ede7.patch) = 779
+TIMESTAMP = 1750957345
+SHA256 (biojppm-c4core-v0.2.6_GH0.tar.gz) = a8877d95198da5efe30624a861bab5089ab67b4228e0ebce25c30f080298c981
+SIZE (biojppm-c4core-v0.2.6_GH0.tar.gz) = 1453607
+SHA256 (biojppm-cmake-e87e11f_GH0.tar.gz) = a68e1ed2b92bab8111ce9de0fb21202af6e5e5c9a1b3f9e8c35a0a57d322b41b
+SIZE (biojppm-cmake-e87e11f_GH0.tar.gz) = 145370
+SHA256 (biojppm-debugbreak-328e4ab_GH0.tar.gz) = 7b0cc87a9bc52242755a26df3bea471b29adf9ace075b065cd2b7d8d7f06abe7
+SIZE (biojppm-debugbreak-328e4ab_GH0.tar.gz) = 7033
+SHA256 (biojppm-fast_float-d28a332_GH0.tar.gz) = edd36543fe3dcdf91132c33ce9f91500d9bcaf9ede8bc499cb8ef8a4b2755a0f
+SIZE (biojppm-fast_float-d28a332_GH0.tar.gz) = 120963
diff --git a/devel/c4core/files/patch-CMakeLists.txt b/devel/c4core/files/patch-CMakeLists.txt
index 4cbafd9718c8..f34977611159 100644
--- a/devel/c4core/files/patch-CMakeLists.txt
+++ b/devel/c4core/files/patch-CMakeLists.txt
@@ -1,7 +1,7 @@
---- CMakeLists.txt.orig	2022-01-06 20:06:58 UTC
+--- CMakeLists.txt.orig	2025-04-10 19:49:39 UTC
 +++ CMakeLists.txt
-@@ -60,7 +60,6 @@ set(C4CORE_SRC_FILES
-     c4/windows.hpp
+@@ -69,7 +69,6 @@ set(C4CORE_SRC_FILES
+     c4/version.cpp
      c4/windows_pop.hpp
      c4/windows_push.hpp
 -    c4/c4core.natvis
diff --git a/devel/c4core/files/patch-src_c4_std_string__fwd.hpp b/devel/c4core/files/patch-src_c4_std_string__fwd.hpp
index 1e06b878c1e3..9535c9e0d342 100644
--- a/devel/c4core/files/patch-src_c4_std_string__fwd.hpp
+++ b/devel/c4core/files/patch-src_c4_std_string__fwd.hpp
@@ -1,4 +1,4 @@
---- src/c4/std/string_fwd.hpp.orig	2022-01-06 01:20:26 UTC
+--- src/c4/std/string_fwd.hpp.orig	2025-04-10 19:49:39 UTC
 +++ src/c4/std/string_fwd.hpp
 @@ -14,7 +14,7 @@
  // forward declarations for std::string
@@ -8,4 +8,4 @@
 +#elif defined(_LIBCPP_VERSION) || defined(__APPLE_CC__) || __cplusplus > 199711L
  #include <iosfwd>  // use the fwd header in stdlibc++
  #elif defined(_MSC_VER)
- //! @todo is there a fwd header in msvc?
+ #include "c4/error.hpp"
diff --git a/devel/c4core/files/patch-src_c4_std_vector__fwd.hpp b/devel/c4core/files/patch-src_c4_std_vector__fwd.hpp
index aabe47253a37..1ec0fba1f483 100644
--- a/devel/c4core/files/patch-src_c4_std_vector__fwd.hpp
+++ b/devel/c4core/files/patch-src_c4_std_vector__fwd.hpp
@@ -1,15 +1,18 @@
---- src/c4/std/vector_fwd.hpp.orig	2022-01-06 01:17:58 UTC
+--- src/c4/std/vector_fwd.hpp.orig	2025-04-10 19:49:39 UTC
 +++ src/c4/std/vector_fwd.hpp
-@@ -8,12 +8,10 @@
- // forward declarations for std::vector
- #if defined(__GLIBCXX__) || defined(__GLIBCPP__) || defined(_MSC_VER)
+@@ -14,7 +14,6 @@ namespace std {
+ __pragma(warning(disable : 4643))
+ #endif
  namespace std {
 -template<typename> class allocator;
+ #ifdef _GLIBCXX_DEBUG
+ inline namespace __debug {
  template<typename T, typename Alloc> class vector;
- } // namespace std
- #elif defined(_LIBCPP_VERSION)
+@@ -29,7 +28,6 @@ inline namespace _LIBCPP_ABI_NAMESPACE {
+ #elif defined(_LIBCPP_ABI_NAMESPACE)
  namespace std {
+ inline namespace _LIBCPP_ABI_NAMESPACE {
 -template<typename> class allocator;
- #if defined(__EMSCRIPTEN__)
- inline namespace __2 {
  template<typename T, typename Alloc> class vector;
+ } // namespace _LIBCPP_ABI_NAMESPACE
+ } // namespace std
diff --git a/devel/c4core/pkg-plist b/devel/c4core/pkg-plist
index d4cbb5124baf..8da0a1edc435 100644
--- a/devel/c4core/pkg-plist
+++ b/devel/c4core/pkg-plist
@@ -4,6 +4,7 @@ include/c4/bitmask.hpp
 include/c4/blob.hpp
 include/c4/c4_pop.hpp
 include/c4/c4_push.hpp
+include/c4/dump.hpp
 include/c4/char_traits.hpp
 include/c4/charconv.hpp
 include/c4/common.hpp
@@ -20,6 +21,7 @@ include/c4/ext/fast_float_all.h
 include/c4/ext/rng/rng.hpp
 include/c4/ext/sg14/inplace_function.h
 include/c4/format.hpp
+include/c4/gcc-4.8.hpp
 include/c4/hash.hpp
 include/c4/language.hpp
 include/c4/memory_resource.hpp
@@ -32,16 +34,18 @@ include/c4/std/std.hpp
 include/c4/std/std_fwd.hpp
 include/c4/std/string.hpp
 include/c4/std/string_fwd.hpp
+include/c4/std/string_view.hpp
 include/c4/std/tuple.hpp
 include/c4/std/vector.hpp
 include/c4/std/vector_fwd.hpp
 include/c4/substr.hpp
 include/c4/substr_fwd.hpp
 include/c4/szconv.hpp
-include/c4/time.hpp
 include/c4/type_name.hpp
 include/c4/types.hpp
 include/c4/unrestrict.hpp
+include/c4/utf.hpp
+include/c4/version.hpp
 include/c4/windows.hpp
 include/c4/windows_pop.hpp
 include/c4/windows_push.hpp
@@ -50,4 +54,4 @@ lib/cmake/c4core/c4coreConfigVersion.cmake
 lib/cmake/c4core/c4coreTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/c4core/c4coreTargets.cmake
 lib/libc4core.so
-lib/libc4core.so.%%PORTVERSION%%
+lib/libc4core.so.%%VERSION%%