X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fsord-0.16.4.patch1;fp=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fsord-0.16.4.patch1;h=d21399a455f26a9749fc01afb2aa85a06a0a4a16;hp=0000000000000000000000000000000000000000;hb=1bc5e758583df864b90e484954cfcf0ddfb43139;hpb=78863ce9c7fde7ebd29963554c33d89569fd7cdb diff --git a/cinelerra-5.1/thirdparty/src/sord-0.16.4.patch1 b/cinelerra-5.1/thirdparty/src/sord-0.16.4.patch1 new file mode 100644 index 00000000..d21399a4 --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/sord-0.16.4.patch1 @@ -0,0 +1,21 @@ +--- ./waflib/Context.py ++++ ./waflib/Context.py +@@ -6,10 +6,17 @@ + Classes and functions enabling the command system + """ + +-import os, re, imp, sys ++import os, re, sys + from waflib import Utils, Errors, Logs + import waflib.Node + ++if sys.hexversion > 0x3040000: ++ import types ++ class imp(object): ++ new_module = lambda x: types.ModuleType(x) ++else: ++ import imp ++ + # the following 3 constants are updated on each new release (do not touch) + HEXVERSION=0x2001200 + """Constant updated on new releases"""