diff --git a/modules/iceoryx2/0.5.0/patches/bindgen.patch b/modules/iceoryx2/0.5.0/patches/bindgen.patch index 36cf07adb6c..bc9cdcc65ae 100644 --- a/modules/iceoryx2/0.5.0/patches/bindgen.patch +++ b/modules/iceoryx2/0.5.0/patches/bindgen.patch @@ -1,8 +1,8 @@ diff --git iceoryx2-ffi/ffi/BUILD.bazel iceoryx2-ffi/ffi/BUILD.bazel -index f2738f81..a4e27e63 100644 +index f2738f81..ab83c171 100644 --- iceoryx2-ffi/ffi/BUILD.bazel +++ iceoryx2-ffi/ffi/BUILD.bazel -@@ -20,9 +20,10 @@ filegroup( +@@ -20,22 +20,21 @@ filegroup( srcs = glob(["**"]), ) @@ -16,17 +16,18 @@ index f2738f81..a4e27e63 100644 ) genrule( -@@ -31,11 +32,11 @@ genrule( + name = "iceoryx2-ffi-cbindgen", + srcs = glob(["src/**/*.rs"]) + [ "//:all_srcs", - "Cargo.toml", - "cbindgen.toml", +- "Cargo.toml", +- "cbindgen.toml", - ":cbindgen-cli", + ":cbindgen", ], outs = ["include/iox2/iceoryx2.h"], # this is actually just 'cbindgen iceoryx2-ffi/ffi --quiet --config iceoryx2-ffi/ffi/cbindgen.toml --output include/iox2/iceoryx2.h' - cmd = "$(execpath :cbindgen-cli) $$(dirname $(location Cargo.toml)) --quiet --config $(location cbindgen.toml) --output $(OUTS)", -+ cmd = "$(execpath :cbindgen) $$(dirname $(location Cargo.toml)) --quiet --config $(location cbindgen.toml) --output $(OUTS)", ++ cmd = "$(execpath :cbindgen) $$(dirname $(location @iceoryx2//iceoryx2_ffi/ffi:Cargo.toml)) --quiet --config $(location @iceoryx2//iceoryx2_ffi/ffi:cbindgen.toml) --output $(OUTS)", ) rust_shared_library( diff --git a/modules/iceoryx2/0.5.0/source.json b/modules/iceoryx2/0.5.0/source.json index efa478632af..09a97c30f52 100644 --- a/modules/iceoryx2/0.5.0/source.json +++ b/modules/iceoryx2/0.5.0/source.json @@ -7,6 +7,6 @@ "MODULE.bazel": "sha256-5TJVZ/XxDuu6F2R+3TJQQix3XhXdwjKIyWtyY7YAVu8=" }, "patches": { - "bindgen.patch": "sha256-zfVmYHek57gazE0HtgskaXUZOTiN/ktoigqHhL3DhLw=" + "bindgen.patch": "sha256-FIJlzGk33edtoV82KzThcNdQ4Xwb1tcjQdjCWINYUro=" } }