diff --git a/srcpkgs/python3-protobuf/patches/python-3.11.patch b/srcpkgs/python3-protobuf/patches/python-3.11.patch index 831e41ef900..f6ed1b07835 100644 --- a/srcpkgs/python3-protobuf/patches/python-3.11.patch +++ b/srcpkgs/python3-protobuf/patches/python-3.11.patch @@ -5,13 +5,13 @@ Subject: [PATCH] Fix build with Python 3.11 The PyFrameObject structure members have been removed from the public C API. --- - python/google/protobuf/pyext/descriptor.cc | 75 ++++++++++++++++++---- + google/protobuf/pyext/descriptor.cc | 75 ++++++++++++++++++---- 1 file changed, 62 insertions(+), 13 deletions(-) -diff --git a/python/google/protobuf/pyext/descriptor.cc b/python/google/protobuf/pyext/descriptor.cc +diff --git a/google/protobuf/pyext/descriptor.cc b/google/protobuf/pyext/descriptor.cc index fc83acf01a..fc97b0fa6c 100644 ---- a/python/google/protobuf/pyext/descriptor.cc -+++ b/python/google/protobuf/pyext/descriptor.cc +--- a/google/protobuf/pyext/descriptor.cc ++++ b/google/protobuf/pyext/descriptor.cc @@ -58,6 +58,37 @@ : 0) \ : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))