diff --git a/srcpkgs/ccache/patches/ioctl.patch b/srcpkgs/ccache/patches/ioctl.patch index 711650eb060358..f56c490151acde 100644 --- a/srcpkgs/ccache/patches/ioctl.patch +++ b/srcpkgs/ccache/patches/ioctl.patch @@ -5,10 +5,11 @@ int explicitly. See https://www.openwall.com/lists/musl/2020/01/20/2 -diff -upr a/src/ccache/storage/local/LocalStorage.cpp b/src/ccache/storage/local/LocalStorage.cpp ---- a/src/ccache/storage/local/LocalStorage.cpp 2024-06-30 20:46:01.000000000 +0200 -+++ b/src/ccache/storage/local/LocalStorage.cpp 2024-07-03 16:29:39.073705276 +0200 -@@ -264,7 +264,7 @@ clone_file(const std::string& src, const +diff --git a/src/ccache/storage/local/localstorage.cpp b/src/ccache/storage/local/localstorage.cpp +index e4f7bf4b..c57af9d0 100644 +--- a/src/ccache/storage/local/localstorage.cpp ++++ b/src/ccache/storage/local/localstorage.cpp +@@ -251,7 +251,7 @@ clone_file(const fs::path& src, const fs::path& dest, bool via_tmp_file) } } @@ -16,3 +17,4 @@ diff -upr a/src/ccache/storage/local/LocalStorage.cpp b/src/ccache/storage/local + if (ioctl(*dest_fd, (int)FICLONE, *src_fd) != 0) { throw core::Error(strerror(errno)); } + diff --git a/srcpkgs/ccache/template b/srcpkgs/ccache/template index 640e1b6f80b514..24b5bd675236f6 100644 --- a/srcpkgs/ccache/template +++ b/srcpkgs/ccache/template @@ -1,6 +1,6 @@ # Template file for 'ccache' pkgname=ccache -version=4.10.2 +version=4.13.2 revision=1 build_style=cmake configure_args="-DENABLE_TESTING=OFF -DREDIS_STORAGE_BACKEND=OFF @@ -12,9 +12,9 @@ license="GPL-3.0-or-later" homepage="https://ccache.dev" changelog="https://ccache.dev/releasenotes.html" distfiles="https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.xz - https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}-linux-x86_64.tar.xz" -checksum="c0b85ddfc1a3e77b105ec9ada2d24aad617fa0b447c6a94d55890972810f0f5a - 80cab87bd510eca796467aee8e663c398239e0df1c4800a0b5dff11dca0b4f18" + https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}-linux-x86_64-glibc.tar.xz" +checksum="4a0d835f1b3fd7e2ac58a511718bbc902532941f377f7990a3d33b5cf8733ba6 + e9e2bcec3cd816ba58ff1c331fdeaa3465760683eeec9f462c31b909e2651e35" if [ -n "$XBPS_CHECK_PKGS" ]; then @@ -54,5 +54,5 @@ post_install() { done done # pregenerated manpage to avoid bringing ruby into the build - vman ccache-${version}-linux-x86_64/ccache.1 + vman ccache-${version}-linux-x86_64-glibc/ccache.1 }