ports/www/hurl/files/patch-cargo-crates__libxml-0.3.3__src__bindings.rs
Rodrigo Osorio 69d7f196c3 www/hurl: fix build with libxml2 2.14.1
Reported by:	dizzy
PR:		285899
2025-04-20 22:47:26 +02:00

13 lines
463 B
Rust

--- cargo-crates/libxml-0.3.3/src/bindings.rs.orig 2025-04-19 21:03:10 UTC
+++ cargo-crates/libxml-0.3.3/src/bindings.rs
@@ -5666,9 +5666,6 @@
pub fn xmlSetGenericErrorFunc(ctx: *mut ::std::os::raw::c_void, handler: xmlGenericErrorFunc);
}
extern "C" {
- pub fn initGenericErrorDefaultFunc(handler: *mut xmlGenericErrorFunc);
-}
-extern "C" {
pub fn xmlSetStructuredErrorFunc(
ctx: *mut ::std::os::raw::c_void,
handler: xmlStructuredErrorFunc,