Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mujs for openSUSE:Factory checked in 
at 2021-06-27 18:59:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mujs (Old)
 and      /work/SRC/openSUSE:Factory/.mujs.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mujs"

Sun Jun 27 18:59:23 2021 rev:4 rq:902621 version:1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mujs/mujs.changes        2021-05-17 
18:46:02.216439753 +0200
+++ /work/SRC/openSUSE:Factory/.mujs.new.2625/mujs.changes      2021-06-27 
19:00:47.532410867 +0200
@@ -1,0 +2,7 @@
+Sun Jun 27 11:43:00 UTC 2021 - ???????? ???????????? <[email protected]>
+
+- Updated to 1.1.3
+  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.1.3
+  * Fixed error in Array.prototype.toString().
+
+-------------------------------------------------------------------

Old:
----
  mujs-1.1.2.tar.xz

New:
----
  mujs-1.1.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mujs.spec ++++++
--- /var/tmp/diff_new_pack.v0Ic6i/_old  2021-06-27 19:00:47.896411346 +0200
+++ /var/tmp/diff_new_pack.v0Ic6i/_new  2021-06-27 19:00:47.900411351 +0200
@@ -17,18 +17,15 @@
 
 
 Name:           mujs
-Version:        1.1.2
+Version:        1.1.3
 Release:        0
 Summary:        An embeddable Javascript interpreter
 License:        AGPL-3.0-or-later
 Group:          Development/Languages/C and C++
 URL:            https://mujs.com
 Source0:        https://mujs.com/downloads/%{name}-%{version}.tar.xz
-BuildRequires:  coreutils
-BuildRequires:  gcc
-BuildRequires:  grep
-BuildRequires:  make
-BuildRequires:  readline-devel
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(readline)
 
 %description
 MuJS is a lightweight Javascript interpreter designed for embedding in other 
software to extend them with scripting capabilities.

++++++ mujs-1.1.2.tar.xz -> mujs-1.1.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mujs-1.1.2/jsarray.c new/mujs-1.1.3/jsarray.c
--- old/mujs-1.1.2/jsarray.c    2021-04-23 11:13:50.000000000 +0200
+++ new/mujs-1.1.3/jsarray.c    2021-06-08 13:41:51.000000000 +0200
@@ -427,14 +427,16 @@
                js_typeerror(J, "'this' is not an object");
        js_getproperty(J, 0, "join");
        if (!js_iscallable(J, -1)) {
-               // TODO: call Object.prototype.toString implementation; not via 
Object.toString JS objects
+               js_pop(J, 1);
+               // TODO: call Object.prototype.toString implementation directly
                js_getglobal(J, "Object");
+               js_getproperty(J, -1, "prototype");
+               js_rot2pop1(J);
                js_getproperty(J, -1, "toString");
                js_rot2pop1(J);
        }
        js_copy(J, 0);
        js_call(J, 0);
-       js_pop(J, 1);
 }
 
 static void Ap_indexOf(js_State *J)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mujs-1.1.2/jsi.h new/mujs-1.1.3/jsi.h
--- old/mujs-1.1.2/jsi.h        2021-04-23 11:13:50.000000000 +0200
+++ new/mujs-1.1.3/jsi.h        2021-06-08 13:41:51.000000000 +0200
@@ -18,6 +18,7 @@
 #pragma warning(disable:4996) /* _CRT_SECURE_NO_WARNINGS */
 #pragma warning(disable:4244) /* implicit conversion from double to int */
 #pragma warning(disable:4267) /* implicit conversion of int to smaller int */
+#pragma warning(disable:4090) /* broken const warnings */
 #define inline __inline
 #if _MSC_VER < 1900 /* MSVC 2015 */
 #define snprintf jsW_snprintf

Reply via email to