ports/devel/electron4/files/patch-third__party_zlib_BUILD.gn
Luca Pizzamiglio 2f40d531c4 devel/electron4: Add electron 4.2.2
Finally, after a long wait, an electron port for FreeBSD lands in the
portstree.

A huge thanks to everyone contributed to this huge effort and to the
maintainer that is willing to take the burden of the maintainership!
2019-05-28 09:12:02 +00:00

20 lines
709 B
Text

--- third_party/zlib/BUILD.gn.orig 2019-03-15 06:38:25 UTC
+++ third_party/zlib/BUILD.gn
@@ -68,7 +68,7 @@ config("zlib_arm_crc32_config") {
if (is_android) {
defines += [ "ARMV8_OS_ANDROID" ]
} else if (is_linux || is_chromeos) {
- defines += [ "ARMV8_OS_LINUX" ]
+# defines += [ "ARMV8_OS_LINUX" ]
}
}
}
@@ -327,7 +327,7 @@ static_library("minizip") {
]
}
- if (is_mac || is_ios || is_android || is_nacl) {
+ if (is_mac || is_ios || 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" ]