diff --git a/extra/ccache/build b/extra/ccache/build index 1d8ea557..cf9b1b45 100755 --- a/extra/ccache/build +++ b/extra/ccache/build @@ -1,7 +1,8 @@ #!/bin/sh -e -export CFLAGS="$CFLAGS -static" -export CXXFLAGS="$CXXFLAGS -static" +patch -p1 < time_t.patch + +export LDFLAGS="$LDFLAGS -static" cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ diff --git a/extra/ccache/checksums b/extra/ccache/checksums index 48ef1c74..bb792928 100644 --- a/extra/ccache/checksums +++ b/extra/ccache/checksums @@ -1 +1,2 @@ -e5d47bd3cbb504ada864124690e7c0d28ecb1f9aeac22a9976025aed9633f3d1 +789a2435d7fde2eaef5ec7b3ecf2366e546f764253e9999fdf008d2dd7f3b10c +1ab970092f1c576c874f406fea82f09fdf85ad853d16a8e8260f9e562219673e diff --git a/extra/ccache/patches/time_t.patch b/extra/ccache/patches/time_t.patch new file mode 100644 index 00000000..c59b8278 --- /dev/null +++ b/extra/ccache/patches/time_t.patch @@ -0,0 +1,12 @@ +diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp +index 54f32e9..eb80e1c 100644 +--- a/src/core/Statistics.hpp ++++ b/src/core/Statistics.hpp +@@ -21,6 +21,7 @@ + #include + + #include ++#include + #include + #include + #include diff --git a/extra/ccache/sources b/extra/ccache/sources index 3358eaee..97869671 100644 --- a/extra/ccache/sources +++ b/extra/ccache/sources @@ -1 +1,2 @@ https://github.com/ccache/ccache/releases/download/vVERSION/ccache-VERSION.tar.xz +patches/time_t.patch diff --git a/extra/ccache/version b/extra/ccache/version index 9fa68d8c..e542be76 100644 --- a/extra/ccache/version +++ b/extra/ccache/version @@ -1 +1 @@ -4.6.1 1 +4.6.2 1