mozjs24: remove package, not used anymore

Closes: #10178 [via git-merge-pr]
This commit is contained in:
John 2017-12-22 21:26:59 +01:00 committed by Jürgen Buchmüller
parent cdaec7c87a
commit b29b1dc8c0
7 changed files with 0 additions and 80 deletions

View File

@ -1495,7 +1495,6 @@ libwx_gtk2u_media-3.0.so.0 wxWidgets-3.0.1_1
libwx_gtk2u_webview-3.0.so.0 wxWidgets-3.0.2_3
libmspack.so.0 libmspack-0.4alpha_1
libslim.so.1.3.6 slim-1.3.6_1
libmozjs-24.so mozjs24-24.2.0_1
libmozjs-38.so mozjs38-38.8.0_1
libmediaart-2.0.so.0 libmediaart-1.9.1_1
libinput.so.10 libinput-1.2.0_1

View File

@ -1 +0,0 @@
mozjs24

View File

@ -1,12 +0,0 @@
--- mfbt/double-conversion/utils.h
+++ mfbt/double-conversion/utils.h
@@ -58,7 +58,8 @@
defined(__mips__) || defined(__powerpc__) || \
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
defined(__SH4__) || defined(__alpha__) || \
- defined(_MIPS_ARCH_MIPS32R2)
+ defined(_MIPS_ARCH_MIPS32R2) || \
+ defined(__AARCH64EL__)
#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-10-29 21:40:20.000000000 +0100
+++ js/src/shell/jsoptparse.cpp 2017-06-14 13:00:24.076799935 +0200
@@ -253,7 +253,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,11 +0,0 @@
--- js/src/config/milestone.pl.orig
+++ js/src/config/milestone.pl
@@ -56,7 +56,7 @@
#
my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
-if (defined(@TEMPLATE_FILE)) {
+if (@TEMPLATE_FILE) {
my $TFILE;
foreach $TFILE (@TEMPLATE_FILE) {

View File

@ -1,43 +0,0 @@
# Template file for 'mozjs24'
pkgname=mozjs24
version=24.2.0
revision=8
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 (24.x series)"
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.bz2"
checksum=e62f3f331ddd90df1e238c09d61a505c516fe9fd8c5c95336611d191d18437d8
# Flags for gcc6.3 conceived by Arch Linux developers
CFLAGS="-fpermissive -fno-delete-null-pointer-checks -fno-tree-vrp -fno-strict-aliasing"
CXXFLAGS="-fpermissive -fno-delete-null-pointer-checks -fno-tree-vrp -fno-strict-aliasing"
do_configure() {
local _args
if [ "$CROSS_BUILD" ]; then
export HOST_CFLAGS="-Os"
export HOST_CXXFLAGS="-Os"
_args+=" --target=$XBPS_CROSS_TRIPLET"
fi
SHELL=/bin/bash ./configure --prefix=/usr --with-system-nspr \
--enable-threadsafe ${_args}
}
mozjs24-devel_package() {
depends="nspr-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/js24-config
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}

View File

@ -1 +0,0 @@
pkgname="mozjs"