Date: Mon, 25 Jan 2021 17:14:05 +0000 (UTC) From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562585 - in head/www/novnc: . files Message-ID: <202101251714.10PHE5nG021331@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101251714.10PHE5nG021331>