git: ceadfd8850e2 - main - devel/electron12: Fix build on aarch64
Mikael Urankar
mikael at FreeBSD.org
Thu Sep 9 12:07:44 UTC 2021
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ceadfd8850e24108a73551ac4c848f2c74e9716e
commit ceadfd8850e24108a73551ac4c848f2c74e9716e
Author: Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-09 12:06:57 +0000
Commit: Mikael Urankar <mikael at FreeBSD.org>
CommitDate: 2021-09-09 12:06:57 +0000
devel/electron12: Fix build on aarch64
Approved by: portmgr (build fix blanket)
---
devel/electron12/files/patch-third__party_zlib_BUILD.gn | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/devel/electron12/files/patch-third__party_zlib_BUILD.gn b/devel/electron12/files/patch-third__party_zlib_BUILD.gn
new file mode 100644
index 000000000000..822486e2ff69
--- /dev/null
+++ b/devel/electron12/files/patch-third__party_zlib_BUILD.gn
@@ -0,0 +1,11 @@
+--- third_party/zlib/BUILD.gn.orig 2021-04-13 08:26:04 UTC
++++ third_party/zlib/BUILD.gn
+@@ -108,6 +108,8 @@ if (use_arm_neon_optimizations) {
+ 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) {
More information about the dev-commits-ports-all
mailing list