Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 683878 Details for
Bug 766303
dev-qt/qtwebkit-5.212.0_pre20200309-r1 fail to build with python-3.9 (PATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
78360c01c796b6260bf828bc9c8a0ef73c5132fd.patch
78360c01c796b6260bf828bc9c8a0ef73c5132fd.patch (text/plain), 1.07 KB, created by
Francesco Riosa
on 2021-01-20 18:33:44 UTC
(
hide
)
Description:
78360c01c796b6260bf828bc9c8a0ef73c5132fd.patch
Filename:
MIME Type:
Creator:
Francesco Riosa
Created:
2021-01-20 18:33:44 UTC
Size:
1.07 KB
patch
obsolete
>From 78360c01c796b6260bf828bc9c8a0ef73c5132fd Mon Sep 17 00:00:00 2001 >From: Konstantin Tokarev <annulen@yandex.ru> >Date: Wed, 3 Jun 2020 15:01:42 +0300 >Subject: [PATCH] Fix compilation with Python 3.9: avoid passing encoding to > json.load() > >In Python 2.7 UTF-8 is assumed by default, while in Python 3 this argument >is not supported. > >Change-Id: Ic459d60a6b20bc1838d8771bc36ac41614fe61a9 >--- > Source/JavaScriptCore/generate-bytecode-files | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Source/JavaScriptCore/generate-bytecode-files b/Source/JavaScriptCore/generate-bytecode-files >index c5dab429c7b0..af3431275ecf 100644 >--- a/Source/JavaScriptCore/generate-bytecode-files >+++ b/Source/JavaScriptCore/generate-bytecode-files >@@ -163,7 +163,7 @@ if __name__ == "__main__": > initBytecodesFile = openOrExit(initASMFileName, "w") > > try: >- bytecodeSections = json.load(bytecodeFile, encoding = "utf-8") >+ bytecodeSections = json.load(bytecodeFile) > except: > print("Unexpected error parsing {0}: {1}".format(bytecodeJSONFile, sys.exc_info())) >
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 766303
:
683875
| 683878