Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/www/seamonkey/Makefile,v retrieving revision 1.234 diff -p -u -r1.234 Makefile --- Makefile 21 Apr 2021 11:42:56 -0000 1.234 +++ Makefile 30 Apr 2021 10:03:56 -0000 @@ -58,11 +58,23 @@ CHECK_INTERPRETER_SKIP+= lib/seamonkey-s CHECK_WRKREF_SKIP= lib/seamonkey/chrome/toolkit/content/global/buildconfig.html CHECK_WRKREF_SKIP+= lib/seamonkey/chrome/comm/content/communicator/buildconfig.html -CKSUM_CRATES+= third_party/rust/libc +CKSUM_CRATES+= third_party/rust/libc third_party/rust/encoding_rs # patch-mozilla_third__party_rust_libc_src_unix_bsd_netbsdlike_netbsd_other_mod.rs CKSUMS+= 4d9f7091af8e166943ac6f42ce85558909e5b6e61325039bff7adfbcf4b90212 CKSUMS+= 30c5211b393d9314f880f63e29833785c8b55369102eec21170a0fe0fd1c4a16 +# patch-mozilla_third__party_rust_encoding_rs_src_ascii.rs +CKSUMS+= e2917fb9f605662ec4705d8c0b3c179f2264697a761191c3ec8101748cf717dc +CKSUMS+= dae14be9dfb43f895a7c0a782b1b50c92d3fb62f99759c4113a473da397a3693 +# patch-mozilla_third__party_rust_encoding_rs_src_handles.rs.orig +CKSUMS+= 800cfbe3036d0c97ce27e07a4fd05edbcb7354ebec20903d81c76136d734931c +CKSUMS+= 84f0bf943ee4950429e8571117451f78a43b26c3df185528dd6cfdfb086ce402 +# patch-mozilla_third__party_rust_encoding_rs_src_lib.rs.orig +CKSUMS+= 0646bd091892ff7a76f34efccda4e5ddabe1e624e890baa9fdc9d48011d2d38b +CKSUMS+= 113922419812e1b587e3d49c79e4e02f23255fcbf9c9d174cf56ee461dbbef78 +# patch-mozilla_third__party_rust_encoding_rs_src_mem.rs +CKSUMS+= 5498de31e816f51348b8d298d4fc9568da6b0b9363146f87ca5503131d33397f +CKSUMS+= 6a37d0c4175a36f2c75027844c2d38dfa443dba3208c47741cd523267aa89d19 SUBST_CLASSES+= cksum SUBST_STAGE.cksum= pre-configure Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/www/seamonkey/distinfo,v retrieving revision 1.170 diff -p -u -r1.170 distinfo --- distinfo 8 Feb 2021 12:26:20 -0000 1.170 +++ distinfo 30 Apr 2021 10:03:56 -0000 @@ -8,9 +8,11 @@ SHA1 (patch-build_moz.configure_rust.con SHA1 (patch-ldap_c-sdk_include_portable.h) = b742b070a45507678f592428110477e484c52659 SHA1 (patch-mailnews_base_search_src_nsMsgSearchTerm.cpp) = 5a5890c5347cdb1a0899eebe4f014584fa460c10 SHA1 (patch-mozilla_browser_branding_unofficial_locales_en-US_brand.dtd) = 5c6074fb8e0baf4e7dc2dd49718bfd285e65e3e1 +SHA1 (patch-mozilla_build_moz.configure_init.configure) = 5130c6e661cdcf12a3f82670c75e864c10519de1 SHA1 (patch-mozilla_dom_base_nsAttrName.h) = 37ffbf4bf4c43b62759d68af858717ddd9108fe8 SHA1 (patch-mozilla_dom_media_CubebUtils.cpp) = f9b58c273ee9996fd706a8ba7e0b729424e11b62 SHA1 (patch-mozilla_gfx_layers_client_ClientPaintedLayer.cpp) = 20c798dae7007a99cf7f93b30a4c39d7b62a3931 +SHA1 (patch-mozilla_gfx_layers_ipc_CompositorThread.cpp) = d35b6d44baefc6cd2fa94ef78d9fcf1aa0159870 SHA1 (patch-mozilla_gfx_skia_skia_src_core_SkCpu.cpp) = 1ee8e3535239b5e910b4554238e2e30607655efb SHA1 (patch-mozilla_ipc_chromium_src_base_lock__impl__posix.cc) = f56ec15b263905318873f72428a06b2f473fdc41 SHA1 (patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc) = e39687517b4c0e2ec1b08997c036b07970022424 @@ -28,6 +30,10 @@ SHA1 (patch-mozilla_netwerk_srtp_src_cry SHA1 (patch-mozilla_netwerk_srtp_src_crypto_kernel_crypto__kernel.c) = b5db9d527a84ebb1061f4aecd80fb2c0d340d6c3 SHA1 (patch-mozilla_old-configure.in) = 934f82f2f52819121504d4397099d4fbc1291c19 SHA1 (patch-mozilla_servo_components_style_build__gecko.rs) = 40c3796b1c561f67920916713154737bd914d4f6 +SHA1 (patch-mozilla_third__party_rust_encoding_rs_src_ascii.rs) = 6372ddba2ec534f75652d686ff205c9389c25bfb +SHA1 (patch-mozilla_third__party_rust_encoding_rs_src_handles.rs) = b3a3c67c79a63c61edd467353e53cf31538d04df +SHA1 (patch-mozilla_third__party_rust_encoding_rs_src_lib.rs) = 01c7974c4404aca5453e673655c249797bf15b96 +SHA1 (patch-mozilla_third__party_rust_encoding_rs_src_mem.rs) = 8804ba9a05e671093b12e7bf0d088f1583fabf47 SHA1 (patch-mozilla_third__party_rust_libc_src_unix_bsd_netbsdlike_netbsd_other_mod.rs) = 41a9417208961d1fa9253ab7d01de27f7ffe6ea7 SHA1 (patch-mozilla_toolkit_components_terminator_nsTerminator.cpp) = 0d9c8c1ff35321973793bb948c3f43746260b21a SHA1 (patch-mozilla_toolkit_library_moz.build) = 1d6b33227700f8f7c2182b5c389fdb9c5487d134 @@ -37,4 +43,6 @@ SHA1 (patch-mozilla_toolkit_xre_glxtest. SHA1 (patch-mozilla_xpcom_base_nscore.h) = ccacde8a2222fc427e48e012175426ba4886dffb SHA1 (patch-mozilla_xpcom_build_BinaryPath.h) = 54d07ee72b6fc60a5a94c99316725866fdebe9aa SHA1 (patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke__sparc64__netbsd.cpp) = 3f172488ed177aca966b9d0e6b953459db8750af +SHA1 (patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke_aarch64.cpp) = 0b25023e86b5aa1b9ef85ce76b1145866c20297d +SHA1 (patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcstubs_aarch64.cpp) = 264373d60bf5f9e3618f91fccc7e7564a6d708fa SHA1 (patch-suite_installer_Makefile.in) = 174fe46811de70b8e8e5f40308355d7616f3570f Index: patches/patch-mozilla_build_moz.configure_init.configure =================================================================== RCS file: patches/patch-mozilla_build_moz.configure_init.configure diff -N patches/patch-mozilla_build_moz.configure_init.configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_build_moz.configure_init.configure 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,15 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- build/moz.configure/init.configure.orig 2020-12-22 03:42:29.000000000 -0800 ++++ build/moz.configure/init.configure 2021-04-29 23:53:40.735556692 -0700 +@@ -630,7 +630,7 @@ + endianness = 'little' if 'el' in cpu else 'big' + elif cpu.startswith('aarch64'): + canonical_cpu = 'aarch64' +- endianness = 'little' ++ endianness = 'big' if 'be' in cpu else 'little' + elif cpu == 'sh4': + canonical_cpu = 'sh4' + endianness = 'little' Index: patches/patch-mozilla_gfx_layers_ipc_CompositorThread.cpp =================================================================== RCS file: patches/patch-mozilla_gfx_layers_ipc_CompositorThread.cpp diff -N patches/patch-mozilla_gfx_layers_ipc_CompositorThread.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_gfx_layers_ipc_CompositorThread.cpp 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,14 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- gfx/layers/ipc/CompositorThread.cpp.orig 2020-04-01 04:01:50.000000000 -0700 ++++ gfx/layers/ipc/CompositorThread.cpp 2021-04-30 01:40:43.440299684 -0700 +@@ -8,6 +8,7 @@ + #include "nsThreadUtils.h" + #include "CompositorBridgeParent.h" + #include "mozilla/layers/ImageBridgeParent.h" ++#include "mozilla/layers/CompositorManagerParent.h" + #include "mozilla/media/MediaSystemResourceService.h" + + namespace mozilla { Index: patches/patch-mozilla_third__party_rust_encoding_rs_src_ascii.rs =================================================================== RCS file: patches/patch-mozilla_third__party_rust_encoding_rs_src_ascii.rs diff -N patches/patch-mozilla_third__party_rust_encoding_rs_src_ascii.rs --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_third__party_rust_encoding_rs_src_ascii.rs 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,35 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- third_party/rust/encoding_rs/src/ascii.rs.orig 2020-10-20 12:17:58.000000000 -0700 ++++ third_party/rust/encoding_rs/src/ascii.rs 2021-04-29 21:09:48.026980914 -0700 +@@ -25,8 +25,8 @@ + feature = "simd-accel", + any( + target_feature = "sse2", +- all(target_endian = "little", target_arch = "aarch64"), +- all(target_endian = "little", target_feature = "neon") ++ all(target_arch = "aarch64"), ++ all(target_feature = "neon") + ) + ))] + use simd_funcs::*; +@@ -872,7 +872,7 @@ + } + + cfg_if! { +- if #[cfg(all(feature = "simd-accel", target_endian = "little", target_arch = "aarch64"))] { ++ if #[cfg(all(feature = "simd-accel", target_arch = "aarch64"))] { + // SIMD with the same instructions for aligned and unaligned loads and stores + + pub const SIMD_STRIDE_SIZE: usize = 16; +@@ -1409,7 +1409,7 @@ + } + + cfg_if! { +- if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_endian = "little", target_arch = "aarch64"))))] { ++ if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_arch = "aarch64"))))] { + + } else if #[cfg(all(feature = "simd-accel", target_endian = "little", target_feature = "neon"))] { + // Even with NEON enabled, we use the ALU path for ASCII validation, because testing Index: patches/patch-mozilla_third__party_rust_encoding_rs_src_handles.rs =================================================================== RCS file: patches/patch-mozilla_third__party_rust_encoding_rs_src_handles.rs diff -N patches/patch-mozilla_third__party_rust_encoding_rs_src_handles.rs --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_third__party_rust_encoding_rs_src_handles.rs 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,28 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- third_party/rust/encoding_rs/src/handles.rs.orig 2020-10-20 12:17:58.000000000 -0700 ++++ third_party/rust/encoding_rs/src/handles.rs 2021-04-29 21:10:09.647317522 -0700 +@@ -20,8 +20,8 @@ + feature = "simd-accel", + any( + target_feature = "sse2", +- all(target_endian = "little", target_arch = "aarch64"), +- all(target_endian = "little", target_feature = "neon") ++ all(target_arch = "aarch64"), ++ all(target_feature = "neon") + ) + ))] + use simd_funcs::*; +@@ -30,8 +30,8 @@ + feature = "simd-accel", + any( + target_feature = "sse2", +- all(target_endian = "little", target_arch = "aarch64"), +- all(target_endian = "little", target_feature = "neon") ++ all(target_arch = "aarch64"), ++ all(target_feature = "neon") + ) + ))] + use packed_simd::u16x8; Index: patches/patch-mozilla_third__party_rust_encoding_rs_src_lib.rs =================================================================== RCS file: patches/patch-mozilla_third__party_rust_encoding_rs_src_lib.rs diff -N patches/patch-mozilla_third__party_rust_encoding_rs_src_lib.rs --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_third__party_rust_encoding_rs_src_lib.rs 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,26 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- third_party/rust/encoding_rs/src/lib.rs.orig 2020-10-20 12:17:58.000000000 -0700 ++++ third_party/rust/encoding_rs/src/lib.rs 2021-04-29 21:10:37.751150207 -0700 +@@ -674,8 +674,8 @@ + feature = "simd-accel", + any( + target_feature = "sse2", +- all(target_endian = "little", target_arch = "aarch64"), +- all(target_endian = "little", target_feature = "neon") ++ all(target_arch = "aarch64"), ++ all(target_feature = "neon") + ) + ))] + #[macro_use(shuffle)] +@@ -699,7 +699,7 @@ + feature = "simd-accel", + any( + target_feature = "sse2", +- all(target_endian = "little", target_arch = "aarch64"), ++ all(target_arch = "aarch64"), + all(target_endian = "little", target_feature = "neon") + ) + ))] Index: patches/patch-mozilla_third__party_rust_encoding_rs_src_mem.rs =================================================================== RCS file: patches/patch-mozilla_third__party_rust_encoding_rs_src_mem.rs diff -N patches/patch-mozilla_third__party_rust_encoding_rs_src_mem.rs --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_third__party_rust_encoding_rs_src_mem.rs 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,42 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- third_party/rust/encoding_rs/src/mem.rs.orig 2020-10-20 12:17:58.000000000 -0700 ++++ third_party/rust/encoding_rs/src/mem.rs 2021-04-29 21:11:26.888837569 -0700 +@@ -226,7 +226,7 @@ + } + + cfg_if! { +- if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_endian = "little", target_arch = "aarch64"), all(target_endian = "little", target_feature = "neon"))))] { ++ if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_arch = "aarch64"), all("little", target_feature = "neon"))))] { + use simd_funcs::*; + use packed_simd::u8x16; + use packed_simd::u16x8; +@@ -358,7 +358,7 @@ + } + + cfg_if! { +- if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_endian = "little", target_arch = "aarch64"), all(target_endian = "little", target_feature = "neon"))))] { ++ if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_arch = "aarch64"), all(target_feature = "neon"))))] { + #[inline(always)] + fn is_str_latin1_impl(buffer: &str) -> Option { + let mut offset = 0usize; +@@ -447,7 +447,7 @@ + } + + cfg_if! { +- if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_endian = "little", target_arch = "aarch64"), all(target_endian = "little", target_feature = "neon"))))] { ++ if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_arch = "aarch64"), all(target_feature = "neon"))))] { + #[inline(always)] + fn is_utf16_bidi_impl(buffer: &[u16]) -> bool { + let mut offset = 0usize; +@@ -497,7 +497,7 @@ + } + + cfg_if! { +- if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_endian = "little", target_arch = "aarch64"), all(target_endian = "little", target_feature = "neon"))))] { ++ if #[cfg(all(feature = "simd-accel", any(target_feature = "sse2", all(target_arch = "aarch64"), all(target_feature = "neon"))))] { + #[inline(always)] + fn check_utf16_for_latin1_and_bidi_impl(buffer: &[u16]) -> Latin1Bidi { + let mut offset = 0usize; Index: patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke_aarch64.cpp =================================================================== RCS file: patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke_aarch64.cpp diff -N patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke_aarch64.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke_aarch64.cpp 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,18 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- xpcom/reflect/xptcall/md/unix/xptcinvoke_aarch64.cpp.orig 2020-02-17 15:39:45.000000000 -0800 ++++ xpcom/reflect/xptcall/md/unix/xptcinvoke_aarch64.cpp 2021-04-30 00:36:32.121098820 -0700 +@@ -19,9 +19,11 @@ + * http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf + */ + ++#if 0 + #ifndef __AARCH64EL__ + #error "Only little endian compatibility was tested" + #endif ++#endif + + /* + * Allocation of integer function arguments initially to registers r1-r7 Index: patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcstubs_aarch64.cpp =================================================================== RCS file: patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcstubs_aarch64.cpp diff -N patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcstubs_aarch64.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcstubs_aarch64.cpp 30 Apr 2021 10:03:56 -0000 @@ -0,0 +1,18 @@ +$NetBSD$ + +Add support for aarch64eb. + +--- xpcom/reflect/xptcall/md/unix/xptcstubs_aarch64.cpp.orig 2020-02-17 15:39:45.000000000 -0800 ++++ xpcom/reflect/xptcall/md/unix/xptcstubs_aarch64.cpp 2021-04-30 00:38:38.601905004 -0700 +@@ -6,9 +6,11 @@ + #include "xptcprivate.h" + #include "xptiprivate.h" + ++#if 0 + #ifndef __AARCH64EL__ + #error "Only little endian compatibility was tested" + #endif ++#endif + + /* + * This is for AArch64 ABI