package/cache-calibrator: fix build failure for implicit declaration

Fixes:
 - http://autobuild.buildroot.org/results/db996c894c810ff5c7f4263975d1def0edef6d55

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
diff --git a/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch b/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch
new file mode 100644
index 0000000..fcad669
--- /dev/null
+++ b/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch
@@ -0,0 +1,33 @@
+From 29c4e0038b212e953cc59ac8b31d4541db758a3d Mon Sep 17 00:00:00 2001
+From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+Date: Tue, 3 Sep 2024 17:43:44 +0200
+Subject: [PATCH] Fix build failure due to getpagesize implicit declaration
+
+The patch fixes the following build error:
+
+calibrator.c: In function 'runCache':
+calibrator.c:267:24: error: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration]
+
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+Upstream: sent to Stefan Manegold Stefan.Manegold@cwi.nl
+---
+ calibrator.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/calibrator.c b/calibrator.c
+index e045dfdcb96b..fd2fadb26020 100644
+--- a/calibrator.c
++++ b/calibrator.c
+@@ -37,9 +37,7 @@
+  * THE POSSIBILITY OF SUCH DAMAGE.
+  */
+ 
+-/*
+ #include        <unistd.h>
+-*/
+ #include        <stdlib.h>
+ #include	<stdio.h>
+ #include	<math.h>
+-- 
+2.43.0
+