Date: Tue, 4 Oct 2022 02:03:30 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4511030c2086 - main - sysutils/UEFITool: update to 62 Message-ID: <202210040203.29423UFU078086@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4511030c20861e6013f4e28f124592af9966613c commit 4511030c20861e6013f4e28f124592af9966613c Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-10-04 02:02:12 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-10-04 02:03:24 +0000 sysutils/UEFITool: update to 62 Changelog: https://github.com/LongSoft/UEFITool/releases/tag/A62 --- sysutils/UEFITool/Makefile | 2 +- sysutils/UEFITool/distinfo | 6 ++-- .../files/patch-common_LZMA_SDK_C_CpuArch.c | 33 ---------------------- .../files/patch-common_kaitai_kaitaistream.cpp | 15 ---------- 4 files changed, 4 insertions(+), 52 deletions(-) diff --git a/sysutils/UEFITool/Makefile b/sysutils/UEFITool/Makefile index 5645e0cf1cc2..517fa9b1502d 100644 --- a/sysutils/UEFITool/Makefile +++ b/sysutils/UEFITool/Makefile @@ -1,6 +1,6 @@ PORTNAME= UEFITool DISTVERSIONPREFIX= A -DISTVERSION= 61 +DISTVERSION= 62 CATEGORIES= sysutils MAINTAINER= pkubaj@FreeBSD.org diff --git a/sysutils/UEFITool/distinfo b/sysutils/UEFITool/distinfo index 37f510b4ac63..d50ac61ad496 100644 --- a/sysutils/UEFITool/distinfo +++ b/sysutils/UEFITool/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662933205 -SHA256 (LongSoft-UEFITool-A61_GH0.tar.gz) = 54fbc130a71e6474f0f9342166465670dff0dac9ba743fe162ae2c9912826155 -SIZE (LongSoft-UEFITool-A61_GH0.tar.gz) = 942753 +TIMESTAMP = 1664844652 +SHA256 (LongSoft-UEFITool-A62_GH0.tar.gz) = fa39be2912141f7d95cd733acf2f49e94c1df3cfbb069bb856d6e9bae86ff8bb +SIZE (LongSoft-UEFITool-A62_GH0.tar.gz) = 1358253 diff --git a/sysutils/UEFITool/files/patch-common_LZMA_SDK_C_CpuArch.c b/sysutils/UEFITool/files/patch-common_LZMA_SDK_C_CpuArch.c deleted file mode 100644 index bcf8542c49c4..000000000000 --- a/sysutils/UEFITool/files/patch-common_LZMA_SDK_C_CpuArch.c +++ /dev/null @@ -1,33 +0,0 @@ ---- ../common/LZMA/SDK/C/CpuArch.c.orig 2022-09-10 16:08:06.000000000 +0200 -+++ ../common/LZMA/SDK/C/CpuArch.c 2022-09-21 09:40:04.461577000 +0200 -@@ -421,10 +421,17 @@ - - #ifdef USE_HWCAP - -+#ifdef __linux__ - #include <asm/hwcap.h> -+#endif - -+#ifdef __linux__ - #define MY_HWCAP_CHECK_FUNC_2(name1, name2) \ - BoolInt CPU_IsSupported_ ## name1() { return (getauxval(AT_HWCAP) & (HWCAP_ ## name2)) ? 1 : 0; } -+#elif defined(__FreeBSD__) -+ #define MY_HWCAP_CHECK_FUNC_2(name1, name2) \ -+ BoolInt CPU_IsSupported_ ## name1() { uint32_t hwcaps = 0; elf_aux_info(AT_HWCAP, &hwcaps, sizeof(hwcaps)); return (hwcaps & (HWCAP_ ## name2)) ? 1 : 0; } -+#endif - - #ifdef MY_CPU_ARM64 - #define MY_HWCAP_CHECK_FUNC(name) \ -@@ -432,8 +439,13 @@ - MY_HWCAP_CHECK_FUNC_2(NEON, ASIMD) - // MY_HWCAP_CHECK_FUNC (ASIMD) - #elif defined(MY_CPU_ARM) -+#ifdef __linux__ - #define MY_HWCAP_CHECK_FUNC(name) \ - BoolInt CPU_IsSupported_ ## name() { return (getauxval(AT_HWCAP2) & (HWCAP2_ ## name)) ? 1 : 0; } -+#elif defined(__FreeBSD__) -+ #define MY_HWCAP_CHECK_FUNC(name) \ -+ BoolInt CPU_IsSupported_ ## name() { uint32_t hwcaps = 0; elf_aux_info(AT_HWCAP2, &hwcaps, sizeof(hwcaps)); return (hwcaps & (HWCAP2_ ## name)) ? 1 : 0; } -+#endif - MY_HWCAP_CHECK_FUNC_2(NEON, NEON) - #endif diff --git a/sysutils/UEFITool/files/patch-common_kaitai_kaitaistream.cpp b/sysutils/UEFITool/files/patch-common_kaitai_kaitaistream.cpp deleted file mode 100644 index f94149671a32..000000000000 --- a/sysutils/UEFITool/files/patch-common_kaitai_kaitaistream.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- ../common/kaitai/kaitaistream.cpp.orig 2022-09-11 22:19:28 UTC -+++ ../common/kaitai/kaitaistream.cpp -@@ -20,8 +20,10 @@ - #define bswap_32(x) _byteswap_ulong(x) - #define bswap_64(x) _byteswap_uint64(x) - #else // !__APPLE__ or !_MSC_VER --#include <endian.h> --#include <byteswap.h> -+#include <sys/endian.h> -+#define bswap_16(x) bswap16(x) -+#define bswap_32(x) bswap32(x) -+#define bswap_64(x) bswap64(x) - #endif - - #include <iostream>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210040203.29423UFU078086>