Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions srcpkgs/ccache/patches/ioctl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ 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)
}
}

- if (ioctl(*dest_fd, FICLONE, *src_fd) != 0) {
+ if (ioctl(*dest_fd, (int)FICLONE, *src_fd) != 0) {
throw core::Error(strerror(errno));
}

10 changes: 5 additions & 5 deletions srcpkgs/ccache/template
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
}