summaryrefslogtreecommitdiff
path: root/experimental/qt5-qtwebkit/js-py3.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-12 17:28:29 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-12 17:28:29 +0000
commitc6d75dec508b0c1e22d200759c8b583e2f3b2fd8 (patch)
tree08ee1bd3135233f4115244ddbedacae67251fa71 /experimental/qt5-qtwebkit/js-py3.patch
parentd2a5aafc7f3d743e85362e020ea4fabe5fe31c64 (diff)
downloadpackages-c6d75dec508b0c1e22d200759c8b583e2f3b2fd8.tar.gz
packages-c6d75dec508b0c1e22d200759c8b583e2f3b2fd8.tar.bz2
packages-c6d75dec508b0c1e22d200759c8b583e2f3b2fd8.tar.xz
packages-c6d75dec508b0c1e22d200759c8b583e2f3b2fd8.zip
experimental/qt5-qtwebkit: Closer to working
Diffstat (limited to 'experimental/qt5-qtwebkit/js-py3.patch')
-rw-r--r--experimental/qt5-qtwebkit/js-py3.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/experimental/qt5-qtwebkit/js-py3.patch b/experimental/qt5-qtwebkit/js-py3.patch
deleted file mode 100644
index 44e77cde0..000000000
--- a/experimental/qt5-qtwebkit/js-py3.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/generate-bytecode-files (original)
-+++ qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/generate-bytecode-files (refactored)
-@@ -91,7 +91,7 @@
- try:
- return open(path, mode)
- except IOError as e:
-- print "I/O error opening {0}, ({1}): {2}".format(path, e.errno, e.strerror)
-+ print("I/O error opening {0}, ({1}): {2}".format(path, e.errno, e.strerror))
- exit(1)
-
- def hashFile(file):
-@@ -165,7 +165,7 @@
- try:
- bytecodeSections = json.load(bytecodeFile, encoding = "utf-8")
- except:
-- print "Unexpected error parsing {0}: {1}".format(bytecodeJSONFile, sys.exc_info())
-+ print("Unexpected error parsing {0}: {1}".format(bytecodeJSONFile, sys.exc_info()))
-
- if bytecodeHFilename:
- bytecodeHFile.write(hFileHashString)
---- qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/generate-bytecode-files.old 2018-07-16 10:18:49.850000000 +0000
-+++ qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/generate-bytecode-files 2018-07-16 10:22:35.290000000 +0000
-@@ -157,10 +157,10 @@
- exit(0)
-
- if bytecodeHFilename:
-- bytecodeHFile = openOrExit(bytecodeHFilename, "wb")
-+ bytecodeHFile = openOrExit(bytecodeHFilename, "w")
-
- if initASMFileName:
-- initBytecodesFile = openOrExit(initASMFileName, "wb")
-+ initBytecodesFile = openOrExit(initASMFileName, "w")
-
- try:
- bytecodeSections = json.load(bytecodeFile, encoding = "utf-8")