svn commit: r562585 - in head/www/novnc: . files
Fernando Apesteguía
fernape at FreeBSD.org
Mon Jan 25 17:14:06 UTC 2021
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 at 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 at 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 {
More information about the svn-ports-all
mailing list