head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2024.07.22.17.48.58; author adam; state dead; branches; next 1.1; commitid Ld6eiYjSB7v4qRiF; 1.1 date 2024.07.15.15.06.42; author adam; state Exp; branches; next ; commitid iJFPw9oI4OYtKWhF; desc @@ 1.2 log @ccache: updated to 4.10.2 Ccache 4.10.2 Build improvements * Fixed detection of Fmt version 11 and newer. Test improvements * Made the “-fprofile-update=atomic” test only run when that option is supported by the compiler. * Made the color diagnostics tests work when the user running the tests has a non-POSIX login shell. @ text @$NetBSD: patch-cmake_FindFmt.cmake,v 1.1 2024/07/15 15:06:42 adam Exp $ Find fmtlib 11. --- cmake/FindFmt.cmake.orig 2024-07-15 09:38:26.402859261 +0000 +++ cmake/FindFmt.cmake @@@@ -6,7 +6,7 @@@@ else() find_path(FMT_INCLUDE_DIR fmt/core.h) find_library(FMT_LIBRARY fmt) if(FMT_INCLUDE_DIR AND FMT_LIBRARY) - file(READ "${FMT_INCLUDE_DIR}/fmt/core.h" _fmt_core_h) + file(READ "${FMT_INCLUDE_DIR}/fmt/base.h" _fmt_core_h) string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_core_h}") math(EXPR _fmt_major "${CMAKE_MATCH_1} / 10000") math(EXPR _fmt_minor "${CMAKE_MATCH_1} / 100 % 100") @ 1.1 log @ccache: add missing patch @ text @d1 1 a1 1 $NetBSD$ @