aboutsummaryrefslogtreecommitdiffstats
path: root/main/ccache/ioctl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ccache/ioctl.patch')
-rw-r--r--main/ccache/ioctl.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/ccache/ioctl.patch b/main/ccache/ioctl.patch
index d2aac62b320..1abfc45ae22 100644
--- a/main/ccache/ioctl.patch
+++ b/main/ccache/ioctl.patch
@@ -5,15 +5,14 @@ int explicitly.
See https://www.openwall.com/lists/musl/2020/01/20/2
-diff -upr ccache-4.3.orig/src/Util.cpp ccache-4.3/src/Util.cpp
---- ccache-4.3.orig/src/Util.cpp 2021-10-26 20:08:52.043967336 +0200
-+++ ccache-4.3/src/Util.cpp 2021-10-26 20:09:08.797534622 +0200
-@@ -246,7 +246,7 @@ clone_file(const std::string& src, const
+--- a/src/storage/local/LocalStorage.cpp
++++ b/src/storage/local/LocalStorage.cpp
+@@ -263,7 +263,7 @@
}
}
- if (ioctl(*dest_fd, FICLONE, *src_fd) != 0) {
+ if (ioctl(*dest_fd, (int)FICLONE, *src_fd) != 0) {
- throw Error(strerror(errno));
+ throw core::Error(strerror(errno));
}