efivar: fix compilation with musl 1.2.4
authorTianling Shen <cnsztl@immortalwrt.org>
Fri, 19 May 2023 09:37:24 +0000 (17:37 +0800)
committerTianling Shen <cnsztl@gmail.com>
Sat, 20 May 2023 05:05:33 +0000 (13:05 +0800)
commitf03a2827ea2c2a8d8b63733b3dc75652b8530ae1
tree27b754b07c7fbdd26fc5ea475d359e08b2d8b97d
parentb9481f55d85dfca003606ca6bfbc55243ee74f9c
efivar: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Backport an upstream fix to replace these old data types.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
libs/efivar/Makefile
libs/efivar/patches/003-Use-off_t-instead-of-off64_t.patch [new file with mode: 0644]