Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-js_src_jsapi.cpp,v 1.1 2016/02/14 07:30:54 ryoon Exp $
--- js/src/jsapi.cpp.orig 2015-04-29 21:11:46.000000000 +0000
+++ js/src/jsapi.cpp
@@ -115,7 +115,7 @@ using js::frontend::Parser;
#define JS_ADDRESSOF_VA_LIST(ap) (&(ap))
#endif
-bool
+JS_PUBLIC_API(bool)
JS::CallArgs::requireAtLeast(JSContext* cx, const char* fnname, unsigned required) {
if (length() < required) {
char numArgsStr[40];