From nobody Fri Jul 08 14:33:45 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1B9D317D21A5; Fri, 8 Jul 2022 14:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LfbPQ0FVYz3mgB; Fri, 8 Jul 2022 14:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657290826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q9/z8S1f+6V8HgIfN4axrSfku0ukNxjY9HhSmGv8V0g=; b=iFB3QuQeRzjZgIeqshwrfO9UQPz327rCFT1554nRz1a8h+kdcg935FCXACJCi0SYkjui2k LlUUGRq1g/TaEQ06NRjLi+yYN2iN8DVQA3M+tCm7pXtcOyP++mnVYXZGxVmQNF+LlDVGsD WeNRoVsKdJLAjRxurg5N5hHGEhQbvHaJD1HWd7fgY0h5f9h5IEuugj+PABOKtv2N52UPyn cd7eDhHFS2IBDJCY1A32HeCQk5ywEirQZHikZhdXkh6PYfC38zt+wAfKMWXvtWUWXiNFb9 4RDvSDEcSrGV5e7Pi0WOa3qqXmtpU+mq9bb4bAPzbqQESHqJjHH5KcEdSZq17w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LfbPP6ND9z1PmC; Fri, 8 Jul 2022 14:33:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 268EXjsB006584; Fri, 8 Jul 2022 14:33:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268EXjnT006583; Fri, 8 Jul 2022 14:33:45 GMT (envelope-from git) Date: Fri, 8 Jul 2022 14:33:45 GMT Message-Id: <202207081433.268EXjnT006583@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 4588423cca93 - main - www/deno: Fix parseFileInfo List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4588423cca935e99b093ce56e24bb629c439d706 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657290826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q9/z8S1f+6V8HgIfN4axrSfku0ukNxjY9HhSmGv8V0g=; b=FsrI+vIXtVzrRMMvptZd7E/Fna+BwTrr5VrrzU0Ryv0f3935f8amnuZIrHdFwHBEXnRb1r zt7lNdqNQljTlq2NZjk88V0HYJmj/VXbwdi4At7Aj3jpiPDPPx/SWE+gi2Hcq50cFrhUQ2 AF/QzDtO/P+kbwzAKq6kL0ayupTnFmLob/vWABRBf/q8/ZNfEv04yRa49HmhKOiov0+46Z XsU4uVsKlqtK+lOZUt9gPGAO+2OPOm+orupRkt+pxTFbutCuJX1KJYkOuaXlUgzeY554QR xGzSKszcgY/shGWO6BVSk+oRG1gJ4I+J4Yry0RPRDso847yUN37AJQrBDexQhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657290826; a=rsa-sha256; cv=none; b=iIGSJw3soV2Wl07+2KmThoJVFY78dFSePaqO2nGJ/uqUclOFSJUaIPwMhiNqLNNUTVQC5x DWarXnkdtnddMaxqgbDlYwKHHUSG+STVoxh8gvmhi+XQF6o3G1Ab0j3wfx/8/4An/aG4Fw rAWTPyd1+JAu2vxtm7kXp7P+YK5XevHr0rO4QTlnmj69iVpAuzCuzSxfVdd3YK2Dshid5g kkQxY/r0dJG+5LWyHYKzhLVXhSlYc+hw1JiflefA+LixUfnaXZpxUXL336Lib3tyB6JDMm V/cT8kWDCbgmk/cgbMhu36MNZMX5YL1lg46Hc7j7T5kdpOh18PKcV1MBiwPOUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=4588423cca935e99b093ce56e24bb629c439d706 commit 4588423cca935e99b093ce56e24bb629c439d706 Author: Guillaume Bibaut AuthorDate: 2022-07-08 06:38:53 +0000 Commit: Mikael Urankar CommitDate: 2022-07-08 14:25:43 +0000 www/deno: Fix parseFileInfo Add freebsd to the list so that parseFileInfo returns correct information. PR: 265080 --- www/deno/Makefile | 2 +- www/deno/files/patch-runtime_js_30__fs.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/www/deno/Makefile b/www/deno/Makefile index b8310386db94..6a93836b5a13 100644 --- a/www/deno/Makefile +++ b/www/deno/Makefile @@ -1,7 +1,7 @@ PORTNAME= deno DISTVERSIONPREFIX= v DISTVERSION= 1.23.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= mikael@FreeBSD.org diff --git a/www/deno/files/patch-runtime_js_30__fs.js b/www/deno/files/patch-runtime_js_30__fs.js new file mode 100644 index 000000000000..3f6d98dbbeb3 --- /dev/null +++ b/www/deno/files/patch-runtime_js_30__fs.js @@ -0,0 +1,11 @@ +--- runtime/js/30_fs.js.orig 2022-07-08 08:14:40.658820000 +0200 ++++ runtime/js/30_fs.js 2022-07-08 08:15:13.943527000 +0200 +@@ -178,7 +178,7 @@ + } + + function parseFileInfo(response) { +- const unix = build.os === "darwin" || build.os === "linux"; ++ const unix = build.os === "darwin" || build.os === "freebsd" || build.os === "linux"; + return { + isFile: response.isFile, + isDirectory: response.isDirectory,