Skip to content

Commit 0e3d260

Browse files
committed
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.
1 parent 3f371b3 commit 0e3d260

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

lang/mujs/Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.7 2023/12/07 09:21:34 nia Exp $
1+
# $NetBSD: Makefile,v 1.8 2026/03/03 21:37:12 yhardy Exp $
22

3-
DISTNAME= mujs-1.3.4
3+
DISTNAME= mujs-1.3.9
44
CATEGORIES= lang
55
MASTER_SITES= https://mujs.com/downloads/
66

@@ -20,5 +20,11 @@ INSTALL_TARGET= install-shared
2020
PKGCONFIG_OVERRIDE_STAGE= pre-install
2121
PKGCONFIG_OVERRIDE+= build/release/mujs.pc
2222

23+
INSTALLATION_DIRS+= include/mujs
24+
25+
# needed by print/mupdf
26+
post-install:
27+
${INSTALL_DATA} ${WRKSRC}/regexp.h ${DESTDIR}${PREFIX}/include/mujs/
28+
2329
.include "../../mk/readline.buildlink3.mk"
2430
.include "../../mk/bsd.pkg.mk"

lang/mujs/PLIST

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
@comment $NetBSD: PLIST,v 1.3 2023/09/10 09:36:38 nia Exp $
1+
@comment $NetBSD: PLIST,v 1.4 2026/03/03 21:37:12 yhardy Exp $
22
bin/mujs
33
bin/mujs-pp
44
include/mujs.h
5+
include/mujs/regexp.h
56
lib/libmujs.la
67
lib/pkgconfig/mujs.pc

lang/mujs/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
$NetBSD: distinfo,v 1.7 2023/12/07 09:21:34 nia Exp $
1+
$NetBSD: distinfo,v 1.8 2026/03/03 21:37:12 yhardy Exp $
22

3-
BLAKE2s (mujs-1.3.4.tar.gz) = 8c2e5e0042b86f6e6c898ed881d92b8addb3f735a4d07f04f923da3922b53038
4-
SHA512 (mujs-1.3.4.tar.gz) = 0806684be5e6dc3cb7305355ab7c7babbfd3fd5bbd22515659a88a82c25f3f4b6af14f7ca07bacd154823b19110b749bba68311c9f317dd684e0fd5628ece573
5-
Size (mujs-1.3.4.tar.gz) = 128202 bytes
3+
BLAKE2s (mujs-1.3.9.tar.gz) = b568555aa299923cb952e85b2b39cd47a756afb9ac83250ec5788a58d8dfa332
4+
SHA512 (mujs-1.3.9.tar.gz) = a3be06a861f88fe8b10151bc2e56c19b8122078579f3c65a84f0874385d1e7c90dbc7891eff5c78c75c290fff62160a3babc43717fe03982668ca7aa40289552
5+
Size (mujs-1.3.9.tar.gz) = 454317 bytes
66
SHA1 (patch-Makefile) = a804b88721e4a48277e06f4f3d89b6c6f71eb76b

0 commit comments

Comments
 (0)