head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2020.12.05.12.03.26; author nia; state dead; branches; next 1.1; commitid Jn4TOYwMCsyP5yyC; 1.1 date 2020.11.10.11.27.10; author nia; state Exp; branches; next ; commitid 9fgVEJjYQxSoHkvC; desc @@ 1.2 log @mozjs78: Fix configure where the readline library isn't builtin. This commit also moves the location of WRKSRC so that no patches are applied to files in parent directories of WRKSRC. @ text @$NetBSD: patch-vm_JSONPrinter.cpp,v 1.1 2020/11/10 11:27:10 nia Exp $ For NetBSD/arm, size_t is unsigned long, which is neither uint32_t (= unsigned int) nor uint64_t (= unsigned long long). --- vm/JSONPrinter.cpp.orig 2020-09-25 09:22:59.000000000 +0000 +++ vm/JSONPrinter.cpp @@@@ -146,7 +146,8 @@@@ void JSONPrinter::property(const char* n out_.printf("%" PRIu64, value); } -#if defined(XP_DARWIN) || defined(__OpenBSD__) +#if defined(XP_DARWIN) || defined(__OpenBSD__) || \ + (defined(__NetBSD__) && defined(__arm__)) void JSONPrinter::property(const char* name, size_t value) { propertyName(name); out_.printf("%zu", value); @ 1.1 log @lang: Add mozjs78. Needed by newer gjs (needed by gnome-shell). Based on work by Dan Cîrnaț and myself in wip. This directory contains SpiderMonkey 78, the JavaScript engine by Mozilla. @ text @d1 1 a1 1 $NetBSD$ @