File mozilla-fix-issues-with-llvm18.patch of Package thunderbird102

diff -rup a/third_party/rust/bindgen/src/ir/item.rs b/third_party/rust/bindgen/src/ir/item.rs
--- a/third_party/rust/bindgen/src/ir/item.rs	2023-09-12 06:32:01.000000000 +0200
+++ b/third_party/rust/bindgen/src/ir/item.rs	2024-03-20 15:57:05.547738148 +0100
@@ -1393,6 +1393,7 @@ impl ClangItemParser for Item {
             // We whitelist cursors here known to be unhandled, to prevent being
             // too noisy about this.
             match cursor.kind() {
+                CXCursor_LinkageSpec => return Err(ParseError::Recurse),
                 CXCursor_MacroDefinition |
                 CXCursor_MacroExpansion |
                 CXCursor_UsingDeclaration |
openSUSE Build Service is sponsored by