mozjs17: remove package, not used anymore

This commit is contained in:
Enno Boland 2018-03-21 00:25:19 +01:00
parent 49b2111e78
commit 44e2dfc6d9
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
6 changed files with 0 additions and 94 deletions

View File

@ -1 +0,0 @@
mozjs17

View File

@ -1,11 +0,0 @@
--- mfbt/double-conversion/utils.h
+++ mfbt/double-conversion/utils.h
@@ -58,7 +58,7 @@
defined(__mips__) || defined(__powerpc__) || \
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
defined(__SH4__) || defined(__alpha__) || \
- defined(_MIPS_ARCH_MIPS32R2)
+ defined(_MIPS_ARCH_MIPS32R2) || defined(__aarch64__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
#if defined(_WIN32)

View File

@ -1,11 +0,0 @@
--- js/src/shell/jsoptparse.cpp 2013-02-11 23:33:23.000000000 +0100
+++ js/src/shell/jsoptparse.cpp 2017-05-09 16:05:19.657666914 +0200
@@ -243,7 +243,7 @@
char *eq = strchr(argv[*i], '=');
if (eq) {
*value = eq + 1;
- if (value[0] == '\0')
+ if (*value[0] == '\0')
return error("A value is required for option %.*s", eq - argv[*i], argv[*i]);
return Okay;
}

View File

@ -1,18 +0,0 @@
--- js/src/assembler/assembler/MacroAssemblerMIPS.h 2013-02-11 23:33:22.000000000 +0100
+++ js/src/assembler/assembler/MacroAssemblerMIPS.h 2017-11-09 11:16:28.215891360 +0100
@@ -2335,6 +2335,7 @@
m_assembler.lwc1(dest, addrTempRegister, address.offset);
m_assembler.lwc1(FPRegisterID(dest + 1), addrTempRegister, address.offset + 4);
} else {
+ /*
sll addrTemp, address.index, address.scale
addu addrTemp, addrTemp, address.base
li immTemp, address.offset
@@ -2349,6 +2350,7 @@
immTempRegister);
m_assembler.lwc1(dest, addrTempRegister, 0);
m_assembler.lwc1(FPRegisterID(dest + 1), addrTempRegister, 4);
+ }
#else
if (address.offset >= -32768 && address.offset <= 32767
&& !m_fixedWidth) {

View File

@ -1,11 +0,0 @@
--- js/src/config/milestone.pl.orig
+++ js/src/config/milestone.pl
@@ -55,7 +55,7 @@
#
my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
-if (defined(@TEMPLATE_FILE)) {
+if (@TEMPLATE_FILE) {
my $TFILE;
foreach $TFILE (@TEMPLATE_FILE) {

View File

@ -1,42 +0,0 @@
# Template file for 'mozjs17'
pkgname=mozjs17
version=17.0.0
revision=6
wrksrc="mozjs${version}"
build_wrksrc="js/src"
build_style=gnu-configure
hostmakedepends="zip python perl nspr-devel"
makedepends="zlib-devel nspr-devel libedit-devel libffi-devel"
short_desc="Mozilla JavaScript interpreter and library"
homepage="http://www.mozilla.org/js/"
license="MPL-1.1, GPL-2, LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${MOZILLA_SITE}/js/mozjs${version}.tar.gz"
checksum=321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba
CXXFLAGS="-Wno-unused-local-typedefs"
do_configure() {
local _args
if [ "$CROSS_BUILD" ]; then
export HOST_CFLAGS="-Os"
export HOST_CXXFLAGS="-Os"
export HOST_LDFLAGS="-s"
_args+=" --target=$XBPS_CROSS_TRIPLET"
fi
./configure --prefix=/usr --with-system-nspr \
--enable-threadsafe ${_args}
}
mozjs17-devel_package() {
depends="nspr-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/js17-config
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}