imhex: update to 1.37.4.

This commit is contained in:
Komeil Parseh 2025-08-08 12:30:56 +03:30 committed by Duncan Overbruck
parent 20848dcf63
commit 893a62fdfa
2 changed files with 39 additions and 4 deletions

View file

@ -0,0 +1,35 @@
--- a/lib/third_party/miniaudio/include/miniaudio.h
+++ b/lib/third_party/miniaudio/include/miniaudio.h
@@ -13124,15 +13124,7 @@
return ma_result_from_errno(err);
}
#else
-#if defined(_WIN32) || defined(__APPLE__)
*ppFile = fopen(pFilePath, pOpenMode);
-#else
- #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 && defined(_LARGEFILE64_SOURCE)
- *ppFile = fopen64(pFilePath, pOpenMode);
- #else
- *ppFile = fopen(pFilePath, pOpenMode);
- #endif
-#endif
if (*ppFile == NULL) {
ma_result result = ma_result_from_errno(errno);
if (result == MA_SUCCESS) {
--- a/plugins/builtin/source/content/providers/disk_provider.cpp
+++ b/plugins/builtin/source/content/providers/disk_provider.cpp
@@ -43,13 +43,6 @@
#include <sys/disk.h>
#endif
-#if defined(OS_LINUX) && !defined(OS_FREEBSD)
- #define lseek lseek64
-#elif defined(OS_FREEBSD)
- #include <sys/disk.h>
- #define DEFAULT_SECTOR_SIZE 512
-#endif
-
namespace hex::plugin::builtin {
bool DiskProvider::isAvailable() const {

View file

@ -1,7 +1,7 @@
# Template file for 'imhex'
pkgname=imhex
version=1.35.4
revision=2
version=1.37.4
revision=1
build_wrksrc="ImHex"
build_style=cmake
build_helper=qemu
@ -21,8 +21,8 @@ homepage="https://imhex.werwolv.net/"
changelog="https://github.com/WerWolv/ImHex/releases"
distfiles="https://github.com/WerWolv/ImHex/releases/download/v${version}/Full.Sources.tar.gz>imhex-${version}.tar.gz
https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${version}.tar.gz>imhex-patterns-${version}.tar.gz"
checksum="987188df511a01dca407c4fd398a9dbc805ef82cdf044ea27da57ec343c7d6df
10df85b64b4c14945e43ad14b3ff95cda9ba23e47f4559b5429c2dc733fe23ed"
checksum="711481cc8dfc368d1b88f5d3e8a44d65f23fa43eb9db092599924f3a4cf1aaa2
541eddc8cc427d1aeb749bc455911fccc87f64a7784bd4bbc35ecb7b56c03ad5"
patch_args="-Np1 -d $build_wrksrc"
python_version=3