summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/protobuf-python/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/protobuf-python/files')
-rw-r--r--dev-python/protobuf-python/files/protobuf-python-3.5.2-google.protobuf.pyext._message.MessageMeta.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/protobuf-python/files/protobuf-python-3.5.2-google.protobuf.pyext._message.MessageMeta.patch b/dev-python/protobuf-python/files/protobuf-python-3.5.2-google.protobuf.pyext._message.MessageMeta.patch
new file mode 100644
index 000000000000..d1e1d745ab7c
--- /dev/null
+++ b/dev-python/protobuf-python/files/protobuf-python-3.5.2-google.protobuf.pyext._message.MessageMeta.patch
@@ -0,0 +1,26 @@
+https://github.com/google/protobuf/pull/4365
+
+--- /python/google/protobuf/pyext/message.cc
++++ /python/google/protobuf/pyext/message.cc
+@@ -402,12 +402,6 @@
+ return result.release();
+ }
+
+-static PyGetSetDef Getters[] = {
+- {"_extensions_by_name", (getter)GetExtensionsByName, NULL},
+- {"_extensions_by_number", (getter)GetExtensionsByNumber, NULL},
+- {NULL}
+-};
+-
+ } // namespace message_meta
+
+ PyTypeObject CMessageClass_Type = {
+@@ -440,7 +434,7 @@
+ 0, // tp_iternext
+ 0, // tp_methods
+ 0, // tp_members
+- message_meta::Getters, // tp_getset
++ 0, // tp_getset
+ 0, // tp_base
+ 0, // tp_dict
+ 0, // tp_descr_get