summarylogtreecommitdiffstats
path: root/vdrift-sconscript.patch
diff options
context:
space:
mode:
authorRyan Petris2017-10-15 13:54:32 -0400
committerRyan Petris2017-10-15 13:55:09 -0400
commite23bec4dadb8bde32f23fc5f14cfa3c86ba808dd (patch)
tree683552f741c2ccf04b5c6a9f0022721893ce9c0b /vdrift-sconscript.patch
parente4691082d4b1bacbb09bfd15a0a9810b4e49261c (diff)
downloadaur-e23bec4dadb8bde32f23fc5f14cfa3c86ba808dd.tar.gz
Patch for SCons 3.0 compatibility.
Diffstat (limited to 'vdrift-sconscript.patch')
-rw-r--r--vdrift-sconscript.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/vdrift-sconscript.patch b/vdrift-sconscript.patch
new file mode 100644
index 000000000000..b0ac4d326532
--- /dev/null
+++ b/vdrift-sconscript.patch
@@ -0,0 +1,11 @@
+--- ./src/SConscript.orig 2014-09-04 16:06:21.000000000 -0400
++++ ./src/SConscript 2017-10-15 11:22:06.536446627 -0400
+@@ -151,7 +151,7 @@ src = Split("""
+ utils.cpp
+ window.cpp""")
+
+-src.sort(lambda x, y: cmp(x.lower(),y.lower()))
++src.sort(key=lambda x: x.lower())
+
+ #------------------------#
+ # Copy Build Environment #