pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/mujs



Module Name:    pkgsrc
Committed By:   yhardy
Date:           Tue Mar  3 21:37:12 UTC 2026

Modified Files:
        pkgsrc/lang/mujs: Makefile PLIST distinfo

Log Message:
devel/mujs: update to mujs-1.3.9

Briefly discussed on tech-pkg with leot@ and nia@

pkgsrc changes:

  Install include/mujs/regexp.h which is needed by recent versions of print/mupdf.

mujs-1.3.9
==========

Commits:
  Bug 709180: Fix simple array check in Array.prototype.sort.
  Bug 709127: Plug memory leak in String.prototype.replace.
  Bug 709128: Avoid undefined behavior for -INT_MIN in js_itoa.
  Avoid UB when computing (unused) pointer from NULL.
  Add "undefined" UB sanitize build target.
  Bug 709124: Guard against malicious Array.prototype.sort comparator.
  Bug 709103: Increase lexbuf capacity counter after realloc (not before).
  Add UnicodeData.txt and SpecialCasing.txt tables.
  Define Error.prototype.message property.
  Delay string interning from lexer.

mujs-1.3.8
==========

Commits:
  Improve Error.stack and restore Error.stackTrace.
  Add rudimentary runtime limit checks.
  update patch version

mujs-1.3.7
==========

Commits:
  Bug 708625: Use more common "stack" property for error stack trace.
  Issue #202: Special case for empty substring that splits surrogate pair.
  Fix glitch with escape \x2d being treated as - in character classes.
  Update character tables to include SpecialCasing.txt.

mujs-1.3.6
==========

Commits:
  Update character tables to Unicode 16.
  Remove stale IRC link.
  Issue 193 and issue 194: Always use heapsort instead of quicksort.
  Simplify Array.prototype.sort by sorting in place without libc.

mujs-1.3.5
==========

Commits:
  Issue #130: Fix bug with String.prototype.split(RegExp).
  Expose extended unicode characters as surrogate pairs in String methods.
  Issue #164: Use correct scope for function declaration bindings.
  Increase default stack sizes.
  regex: Dynamically allocate character class buffer.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/mujs/Makefile pkgsrc/lang/mujs/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/mujs/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/mujs/Makefile
diff -u pkgsrc/lang/mujs/Makefile:1.7 pkgsrc/lang/mujs/Makefile:1.8
--- pkgsrc/lang/mujs/Makefile:1.7       Thu Dec  7 09:21:34 2023
+++ pkgsrc/lang/mujs/Makefile   Tue Mar  3 21:37:12 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2023/12/07 09:21:34 nia Exp $
+# $NetBSD: Makefile,v 1.8 2026/03/03 21:37:12 yhardy Exp $
 
-DISTNAME=      mujs-1.3.4
+DISTNAME=      mujs-1.3.9
 CATEGORIES=    lang
 MASTER_SITES=  https://mujs.com/downloads/
 
@@ -20,5 +20,11 @@ INSTALL_TARGET=      install-shared
 PKGCONFIG_OVERRIDE_STAGE=      pre-install
 PKGCONFIG_OVERRIDE+=           build/release/mujs.pc
 
+INSTALLATION_DIRS+=            include/mujs
+
+# needed by print/mupdf
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/regexp.h ${DESTDIR}${PREFIX}/include/mujs/
+
 .include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/mujs/distinfo
diff -u pkgsrc/lang/mujs/distinfo:1.7 pkgsrc/lang/mujs/distinfo:1.8
--- pkgsrc/lang/mujs/distinfo:1.7       Thu Dec  7 09:21:34 2023
+++ pkgsrc/lang/mujs/distinfo   Tue Mar  3 21:37:12 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2023/12/07 09:21:34 nia Exp $
+$NetBSD: distinfo,v 1.8 2026/03/03 21:37:12 yhardy Exp $
 
-BLAKE2s (mujs-1.3.4.tar.gz) = 8c2e5e0042b86f6e6c898ed881d92b8addb3f735a4d07f04f923da3922b53038
-SHA512 (mujs-1.3.4.tar.gz) = 0806684be5e6dc3cb7305355ab7c7babbfd3fd5bbd22515659a88a82c25f3f4b6af14f7ca07bacd154823b19110b749bba68311c9f317dd684e0fd5628ece573
-Size (mujs-1.3.4.tar.gz) = 128202 bytes
+BLAKE2s (mujs-1.3.9.tar.gz) = b568555aa299923cb952e85b2b39cd47a756afb9ac83250ec5788a58d8dfa332
+SHA512 (mujs-1.3.9.tar.gz) = a3be06a861f88fe8b10151bc2e56c19b8122078579f3c65a84f0874385d1e7c90dbc7891eff5c78c75c290fff62160a3babc43717fe03982668ca7aa40289552
+Size (mujs-1.3.9.tar.gz) = 454317 bytes
 SHA1 (patch-Makefile) = a804b88721e4a48277e06f4f3d89b6c6f71eb76b

Index: pkgsrc/lang/mujs/PLIST
diff -u pkgsrc/lang/mujs/PLIST:1.3 pkgsrc/lang/mujs/PLIST:1.4
--- pkgsrc/lang/mujs/PLIST:1.3  Sun Sep 10 09:36:38 2023
+++ pkgsrc/lang/mujs/PLIST      Tue Mar  3 21:37:12 2026
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2023/09/10 09:36:38 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/03/03 21:37:12 yhardy Exp $
 bin/mujs
 bin/mujs-pp
 include/mujs.h
+include/mujs/regexp.h
 lib/libmujs.la
 lib/pkgconfig/mujs.pc



Home | Main Index | Thread Index | Old Index