103ab731ab
* runit is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
12 lines
447 B
Diff
12 lines
447 B
Diff
patch bindgen to use BINDGEN_EXTRA_CLANG_ARGS variable to set sysroot for cross builds
|
|
https://github.com/jnbr/rust-bindgen/tree/0.37.4-clang_args
|
|
|
|
--- a/Cargo.toml 2019-06-15 13:18:05.509893680 +0200
|
|
+++ b/Cargo.toml 2019-06-15 13:19:48.854887006 +0200
|
|
@@ -53,3 +53,6 @@
|
|
slog-term = "2"
|
|
slog-async = "2"
|
|
url = "1"
|
|
+
|
|
+[patch.crates-io]
|
|
+bindgen = {git = 'https://github.com/jnbr/rust-bindgen', rev = '4afb05213b3e7e0ec928b84ea85d9f2b99477586'}
|