git: 920a89adaec3 - main - devel/ccache4: Update 4.14.2 => 4.14.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Nov 2026 09:21:13 UTC
The branch main has been updated by alven:
URL: https://cgit.FreeBSD.org/ports/commit/?id=920a89adaec3444a258f1271d472a4d3ae5b96da
commit 920a89adaec3444a258f1271d472a4d3ae5b96da
Author: Oleg Sidorkin <osidorkin@gmail.com>
AuthorDate: 2026-11-09 10:03:55 +0000
Commit: Älven <alven@FreeBSD.org>
CommitDate: 2026-11-10 09:20:09 +0000
devel/ccache4: Update 4.14.2 => 4.14.3
PR: 300621
---
devel/ccache4/Makefile | 3 +-
devel/ccache4/distinfo | 6 +--
devel/ccache4/files/patch-src_ccache_hashutil.cpp | 15 --------
devel/ccache4/files/patch-test_suites_base.bash | 27 -------------
.../files/patch-unittest_test__hashutil.cpp | 44 ----------------------
5 files changed, 4 insertions(+), 91 deletions(-)
diff --git a/devel/ccache4/Makefile b/devel/ccache4/Makefile
index 7101c91ee222..1c0705ff9324 100644
--- a/devel/ccache4/Makefile
+++ b/devel/ccache4/Makefile
@@ -1,6 +1,5 @@
PORTNAME= ccache
-DISTVERSION= 4.14.2
-PORTREVISION= 1
+DISTVERSION= 4.14.3
CATEGORIES= devel
MASTER_SITES= https://github.com/ccache/ccache/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= 4
diff --git a/devel/ccache4/distinfo b/devel/ccache4/distinfo
index d93648bb9aab..3c5624afc9dc 100644
--- a/devel/ccache4/distinfo
+++ b/devel/ccache4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1792996894
-SHA256 (ccache-4.14.2.tar.xz) = 0feb2707d9cb48885abb950e5d629e85f57fa79a2439cbbdfa681d6c3dc5f0dc
-SIZE (ccache-4.14.2.tar.xz) = 557384
+TIMESTAMP = 1794218142
+SHA256 (ccache-4.14.3.tar.xz) = e1999132cf7dbce48de7d946b767f3e26ea09adcb5daa4a7103a8fa09ee0637d
+SIZE (ccache-4.14.3.tar.xz) = 565496
diff --git a/devel/ccache4/files/patch-src_ccache_hashutil.cpp b/devel/ccache4/files/patch-src_ccache_hashutil.cpp
deleted file mode 100644
index fb373aa8d052..000000000000
--- a/devel/ccache4/files/patch-src_ccache_hashutil.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/ccache/hashutil.cpp.orig 2026-10-18 11:12:58 UTC
-+++ src/ccache/hashutil.cpp
-@@ -167,9 +167,9 @@ check_for_incbin_directive(std::string_view str, size_
- const char* p = begin + pos + incbin_size;
- p = skip_horizontal_whitespace(p, end);
-
-- return p < end && (*p == '"' || (*p == '\\' && p + 1 < end && p[1] == '"'))
-- ? SourceCodeScan::found_incbin
-- : SourceCodeScan::none;
-+ // If followed by left parenthesis it's a method call.
-+ return p < end && *p == '(' ? SourceCodeScan::none
-+ : SourceCodeScan::found_incbin;
- }
-
- void
diff --git a/devel/ccache4/files/patch-test_suites_base.bash b/devel/ccache4/files/patch-test_suites_base.bash
deleted file mode 100644
index c69377a7bbeb..000000000000
--- a/devel/ccache4/files/patch-test_suites_base.bash
+++ /dev/null
@@ -1,27 +0,0 @@
---- test/suites/base.bash.orig 2026-11-07 17:55:50 UTC
-+++ test/suites/base.bash
-@@ -1996,6 +1996,24 @@ EOF
- expect_stat unsupported_code_directive 1
-
- # -------------------------------------------------------------------------
-+ TEST ".incbin with macro operand in .S, direct mode"
-+
-+ unset CCACHE_NODIRECT
-+
-+ touch empty.bin
-+
-+ cat <<EOF >incbin.S
-+ .incbin EMPTY_BIN
-+EOF
-+
-+ $CCACHE_COMPILE -c -o incbin.o -DEMPTY_BIN='"empty.bin"' incbin.S
-+
-+ expect_stat cache_miss 0
-+ expect_stat direct_cache_hit 0
-+ expect_stat preprocessed_cache_hit 0
-+ expect_stat unsupported_code_directive 1
-+
-+ # -------------------------------------------------------------------------
- if ! $HOST_OS_WINDOWS; then
- TEST "UNCACHED_ERR_FD set when executing preprocessor and compiler"
-
diff --git a/devel/ccache4/files/patch-unittest_test__hashutil.cpp b/devel/ccache4/files/patch-unittest_test__hashutil.cpp
deleted file mode 100644
index 8d6bfaa72829..000000000000
--- a/devel/ccache4/files/patch-unittest_test__hashutil.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
---- unittest/test_hashutil.cpp.orig 2026-10-18 11:12:58 UTC
-+++ unittest/test_hashutil.cpp
-@@ -381,8 +381,32 @@ TEST_CASE("check_for_source_code_patterns: macro-expan
- CHECK(result.contains(SourceCodeScan::found_embed));
- }
-
-+TEST_CASE("check_for_source_code_patterns: macro-expanded incbin operand")
-+{
-+ TestContext test_context;
-+
-+ const std::string source = FMT(".inc{}bin RESOURCE\n", "");
-+ SourceCodeScanResult result;
-+
-+ SUBCASE("scalar")
-+ {
-+ result = check_for_source_code_patterns_scalar(source);
-+ }
-+
- #ifdef HAVE_AVX2
-+ if (util::cpu_supports_avx2()) {
-+ SUBCASE("avx2")
-+ {
-+ result = check_for_source_code_patterns_avx2(source);
-+ }
-+ }
-+#endif
-
-+ CHECK(result.contains(SourceCodeScan::found_incbin));
-+}
-+
-+#ifdef HAVE_AVX2
-+
- static bool
- contains_embed_directive(std::string_view source)
- {
-@@ -532,7 +556,7 @@ TEST_CASE("check_for_source_code_patterns_avx2: no inc
- * doctest::skip(!util::cpu_supports_avx2()))
- {
- CHECK_FALSE(contains_incbin_directive(
-- FMT("\n #include <stdio.h>\n .inc{}bin data.bin\n ", "")));
-+ FMT("\n #include <stdio.h>\n .inc{}bin(data)\n ", "")));
- }
-
- TEST_CASE("check_for_source_code_patterns_avx2: simple incbin"