summaryrefslogtreecommitdiff
path: root/security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_moz.build
blob: 8f29ce216b90a10f21ac7740ac85f71bcc5e39c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-xpcom_reflect_xptcall_md_unix_moz.build,v 1.5 2020/10/07 11:10:35 wiz Exp $

Make NetBSD/sparc64 use the same xptcall bindings as all other sparc64 ports

--- xpcom/reflect/xptcall/md/unix/moz.build.orig	2019-07-06 01:49:01.000000000 +0000
+++ xpcom/reflect/xptcall/md/unix/moz.build
@@ -217,7 +217,7 @@ if CONFIG['OS_ARCH'] == 'OpenBSD' and CO
         'xptcstubs_sparc_openbsd.cpp',
     ]
 
-if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'Linux', 'SunOS') and CONFIG['CPU_ARCH'] == 'sparc64':
+if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'NetBSD', 'Linux', 'SunOS') and CONFIG['CPU_ARCH'] == 'sparc64':
     SOURCES += [
         'xptcinvoke_asm_sparc64_openbsd.s',
         'xptcinvoke_sparc64_openbsd.cpp',