js: remove package.
This commit is contained in:
parent
9b13419069
commit
80fc90767d
|
@ -863,7 +863,6 @@ libquadmath.so.0 libquadmath-4.4.0_1
|
|||
libgfortran.so.5 libgfortran-8.2.0_1
|
||||
libgnarl-10.so libada-10.2.0_1
|
||||
libgnat-10.so libada-10.2.0_1
|
||||
libmozjs185.so.1.0 js-1.8.5_1
|
||||
libwebp.so.7 libwebp-0.6.0_1
|
||||
libwebpmux.so.3 libwebp-0.6.0_1
|
||||
libwebpdemux.so.2 libwebp-0.5.0_1
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
js
|
|
@ -1,15 +0,0 @@
|
|||
#https://bugzilla.mozilla.org/show_bug.cgi?id=628723
|
||||
|
||||
--- js/src/Makefile.in.old 2011-04-10 04:21:19.918608008 -0700
|
||||
+++ js/src/Makefile.in 2011-04-10 04:21:58.088607992 -0700
|
||||
@@ -888,8 +888,8 @@
|
||||
ifeq (,$(HOST_BIN_SUFFIX))
|
||||
mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
|
||||
@[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
|
||||
- ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
|
||||
- ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
|
||||
+ ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
|
||||
+ ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(IMPORT_LIBRARY))
|
|
@ -1,135 +0,0 @@
|
|||
--- js/src/jsapi.cpp
|
||||
+++ js/src/jsapi.cpp
|
||||
@@ -3985,7 +3985,7 @@ JS_Enumerate(JSContext *cx, JSObject *ob
|
||||
AutoIdVector props(cx);
|
||||
JSIdArray *ida;
|
||||
if (!GetPropertyNames(cx, obj, JSITER_OWNONLY, &props) || !VectorToIdArray(cx, props, &ida))
|
||||
- return false;
|
||||
+ return NULL;
|
||||
for (size_t n = 0; n < size_t(ida->length); ++n)
|
||||
JS_ASSERT(js_CheckForStringIndex(ida->vector[n]) == ida->vector[n]);
|
||||
return ida;
|
||||
--- js/src/jsfun.cpp
|
||||
+++ js/src/jsfun.cpp
|
||||
@@ -2051,7 +2051,7 @@ fun_toStringHelper(JSContext *cx, JSObje
|
||||
|
||||
JSString *str = JS_DecompileFunction(cx, fun, indent);
|
||||
if (!str)
|
||||
- return false;
|
||||
+ return NULL;
|
||||
|
||||
if (!indent)
|
||||
cx->compartment->toSourceCache.put(fun, str);
|
||||
@@ -2657,7 +2657,7 @@ LookupInterpretedFunctionPrototype(JSCon
|
||||
const Shape *shape = funobj->nativeLookup(id);
|
||||
if (!shape) {
|
||||
if (!ResolveInterpretedFunctionPrototype(cx, funobj))
|
||||
- return false;
|
||||
+ return NULL;
|
||||
shape = funobj->nativeLookup(id);
|
||||
}
|
||||
JS_ASSERT(!shape->configurable());
|
||||
--- js/src/jsiter.cpp
|
||||
+++ js/src/jsiter.cpp
|
||||
@@ -425,7 +425,7 @@ NewIteratorObject(JSContext *cx, uintN f
|
||||
*/
|
||||
JSObject *obj = js_NewGCObject(cx, FINALIZE_OBJECT0);
|
||||
if (!obj)
|
||||
- return false;
|
||||
+ return NULL;
|
||||
obj->init(cx, &js_IteratorClass, NULL, NULL, NULL, false);
|
||||
obj->setMap(cx->compartment->emptyEnumeratorShape);
|
||||
return obj;
|
||||
--- js/src/jsparse.cpp
|
||||
+++ js/src/jsparse.cpp
|
||||
@@ -3352,7 +3352,7 @@ Parser::functionDef(JSAtom *funAtom, Fun
|
||||
if (!outertc->inFunction() && bodyLevel && funAtom && !lambda && outertc->compiling()) {
|
||||
JS_ASSERT(pn->pn_cookie.isFree());
|
||||
if (!DefineGlobal(pn, outertc->asCodeGenerator(), funAtom))
|
||||
- return false;
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
pn->pn_blockid = outertc->blockid();
|
||||
--- js/src/jsstr.cpp
|
||||
+++ js/src/jsstr.cpp
|
||||
@@ -1734,7 +1734,7 @@ class RegExpGuard
|
||||
if (flat) {
|
||||
patstr = flattenPattern(cx, fm.patstr);
|
||||
if (!patstr)
|
||||
- return false;
|
||||
+ return NULL;
|
||||
} else {
|
||||
patstr = fm.patstr;
|
||||
}
|
||||
@@ -3400,7 +3400,7 @@ js_InitStringClass(JSContext *cx, JSObje
|
||||
UndefinedValue(), NULL, NULL,
|
||||
JSPROP_READONLY | JSPROP_PERMANENT | JSPROP_SHARED, 0, 0,
|
||||
NULL)) {
|
||||
- return JS_FALSE;
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
return proto;
|
||||
--- js/src/jstypedarray.cpp
|
||||
+++ js/src/jstypedarray.cpp
|
||||
@@ -1334,7 +1334,7 @@ class TypedArrayTemplate
|
||||
if (size != 0 && count >= INT32_MAX / size) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
|
||||
JSMSG_NEED_DIET, "size and count");
|
||||
- return false;
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
int32 bytelen = size * count;
|
||||
@@ -1668,7 +1668,7 @@ TypedArrayConstruct(JSContext *cx, jsint
|
||||
|
||||
default:
|
||||
JS_NOT_REACHED("shouldn't have gotten here");
|
||||
- return false;
|
||||
+ return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
--- js/src/jsxml.cpp
|
||||
+++ js/src/jsxml.cpp
|
||||
@@ -282,7 +282,7 @@ NewXMLNamespace(JSContext *cx, JSLinearS
|
||||
|
||||
obj = NewBuiltinClassInstanceXML(cx, &js_NamespaceClass);
|
||||
if (!obj)
|
||||
- return JS_FALSE;
|
||||
+ return NULL;
|
||||
JS_ASSERT(JSVAL_IS_VOID(obj->getNamePrefixVal()));
|
||||
JS_ASSERT(JSVAL_IS_VOID(obj->getNameURIVal()));
|
||||
JS_ASSERT(JSVAL_IS_VOID(obj->getNamespaceDeclared()));
|
||||
@@ -431,7 +431,7 @@ ConvertQNameToString(JSContext *cx, JSOb
|
||||
size_t length = str->length();
|
||||
jschar *chars = (jschar *) cx->malloc((length + 2) * sizeof(jschar));
|
||||
if (!chars)
|
||||
- return JS_FALSE;
|
||||
+ return NULL;
|
||||
*chars = '@';
|
||||
const jschar *strChars = str->getChars(cx);
|
||||
if (!strChars) {
|
||||
--- js/src/methodjit/InvokeHelpers.cpp
|
||||
+++ js/src/methodjit/InvokeHelpers.cpp
|
||||
@@ -728,7 +728,7 @@ AtSafePoint(JSContext *cx)
|
||||
{
|
||||
JSStackFrame *fp = cx->fp();
|
||||
if (fp->hasImacropc())
|
||||
- return false;
|
||||
+ return NULL;
|
||||
|
||||
JSScript *script = fp->script();
|
||||
return script->maybeNativeCodeForPC(fp->isConstructing(), cx->regs->pc);
|
||||
--- js/src/nanojit/NativeX64.cpp
|
||||
+++ js/src/nanojit/NativeX64.cpp
|
||||
@@ -1899,7 +1899,7 @@ namespace nanojit
|
||||
}
|
||||
}
|
||||
|
||||
- static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {0x8000000000000000LL,0};
|
||||
+ static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {int64_t(0x8000000000000000LL),0};
|
||||
|
||||
void Assembler::asm_fneg(LIns *ins) {
|
||||
Register rr, ra;
|
|
@ -1,57 +0,0 @@
|
|||
# Template file for 'js'
|
||||
pkgname=js
|
||||
version=1.8.5
|
||||
revision=11
|
||||
archs="x86_64* i686* aarch64* arm*"
|
||||
build_wrksrc="js/src"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="zip python perl nspr-devel"
|
||||
makedepends="nspr-devel"
|
||||
short_desc="Spidermonkey JavaScript interpreter and library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MPL-1.1, GPL-2.0-only, LGPL-2.1-only"
|
||||
homepage="https://developer.mozilla.org/en/docs/SpiderMonkey"
|
||||
distfiles="${MOZILLA_SITE}/js/js185-1.0.0.tar.gz"
|
||||
checksum=5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
aarch64*)
|
||||
# ./assembler/jit/ExecutableAllocator.h:395:6: error: #error "The cacheFlush support is missing on this platform."
|
||||
broken="https://build.voidlinux.org/builders/aarch64_builder/builds/2509/steps/shell_3/logs/stdio"
|
||||
;;
|
||||
esac
|
||||
|
||||
do_configure() {
|
||||
local _args
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export HOST_CC=cc
|
||||
export HOST_CXX=g++
|
||||
export HOST_CFLAGS="-Os -DFORCE_LITTLE_ENDIAN -fPIE"
|
||||
export HOST_CXXFLAGS="-Os -DFORCE_LITTLE_ENDIAN -fPIE"
|
||||
|
||||
case "$XBPS_MACHINE" in
|
||||
armv6l*) _args+=" --with-cpu-arch=armv6";;
|
||||
armv7l*) _args+=" --with-cpu-arch=armv7";;
|
||||
esac
|
||||
_args+=" --target=$XBPS_CROSS_TRIPLET"
|
||||
fi
|
||||
|
||||
sed -e "s,-mfpu=neon -mfloat-abi=softfp,,g" -i configure
|
||||
sed -e "s,-march=armv7-a -marm -mfloat-abi=softfp,${CFLAGS},g" -i configure
|
||||
sed -e "s,-march=armv7 -marm -msoftfp,${CFLAGS},g" -i configure
|
||||
|
||||
./configure --prefix=/usr --with-system-nspr --enable-threadsafe ${_args}
|
||||
}
|
||||
|
||||
js-devel_package() {
|
||||
depends="nspr-devel js>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ignore="1.60"
|
|
@ -133,6 +133,7 @@ replaces="
|
|||
icecat-i18n-zh-CN<=78.6.1_1
|
||||
icecat-i18n-zh-TW<=78.6.1_1
|
||||
isl16<=0.16_2
|
||||
js<=1.8.5_11
|
||||
kadu<=4.3_6
|
||||
keepassx<=0.4.4_2
|
||||
libapp<=20140527_2
|
||||
|
|
Loading…
Reference in New Issue