commit a88141af91fcf6fbb07f4f36882651da9efa7e03
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Jun 30 17:26:33 2022 +0100
fix
chromium-freeworld.spec | 1 +
fix_py311.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 7b170d0..1d7af1e 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -195,6 +195,7 @@ Patch404: chromium-md5-based-build-id.patch
Patch405: chromium-names.patch
Patch406: allow-to-override-clang-through-env-variables.patch
Patch407: chromium-rpm-fusion-brand.patch
+Patch408: fix_py311.patch
%description
%{name} is an open-source web browser, powered by WebKit (Blink)
diff --git a/fix_py311.patch b/fix_py311.patch
new file mode 100644
index 0000000..0f26cc1
--- /dev/null
+++ b/fix_py311.patch
@@ -0,0 +1,11 @@
+--- a/tools/grit/grit/util.py 2022-06-16 03:32:07.000000000 +0100
++++ b/tools/grit/grit/util.py 2022-06-30 17:20:13.301738423 +0100
+@@ -209,7 +209,7 @@ def ReadFile(filename, encoding):
+ mode = 'rb'
+ encoding = None
+ else:
+- mode = 'rU'
++ mode = 'r'
+
+ with io.open(filename, mode, encoding=encoding) as f:
+ return f.read()
Show replies by date