ports/www/chromium/patches/patch-third_party_zlib_BUILD_gn

12 lines
433 B
Text

Index: third_party/zlib/BUILD.gn
--- third_party/zlib/BUILD.gn.orig
+++ third_party/zlib/BUILD.gn
@@ -408,7 +408,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" ]