diff options
Diffstat (limited to 'dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch')
-rw-r--r-- | dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch b/dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch new file mode 100644 index 000000000000..b7a9d19a248d --- /dev/null +++ b/dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch @@ -0,0 +1,14 @@ +diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py +index e9bfa9fe9..43be47dd5 100644 +--- a/Cython/Compiler/ModuleNode.py ++++ b/Cython/Compiler/ModuleNode.py +@@ -376,6 +376,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): + self.generate_includes(env, modules, code, early=False) + + code = globalstate['all_the_rest'] ++ # Gentoo: workaround for https://github.com/cython/cython/issues/2747 ++ # https://bugs.gentoo.org/918983 ++ code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') + + self.generate_cached_builtins_decls(env, code) + self.generate_lambda_definitions(env, code) |