efivar: update to 39

release notes:
- https://github.com/rhboot/efivar/releases/tag/38
- https://github.com/rhboot/efivar/releases/tag/39
This commit is contained in:
heitbaum 2022-01-14 23:42:39 +00:00 committed by Rudi Heitbaum
parent cbbef6a9d3
commit c6b3310272
3 changed files with 3 additions and 27 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="efivar"
PKG_VERSION="b920a6ca82250504167066d24aa8731ad29a0de8" # 10 Dec 2021
PKG_SHA256="def327792854bdb5bc442e2907e1871c954e55e33d67045dcd2d2988f8a08afd"
PKG_VERSION="39"
PKG_SHA256="c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6"
PKG_ARCH="x86_64"
PKG_LICENSE="LGPL"
PKG_SITE="https://github.com/rhboot/efivar"
@ -27,7 +27,7 @@ pre_make_target() {
}
make_target() {
make CROSS_COMPILE=${TARGET_NAME}- -C src/ libefivar.a libefiboot.a efivar.h efivar
make CROSS_COMPILE=${TARGET_NAME}- -C src/ libefivar.a libefiboot.a efivar.h efivar-static
}
makeinstall_host() {

View File

@ -1,13 +0,0 @@
--- 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 <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
-#include <sys/mount.h>
+#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 <sys/stat.h>
#include <sys/types.h>
#include <tgmath.h>

View File

@ -1,11 +0,0 @@
--- a/src/Makefile 2018-10-01 21:30:06.000000000 +0200
+++ b/src/Makefile 2018-10-17 14:16:46.000000000 +0200
@@ -93,7 +93,7 @@
libefivar.so : LIBS=dl
libefivar.so : MAP=libefivar.map
-efivar : $(EFIVAR_OBJECTS) | libefivar.so
+efivar : $(EFIVAR_OBJECTS) | libefivar.a
efivar : LIBS=efivar dl
efivar-static : $(EFIVAR_OBJECTS) $(patsubst %.o,%.static.o,$(LIBEFIVAR_OBJECTS))