automatic version update by autodist [release 115.8.0-1mamba;Tue Feb 20 2024]
This commit is contained in:
parent
ad66d4aaf9
commit
d6631a839b
@ -1,7 +1,6 @@
|
||||
diff -w -ruN firefox-93.0.org/modules/fdlibm/src/math_private.h firefox-93.0/modules/fdlibm/src/math_private.h
|
||||
--- firefox-93.0.org/modules/fdlibm/src/math_private.h 2021-09-27 16:47:42.000000000 -0600
|
||||
+++ firefox-93.0/modules/fdlibm/src/math_private.h 2021-10-16 11:08:55.154643922 -0600
|
||||
@@ -30,9 +30,13 @@
|
||||
--- firefox-115.7.0/modules/fdlibm/src/math_private.h.orig 2024-01-15 22:07:35.000000000 +0100
|
||||
+++ firefox-115.7.0/modules/fdlibm/src/math_private.h 2024-02-15 16:17:40.794640534 +0100
|
||||
@@ -30,7 +30,11 @@
|
||||
* Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
|
||||
*/
|
||||
|
||||
@ -11,12 +10,9 @@ diff -w -ruN firefox-93.0.org/modules/fdlibm/src/math_private.h firefox-93.0/mod
|
||||
+typedef long double __double_t;
|
||||
+#endif
|
||||
typedef __double_t double_t;
|
||||
-
|
||||
+typedef float __float_t;
|
||||
/*
|
||||
* The original fdlibm code used statements like:
|
||||
* n0 = ((*(int*)&one)>>29)^1; * index of high word *
|
||||
@@ -630,6 +634,41 @@
|
||||
typedef float __float_t;
|
||||
|
||||
@@ -626,6 +630,41 @@
|
||||
return ((double)(x + 0x1.8p52) - 0x1.8p52);
|
||||
}
|
||||
|
||||
@ -58,10 +54,17 @@ diff -w -ruN firefox-93.0.org/modules/fdlibm/src/math_private.h firefox-93.0/mod
|
||||
/*
|
||||
* irint() and i64rint() give the same result as casting to their integer
|
||||
* return type provided their arg is a floating point integer. They can
|
||||
@@ -646,6 +685,39 @@
|
||||
#define irint(x) ((int)(x))
|
||||
#endif
|
||||
|
||||
@@ -668,6 +707,39 @@
|
||||
static __inline int
|
||||
irintl(long double x)
|
||||
{
|
||||
+ int n;
|
||||
+
|
||||
+ __asm("fistl %0" : "=m" (n) : "t" (x));
|
||||
+ return (n);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#define i64rint(x) ((int64_t)(x)) /* only needed for ld128 so not opt. */
|
||||
+
|
||||
+#if defined(__i386__) && defined(__GNUCLIKE_ASM)
|
||||
@ -88,13 +91,6 @@ diff -w -ruN firefox-93.0.org/modules/fdlibm/src/math_private.h firefox-93.0/mod
|
||||
+static __inline int
|
||||
+irintl(long double x)
|
||||
+{
|
||||
+ int n;
|
||||
+
|
||||
+ __asm("fistl %0" : "=m" (n) : "t" (x));
|
||||
+ return (n);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
#ifdef DEBUG
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
#define breakpoint() asm("int $3")
|
||||
int n;
|
||||
|
||||
__asm("fistl %0" : "=m" (n) : "t" (x));
|
@ -1,7 +1,7 @@
|
||||
%define MAJver %(echo %version | cut -d. -f1)
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: mozjs115
|
||||
Version: 115.7.0
|
||||
Version: 115.8.0
|
||||
Release: 1mamba
|
||||
Summary: Mozilla stand-alone library implementing JavaScript 24
|
||||
Group: System/Libraries
|
||||
@ -23,7 +23,7 @@ Patch9: mozjs-91.8.0-tests-Use-native-TemporaryDirectory.patch
|
||||
Patch10: mozjs-91.8.0-init_patch.patch
|
||||
Patch11: mozjs-91.8.0-remove-sloppy-m4-detection-from-bundled-autoconf.patch
|
||||
Patch12: mozjs-91.8.0-spidermonkey_checks_disable.patch
|
||||
Patch13: mozjs91-91.8.0-x86-double_t-fix.patch
|
||||
Patch13: mozjs115-115.7.0-x86-double_t-fix.patch
|
||||
# Only GPL because linking to readline
|
||||
License: GPL
|
||||
#License: MPL, GPL, LGPL
|
||||
@ -176,6 +176,9 @@ ln -s libmozjs-%{MAJver}.so.0 %{buildroot}%{_libdir}/libmozjs-%{MAJver}.so
|
||||
%{_libdir}/pkgconfig/mozjs-%{MAJver}.pc
|
||||
|
||||
%changelog
|
||||
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 115.8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jan 24 2024 Automatic Build System <autodist@openmamba.org> 115.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user