From d93a95c5bc21a2737a7e4f143c6003adc2f752d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 25 Sep 2022 21:06:02 +0700 Subject: [PATCH] python3-protobuf: strips python/ from upstream patches --- srcpkgs/python3-protobuf/patches/python-3.11.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)))