mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 09:11:50 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
--- third_party/zlib/BUILD.gn.orig 2024-02-27 21:36:00 UTC
|
|
+++ third_party/zlib/BUILD.gn
|
|
@@ -128,7 +128,7 @@ if (use_arm_neon_optimizations) {
|
|
defines = [ "CRC32_ARMV8_CRC32" ]
|
|
if (is_android) {
|
|
defines += [ "ARMV8_OS_ANDROID" ]
|
|
- } else if (is_linux || is_chromeos) {
|
|
+ } else if ((is_linux || is_chromeos) && !is_bsd) {
|
|
defines += [ "ARMV8_OS_LINUX" ]
|
|
} else if (is_mac) {
|
|
defines += [ "ARMV8_OS_MACOS" ]
|
|
@@ -138,6 +138,10 @@ if (use_arm_neon_optimizations) {
|
|
defines += [ "ARMV8_OS_FUCHSIA" ]
|
|
} else if (is_win) {
|
|
defines += [ "ARMV8_OS_WINDOWS" ]
|
|
+ } else if (is_openbsd) {
|
|
+ defines += [ "ARMV8_OS_OPENBSD" ]
|
|
+ } else if (is_freebsd) {
|
|
+ defines += [ "ARMV8_OS_FREEBSD" ]
|
|
} else {
|
|
assert(false, "Unsupported ARM OS")
|
|
}
|
|
@@ -411,7 +415,7 @@ static_library("minizip") {
|
|
]
|
|
}
|
|
|
|
- if (is_apple || is_android || is_nacl) {
|
|
+ if (is_apple || is_android || is_nacl || is_bsd) {
|
|
# Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We
|
|
# use fopen, ftell, and fseek instead on these systems.
|
|
defines = [ "USE_FILE32API" ]
|