diff options
Diffstat (limited to 'media-libs/slv2/files/slv2-0.6.6-python3.patch')
-rw-r--r-- | media-libs/slv2/files/slv2-0.6.6-python3.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/slv2/files/slv2-0.6.6-python3.patch b/media-libs/slv2/files/slv2-0.6.6-python3.patch new file mode 100644 index 000000000000..651c761d988c --- /dev/null +++ b/media-libs/slv2/files/slv2-0.6.6-python3.patch @@ -0,0 +1,22 @@ +diff --git a/autowaf.py b/autowaf.py +index 4797ea3..90db9be 100644 +--- a/autowaf.py ++++ b/autowaf.py +@@ -354,7 +354,7 @@ def build_version_files(header_path, source_path, domain, major, minor, micro): + o.write(text) + o.close() + except IOError: +- print "Could not open", source_path, " for writing\n" ++ print("Could not open", source_path, " for writing\n") + sys.exit(-1) + + text = "#ifndef __" + domain + "_version_h__\n" +@@ -369,7 +369,7 @@ def build_version_files(header_path, source_path, domain, major, minor, micro): + o.write(text) + o.close() + except IOError: +- print "Could not open", header_path, " for writing\n" ++ print("Could not open", header_path, " for writing\n") + sys.exit(-1) + + return None |