$OpenBSD: patch-third_party_zlib_BUILD_gn,v 1.7 2018/03/12 13:48:34 robert Exp $

Index: third_party/zlib/BUILD.gn
--- third_party/zlib/BUILD.gn.orig
+++ third_party/zlib/BUILD.gn
@@ -262,7 +262,7 @@ static_library("minizip") {
       "contrib/minizip/iowin32.h",
     ]
   }
-  if (is_mac || is_ios || is_android || is_nacl) {
+  if (is_mac || is_ios || is_android || is_nacl || is_openbsd) {
     # 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" ]
