# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/firefox/hotfix-ia64-nss-use64.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- # NSS's freebl gyp config only defines NSS_USE_64 for a fixed allowlist # of 64-bit target_arch values; ia64 is missing, so # security/nss/lib/freebl/drbg.c's PR_STATIC_ASSERT(sizeof(size_t) > 4) # (guarded by defined(NSS_USE_64)) fails to compile on our genuinely # 64-bit ia64 target. --- firefox-152.0.5/security/nss/coreconf/config.gypi.vanilla 2026-07-12 01:40:00.000000000 +0200 +++ firefox-152.0.5/security/nss/coreconf/config.gypi 2026-07-12 01:41:00.000000000 +0200 @@ -233,7 +233,7 @@ }, }, }], - [ 'target_arch=="arm64" or target_arch=="aarch64" or target_arch=="sparc64" or target_arch=="ppc64" or target_arch=="ppc64le" or target_arch=="s390x" or target_arch=="mips64" or target_arch=="e2k" or target_arch=="riscv64" or target_arch=="loongarch64"', { + [ 'target_arch=="arm64" or target_arch=="aarch64" or target_arch=="sparc64" or target_arch=="ppc64" or target_arch=="ppc64le" or target_arch=="s390x" or target_arch=="mips64" or target_arch=="e2k" or target_arch=="riscv64" or target_arch=="loongarch64" or target_arch=="ia64"', { 'defines': [ 'NSS_USE_64', ],