Files
ports/editors/imhex/files/patch-main_updater_source_main.cpp
T
Robert Clausecker 990fea4f7e editors/imhex: fix build on armv7, enable on 32 bit architectures
Seems like int128_t is no longer required.

Approved by:	portmgr (build fix blanket)
MFH:		2026Q1
2026-01-26 23:59:50 +01:00

19 lines
609 B
C++

--- main/updater/source/main.cpp.orig 2026-01-25 11:36:14 UTC
+++ main/updater/source/main.cpp
@@ -107,7 +107,7 @@ std::optional<std::fs::path> downloadUpdate(const std:
#elif defined(__arm64__) || defined(_ARM64_) || defined(__aarch64__) || defined(_M_ARM64)
#define ARCH_DEPENDENT(x86_64, arm64) arm64
#else
- #error "Unsupported architecture for updater"
+ #define ARCH_DEPENDENT(x86_64, arm64) ""
#endif
std::string_view getUpdateArtifactEnding() {
@@ -333,4 +333,4 @@ int main(int argc, char **argv) {
} else {
return EXIT_SUCCESS;
}
-}
\ No newline at end of file
+}