From owner-svn-ports-head@freebsd.org Mon Jan 25 17:14:06 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7331B4E976E; Mon, 25 Jan 2021 17:14:06 +0000 (UTC) (envelope-from fernape@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 4DPc0Z2shCz4jJd; Mon, 25 Jan 2021 17:14:06 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 548AC1A42F; Mon, 25 Jan 2021 17:14:06 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10PHE6PA021332; Mon, 25 Jan 2021 17:14:06 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10PHE5nG021331; Mon, 25 Jan 2021 17:14:05 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202101251714.10PHE5nG021331@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Mon, 25 Jan 2021 17:14:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562585 - in head/www/novnc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/www/novnc: . files X-SVN-Commit-Revision: 562585 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2021 17:14:06 -0000 Author: fernape Date: Mon Jan 25 17:14:05 2021 New Revision: 562585 URL: https://svnweb.freebsd.org/changeset/ports/562585 Log: www/novnc: Fix bad BasicCompression check in Tight decoder Add upstream fix[1] for basic compression check in Tight decoder. [1] https://github.com/novnc/noVNC/commit/34f52a8f41ec677463dc331ae31b89db32883817 PR: 251241 Submitted by: dpetrov67@gmail.com (maintainer) Added: head/www/novnc/files/ head/www/novnc/files/patch-core_decoders_tight.js (contents, props changed) Modified: head/www/novnc/Makefile Modified: head/www/novnc/Makefile ============================================================================== --- head/www/novnc/Makefile Mon Jan 25 17:05:08 2021 (r562584) +++ head/www/novnc/Makefile Mon Jan 25 17:14:05 2021 (r562585) @@ -2,6 +2,7 @@ PORTNAME= novnc PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= dpetrov67@gmail.com @@ -15,14 +16,14 @@ GH_ACCOUNT= novnc GH_PROJECT= noVNC GH_TAGNAME= 9142f8f -NO_BUILD= yes NO_ARCH= yes +NO_BUILD= yes TARGET_DIR= ${PREFIX}/libexec/novnc post-extract: @cd ${WRKSRC} && ${RM} .gitignore .gitmodules .travis.yml .eslintignore @cd ${WRKSRC} && ${RM} -R .github - @cd ${WRKSRC} && ${FIND} ${WRKSRC} -name '.eslintrc' -delete + @${FIND} ${WRKSRC} -name '.eslintrc' -delete do-install: ${MKDIR} ${STAGEDIR}${TARGET_DIR} Added: head/www/novnc/files/patch-core_decoders_tight.js ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/novnc/files/patch-core_decoders_tight.js Mon Jan 25 17:14:05 2021 (r562585) @@ -0,0 +1,11 @@ +--- core/decoders/tight.js.orig 2020-07-14 08:16:52 UTC ++++ core/decoders/tight.js +@@ -56,7 +56,7 @@ export default class TightDecoder { + } else if (this._ctl === 0x0A) { + ret = this._pngRect(x, y, width, height, + sock, display, depth); +- } else if ((this._ctl & 0x80) == 0) { ++ } else if ((this._ctl & 0x08) == 0) { + ret = this._basicRect(this._ctl, x, y, width, height, + sock, display, depth); + } else {