mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
10 lines
640 B
Text
10 lines
640 B
Text
--- pgx/pgx-pg-sys/build.rs.orig 2022-11-06 21:01:34.720308000 +0000
|
|
+++ pgx/pgx-pg-sys/build.rs 2022-11-06 21:02:14.469075000 +0000
|
|
@@ -507,6 +507,7 @@
|
|
let bindings = bindgen::Builder::default()
|
|
.header(include_h.display().to_string())
|
|
.clang_arg(&format!("-I{}", includedir_server.display()))
|
|
+ .clang_arg("-I%%LOCALBASE%%/include")
|
|
.parse_callbacks(Box::new(IgnoredMacros::default()))
|
|
.blocklist_function("varsize_any") // pgx converts the VARSIZE_ANY macro, so we don't want to also have this function, which is in heaptuple.c
|
|
.blocklist_function("query_tree_walker")
|