File: fix-bindgen.diff

package info (click to toggle)
rust-drm-fourcc 2.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: makefile: 4
file content (11 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/build.rs
+++ b/build.rs
@@ -140,7 +140,7 @@
         bindgen::builder()
             .ctypes_prefix("crate::_fake_ctypes")
             .header(wrapper_path.as_os_str().to_str().unwrap())
-            .whitelist_var("DRM_FOURCC_.*")
+            .allowlist_var("DRM_FOURCC_.*")
             .generate()
             .unwrap()
             .write_to_file("src/consts.rs")?;