mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
e55090794a
a/volume_key-0.3.12-x86_64-7.txz: Rebuilt. Build python3 bindings. l/atkmm2-2.36.3-x86_64-1.txz: Added. l/boost-1.84.0-x86_64-2.txz: Rebuilt. Drop python2 support. l/glibmm-2.66.7-x86_64-1.txz: Upgraded. l/gst-plugins-bad-free-1.24.1-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.24.1-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.24.1-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.24.1-x86_64-1.txz: Upgraded. l/gstreamer-1.24.1-x86_64-1.txz: Upgraded. l/gtkmm4-4.14.0-x86_64-1.txz: Upgraded. l/unicode-ucd-15.1.0-noarch-1.txz: Added. 153MB installed... oh well. Needed by gucharmap. xap/gucharmap-15.1.3-x86_64-1.txz: Upgraded. xap/x3270-4.3ga7-x86_64-1.txz: Upgraded.
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
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 c5dab429c7b0f..af3431275ecf9 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()))
|
|
|