mozc: rebuild for protobuf, patch gyp to build with Python 3.10
This commit is contained in:
parent
fd0f47ebb0
commit
42512f9fa6
2 changed files with 21 additions and 1 deletions
20
srcpkgs/mozc/patches/gyp-py310.patch
Normal file
20
srcpkgs/mozc/patches/gyp-py310.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/gyp/pylib/gyp/common.py
|
||||
+++ b/gyp/pylib/gyp/common.py
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
-import collections
|
||||
+import collections.abc
|
||||
import errno
|
||||
import filecmp
|
||||
import os.path
|
||||
@@ -494,7 +494,7 @@
|
||||
|
||||
|
||||
# Based on http://code.activestate.com/recipes/576694/.
|
||||
-class OrderedSet(collections.MutableSet):
|
||||
+class OrderedSet(collections.abc.MutableSet):
|
||||
def __init__(self, iterable=None):
|
||||
self.end = end = []
|
||||
end += [None, end, end] # sentinel node for doubly linked list
|
|
@ -3,7 +3,7 @@ pkgname=mozc
|
|||
# src/data/version/mozc_version_template.bzl
|
||||
# revision is always 102, template always says 100 ;)
|
||||
version=2.26.4472.102
|
||||
revision=1
|
||||
revision=2
|
||||
_commit=439a610ac6b6a92375b4a8188d6c9ef45ea591dd
|
||||
_abseil=20210324.1
|
||||
create_wrksrc=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue