forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mozjs78: build fix: SunOS doesn't have open_memstream()
- Loading branch information
1 parent
ac6a4ea
commit 7c0c153
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$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', | ||
] |