diff --git a/devel/py-protobuf/Makefile b/devel/py-protobuf/Makefile index 931f5f1e1e2a13fe7c2238fdcab6cc6b4aed14b0..89ffccd604ca05a2c0cfe38401791c341d16f430 100644 --- a/devel/py-protobuf/Makefile +++ b/devel/py-protobuf/Makefile @@ -1,5 +1,5 @@ PORTNAME= protobuf -PORTVERSION= 4.24.4 +PORTVERSION= 4.25.0 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= PYPI diff --git a/devel/py-protobuf/distinfo b/devel/py-protobuf/distinfo index 20652a2f289826afc22f441c00f04841809df641..39aa3b85d7104178e07822fd39d4ae18d10a862d 100644 --- a/devel/py-protobuf/distinfo +++ b/devel/py-protobuf/distinfo @@ -1,3 +1,3 @@ -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 diff --git a/devel/py-protobuf/files/patch-clang16 b/devel/py-protobuf/files/patch-clang16 deleted file mode 100644 index 87b64d4d235486239f3327f04e7829a3fd7684c8..0000000000000000000000000000000000000000 --- a/devel/py-protobuf/files/patch-clang16 +++ /dev/null @@ -1,23 +0,0 @@ ---- 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;