FreeBSD Bugzilla – Attachment 219795 Details for
Bug 251241
www/novnc: Add upstream fix for basic compression check in Tight decoder
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
novnc-1.2.0_1.diff
novnc-1.2.0_1.diff (text/plain), 1.31 KB, created by
Dmitry Petrov
on 2020-11-18 16:50:14 UTC
(
hide
)
Description:
novnc-1.2.0_1.diff
Filename:
MIME Type:
Creator:
Dmitry Petrov
Created:
2020-11-18 16:50:14 UTC
Size:
1.31 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 555647) >+++ Makefile (working copy) >@@ -2,6 +2,7 @@ > > PORTNAME= novnc > PORTVERSION= 1.2.0 >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= dpetrov67@gmail.com >@@ -22,7 +23,7 @@ > post-extract: > @cd ${WRKSRC} && ${RM} .gitignore .gitmodules .travis.yml .eslintignore > @cd ${WRKSRC} && ${RM} -R .github >- @cd ${WRCSRC} && ${FIND} ${WRKSRC} -name '.eslintrc' -delete >+ @${FIND} ${WRKSRC} -name '.eslintrc' -delete > > do-install: > ${MKDIR} ${STAGEDIR}${TARGET_DIR} >Index: files/patch-core_decoders_tight.js >=================================================================== >--- files/patch-core_decoders_tight.js (nonexistent) >+++ files/patch-core_decoders_tight.js (working copy) >@@ -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 {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251241
:
219795
|
219980