Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2021 15:46:18 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a0ca21b89d3f - main - www/chromium: add back patch for aarch64
Message-ID:  <202104301546.13UFkIRg046776@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0ca21b89d3f42a6f47a7ce2e9f74948051c467a

commit a0ca21b89d3f42a6f47a7ce2e9f74948051c467a
Author:     Matthias Wolf <matthias@rheinwolf.de>
AuthorDate: 2021-04-30 15:44:50 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2021-04-30 15:44:50 +0000

    www/chromium: add back patch for aarch64
    
    MFH:            2021Q2
---
 www/chromium/files/patch-third__party_zlib_BUILD.gn | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/www/chromium/files/patch-third__party_zlib_BUILD.gn b/www/chromium/files/patch-third__party_zlib_BUILD.gn
new file mode 100644
index 000000000000..154d7beef05e
--- /dev/null
+++ b/www/chromium/files/patch-third__party_zlib_BUILD.gn
@@ -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" ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104301546.13UFkIRg046776>