X-Git-Url: https://www.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fsratom-0.6.4.patch1;fp=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fsratom-0.6.4.patch1;h=274285a221d2842b69a698f7158c875872a2a213;hb=1bc5e758583df864b90e484954cfcf0ddfb43139;hp=0000000000000000000000000000000000000000;hpb=78863ce9c7fde7ebd29963554c33d89569fd7cdb;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/thirdparty/src/sratom-0.6.4.patch1 b/cinelerra-5.1/thirdparty/src/sratom-0.6.4.patch1 new file mode 100644 index 00000000..274285a2 --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/sratom-0.6.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"""