From b84e1641c6ea62bce80bc0bf878cadf3b5eaca68 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Tue, 19 Jul 2022 09:55:24 +0000 Subject: [PATCH] efivar: enable compile with glibc 2.36 --- .../patches/efivar-01-compile-with-glibc-2.36.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-compile-with-glibc-2.36.patch diff --git a/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-compile-with-glibc-2.36.patch b/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-compile-with-glibc-2.36.patch new file mode 100644 index 0000000000..a281f11add --- /dev/null +++ b/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-compile-with-glibc-2.36.patch @@ -0,0 +1,13 @@ +--- a/src/util.h 2022-01-14 19:29:35.000000000 +0000 ++++ b/src/util.h 2022-07-19 09:43:36.718759307 +0000 +@@ -23,7 +23,9 @@ + #include + #include + #include +-#include ++#define BLKGETSIZE _IO(0x12, 96) /* Return device size. */ ++#define BLKSSZGET _IO(0x12,104) /* Get block device sector size. */ ++#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size. */ + #include + #include + #include