From 7a3eefaa2a75ebc81fd96083ae5ba4e57893fd95 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 9 Jul 2024 17:46:56 +0000 Subject: Adding metadata --- .../files/protobuf-python-4.22.5-c++-17.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev-python/protobuf-python/files/protobuf-python-4.22.5-c++-17.patch (limited to 'dev-python/protobuf-python/files/protobuf-python-4.22.5-c++-17.patch') diff --git a/dev-python/protobuf-python/files/protobuf-python-4.22.5-c++-17.patch b/dev-python/protobuf-python/files/protobuf-python-4.22.5-c++-17.patch new file mode 100644 index 000000000000..3ca6a5776d04 --- /dev/null +++ b/dev-python/protobuf-python/files/protobuf-python-4.22.5-c++-17.patch @@ -0,0 +1,13 @@ +diff --git a/python/setup.py b/python/setup.py +index e65631013..8a6cbe59a 100755 +--- a/python/setup.py ++++ b/python/setup.py +@@ -370,7 +370,7 @@ if __name__ == '__main__': + extra_compile_args.append('-Wno-invalid-offsetof') + extra_compile_args.append('-Wno-sign-compare') + extra_compile_args.append('-Wno-unused-variable') +- extra_compile_args.append('-std=c++14') ++ extra_compile_args.append('-std=c++17') + + if sys.platform == 'darwin': + extra_compile_args.append('-Wno-shorten-64-to-32') -- cgit v1.3.1