From e23a08d0c97a0cc415aaa165da840b056f93c997 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Oct 2021 23:06:07 +0100 Subject: gentoo resync : 08.10.2021 --- .../files/cython-0.29.24-test-failure-warning.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-python/cython/files/cython-0.29.24-test-failure-warning.patch (limited to 'dev-python/cython/files') diff --git a/dev-python/cython/files/cython-0.29.24-test-failure-warning.patch b/dev-python/cython/files/cython-0.29.24-test-failure-warning.patch new file mode 100644 index 000000000000..64202a93ecad --- /dev/null +++ b/dev-python/cython/files/cython-0.29.24-test-failure-warning.patch @@ -0,0 +1,20 @@ +https://github.com/cython/cython/commit/bf4979e2441ffbc9aaeb88f5c67608578040588f +https://bugs.gentoo.org/739516 + +From: Stefan Behnel +Date: Sat, 3 Apr 2021 08:23:44 +0200 +Subject: [PATCH] Make a helper function in a C++ test correctly propagate + exceptions so that it won't have to spit out compiler warnings. + +--- a/tests/run/cpp_stl_conversion.pyx ++++ b/tests/run/cpp_stl_conversion.pyx +@@ -15,7 +15,7 @@ py_set = set + py_xrange = xrange + py_unicode = unicode + +-cdef string add_strings(string a, string b): ++cdef string add_strings(string a, string b) except *: + return a + b + + def normalize(bytes b): + -- cgit v1.2.3