diff options
Diffstat (limited to 'www/chromium/patches/patch-third_party_zlib_BUILD_gn')
| -rw-r--r-- | www/chromium/patches/patch-third_party_zlib_BUILD_gn | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/www/chromium/patches/patch-third_party_zlib_BUILD_gn b/www/chromium/patches/patch-third_party_zlib_BUILD_gn deleted file mode 100644 index 4a609b9..0000000 --- a/www/chromium/patches/patch-third_party_zlib_BUILD_gn +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | Index: third_party/zlib/BUILD.gn | ||
| 2 | --- third_party/zlib/BUILD.gn.orig | ||
| 3 | +++ third_party/zlib/BUILD.gn | ||
| 4 | @@ -115,7 +115,7 @@ if (use_arm_neon_optimizations) { | ||
| 5 | # Disabled for iPhone, as described in DDI0487C_a_armv8_arm: | ||
| 6 | # "All implementations of the ARMv8.1 architecture are required to | ||
| 7 | # implement the CRC32* instructions. These are optional in ARMv8.0." | ||
| 8 | - if (!is_ios) { | ||
| 9 | + if (!is_ios && !is_bsd) { | ||
| 10 | defines = [ "CRC32_ARMV8_CRC32" ] | ||
| 11 | if (is_android) { | ||
| 12 | defines += [ "ARMV8_OS_ANDROID" ] | ||
| 13 | @@ -136,7 +136,7 @@ if (use_arm_neon_optimizations) { | ||
| 14 | source_set("zlib_arm_crc32") { | ||
| 15 | visibility = [ ":*" ] | ||
| 16 | |||
| 17 | - if (!is_ios) { | ||
| 18 | + if (!is_ios && !is_bsd) { | ||
| 19 | include_dirs = [ "." ] | ||
| 20 | |||
| 21 | if (!is_win && !is_clang) { | ||
| 22 | @@ -396,7 +396,7 @@ static_library("minizip") { | ||
| 23 | ] | ||
| 24 | } | ||
| 25 | |||
| 26 | - if (is_apple || is_android || is_nacl) { | ||
| 27 | + if (is_apple || is_android || is_nacl || is_bsd) { | ||
| 28 | # Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We | ||
| 29 | # use fopen, ftell, and fseek instead on these systems. | ||
| 30 | defines = [ "USE_FILE32API" ] | ||
