15
0
forked from pool/python-fb-re2

- Add cpp17.patch to build in newer version of absl

gh#facebook/pyre2#25

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fb-re2?expand=0&rev=7
This commit is contained in:
2023-08-03 11:04:52 +00:00
committed by Git OBS Bridge
parent 68d93a82a8
commit bb1c9e6c63
3 changed files with 26 additions and 4 deletions

12
cpp17.patch Normal file
View File

@@ -0,0 +1,12 @@
Index: pyre2-1.0.7/setup.py
===================================================================
--- pyre2-1.0.7.orig/setup.py
+++ pyre2-1.0.7/setup.py
@@ -21,6 +21,6 @@ setup(
ext_modules = [Extension("_re2",
sources = ["_re2.cc"],
libraries = ["re2"],
- extra_compile_args=['-std=c++11'],
+ extra_compile_args=['-std=c++17'],
)],
)