diff --git a/srcpkgs/mozjs17-devel b/srcpkgs/mozjs17-devel deleted file mode 120000 index 8fc3e7618a1..00000000000 --- a/srcpkgs/mozjs17-devel +++ /dev/null @@ -1 +0,0 @@ -mozjs17 \ No newline at end of file diff --git a/srcpkgs/mozjs17/patches/aarch64.patch b/srcpkgs/mozjs17/patches/aarch64.patch deleted file mode 100644 index 70545de29db..00000000000 --- a/srcpkgs/mozjs17/patches/aarch64.patch +++ /dev/null @@ -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) diff --git a/srcpkgs/mozjs17/patches/gcc7-empty_string_comparison.patch b/srcpkgs/mozjs17/patches/gcc7-empty_string_comparison.patch deleted file mode 100644 index 9a5c9690c65..00000000000 --- a/srcpkgs/mozjs17/patches/gcc7-empty_string_comparison.patch +++ /dev/null @@ -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; - } diff --git a/srcpkgs/mozjs17/patches/mips.patch b/srcpkgs/mozjs17/patches/mips.patch deleted file mode 100644 index f75a7eb19b1..00000000000 --- a/srcpkgs/mozjs17/patches/mips.patch +++ /dev/null @@ -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) { diff --git a/srcpkgs/mozjs17/patches/perl522.patch b/srcpkgs/mozjs17/patches/perl522.patch deleted file mode 100644 index b49e032bda3..00000000000 --- a/srcpkgs/mozjs17/patches/perl522.patch +++ /dev/null @@ -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) { diff --git a/srcpkgs/mozjs17/template b/srcpkgs/mozjs17/template deleted file mode 100644 index 1049dbaa53e..00000000000 --- a/srcpkgs/mozjs17/template +++ /dev/null @@ -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 " -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 - } -}