diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-11-08 13:52:41 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-11-08 13:52:41 -0800 |
commit | da06b13ec68403a59feb3af0f120ff9fcc576e21 (patch) | |
tree | 5800f69322205b56236c93c3df30a3934b31d66d /scons-v4.2.0.patch | |
parent | Rebuild using python3 (diff) | |
download | xboxdrv-da06b13ec68403a59feb3af0f120ff9fcc576e21.tar.xz |
Rebuild for scons 4.2.0
Diffstat (limited to 'scons-v4.2.0.patch')
-rw-r--r-- | scons-v4.2.0.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scons-v4.2.0.patch b/scons-v4.2.0.patch new file mode 100644 index 0000000..04b05e8 --- /dev/null +++ b/scons-v4.2.0.patch @@ -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") |