Skip to content
Snippets Groups Projects
Verified Commit 4fdffea3 authored by sunpoet's avatar sunpoet
Browse files

devel/py-protobuf: Update to 4.25.0

parent 56f45bfb
No related branches found
No related tags found
No related merge requests found
PORTNAME= protobuf
PORTVERSION= 4.24.4
PORTVERSION= 4.25.0
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
......
TIMESTAMP = 1696753660
SHA256 (protobuf-4.24.4.tar.gz) = 5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667
SIZE (protobuf-4.24.4.tar.gz) = 383850
TIMESTAMP = 1699774626
SHA256 (protobuf-4.25.0.tar.gz) = 68f7caf0d4f012fd194a301420cf6aa258366144d814f358c5b32558228afa7c
SIZE (protobuf-4.25.0.tar.gz) = 380020
--- python/message.c.orig 2000-01-01 00:00:00 UTC
+++ python/message.c
@@ -1235,7 +1235,7 @@ static PyObject* PyUpb_Message_CopyFrom(PyObject* _sel
Py_DECREF(tmp);
upb_Message_DeepCopy(self->ptr.msg, other->ptr.msg,
- upb_MessageDef_MiniTable(other->def),
+ upb_MessageDef_MiniTable((upb_MessageDef *) other->def),
PyUpb_Arena_Get(self->arena));
PyUpb_Message_SyncSubobjs(self);
@@ -1606,9 +1606,9 @@ PyObject* DeepCopy(PyObject* _self, PyObject* arg) {
PyObject* arena = PyUpb_Arena_New();
upb_Message* clone =
- upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable(self->def),
+ upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable((upb_MessageDef *) self->def),
PyUpb_Arena_Get(arena));
- PyObject* ret = PyUpb_Message_Get(clone, self->def, arena);
+ PyObject* ret = PyUpb_Message_Get(clone, (upb_MessageDef *) self->def, arena);
Py_DECREF(arena);
return ret;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment