www/chromium: add back patch for aarch64
MFH: 2021Q2
This commit is contained in:
parent
6c2178c18d
commit
a0ca21b89d
1 changed files with 20 additions and 0 deletions
20
www/chromium/files/patch-third__party_zlib_BUILD.gn
Normal file
20
www/chromium/files/patch-third__party_zlib_BUILD.gn
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- third_party/zlib/BUILD.gn.orig 2021-04-22 11:59:36.597280000 +0200
|
||||
+++ third_party/zlib/BUILD.gn 2021-04-30 13:06:24.267005000 +0200
|
||||
@@ -108,6 +108,8 @@
|
||||
defines = [ "CRC32_ARMV8_CRC32" ]
|
||||
if (is_android) {
|
||||
defines += [ "ARMV8_OS_ANDROID" ]
|
||||
+ } else if (is_bsd) {
|
||||
+ defines += [ "ARMV8_OS_FREEBSD" ]
|
||||
} else if (is_linux || is_chromeos) {
|
||||
defines += [ "ARMV8_OS_LINUX" ]
|
||||
} else if (is_mac) {
|
||||
@@ -385,7 +387,7 @@
|
||||
]
|
||||
}
|
||||
|
||||
- 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" ]
|
Loading…
Reference in a new issue