uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
20
pkgs/misc/drivers/xboxdrv/scons-v4.2.0.patch
Normal file
20
pkgs/misc/drivers/xboxdrv/scons-v4.2.0.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- a/SConstruct 2021-10-31 20:42:44.232084185 -0400
|
||||
+++ b/SConstruct 2021-10-31 20:42:54.063024444 -0400
|
||||
@@ -36,7 +36,7 @@
|
||||
with open(target[0].get_path(), "w") as fout:
|
||||
fout.write("// autogenerated by scons Bin2H builder, do not edit by hand!\n\n")
|
||||
|
||||
- if env.has_key("BIN2H_NAMESPACE"):
|
||||
+ if "BIN2H_NAMESPACE" in env:
|
||||
fout.write("namespace %s {\n\n" % env["BIN2H_NAMESPACE"])
|
||||
|
||||
# write down data
|
||||
@@ -62,7 +62,7 @@
|
||||
for src in source], ",\n"))
|
||||
fout.write("\n}\n\n")
|
||||
|
||||
- if env.has_key("BIN2H_NAMESPACE"):
|
||||
+ if "BIN2H_NAMESPACE" in env:
|
||||
fout.write("} // namespace %s\n\n" % env["BIN2H_NAMESPACE"])
|
||||
|
||||
fout.write("/* EOF */\n")
|
||||
Loading…
Add table
Add a link
Reference in a new issue