python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / misc / drivers / xboxdrv / scons-v4.2.0.patch
blob04b05e8d6ffc6c025936aa2a8a11ac5a13fd21be
1 --- a/SConstruct 2021-10-31 20:42:44.232084185 -0400
2 +++ b/SConstruct 2021-10-31 20:42:54.063024444 -0400
3 @@ -36,7 +36,7 @@
4 with open(target[0].get_path(), "w") as fout:
5 fout.write("// autogenerated by scons Bin2H builder, do not edit by hand!\n\n")
7 - if env.has_key("BIN2H_NAMESPACE"):
8 + if "BIN2H_NAMESPACE" in env:
9 fout.write("namespace %s {\n\n" % env["BIN2H_NAMESPACE"])
11 # write down data
12 @@ -62,7 +62,7 @@
13 for src in source], ",\n"))
14 fout.write("\n}\n\n")
16 - if env.has_key("BIN2H_NAMESPACE"):
17 + if "BIN2H_NAMESPACE" in env:
18 fout.write("} // namespace %s\n\n" % env["BIN2H_NAMESPACE"])
20 fout.write("/* EOF */\n")