$NetBSD: patch-js_src_jsapi-tests_moz.build,v 1.1 2020/12/29 02:04:47 gutteridge Exp $ Fix SunOS build. --- js/src/jsapi-tests/moz.build.orig 2020-11-04 10:51:58.000000000 +0000 +++ js/src/jsapi-tests/moz.build @@ -164,8 +164,8 @@ if CONFIG['JS_BUILD_BINAST'] and CONFIG[ 'testBinASTReader.cpp', ] -if CONFIG['OS_ARCH'] not in ('WINNT', 'Darwin') and CONFIG['OS_TARGET'] != 'Android': - # open_memstream() not available on Windows, macOS, or Android +if CONFIG['OS_ARCH'] not in ('WINNT', 'Darwin', 'SunOS') and CONFIG['OS_TARGET'] != 'Android': + # open_memstream() not available on Windows, macOS, SunOS, or Android UNIFIED_SOURCES += [ 'testPrintError.cpp', ]