summaryrefslogtreecommitdiff
path: root/www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch')
-rw-r--r--www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch b/www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch
new file mode 100644
index 000000000000..7c67e6b8ece0
--- /dev/null
+++ b/www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch
@@ -0,0 +1,12 @@
+--- a/phantomjs-2.0.0/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/itab.py 2015-01-24 11:19:52.000000000 +0900
++++ b/phantomjs-2.0.0/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/itab.py 2015-03-17 16:20:04.580191055 +0900
+@@ -314,8 +314,7 @@
+ self.ItabH.write( "\n" )
+
+ self.ItabH.write("\n/* itab entry operand definitions */\n");
+- operands = self.OperandDict.keys()
+- operands.sort()
++ operands = sorted(self.OperandDict)
+ for o in operands:
+ self.ItabH.write("#define O_%-7s { %-12s %-8s }\n" %
+ (o, self.OperandDict[o][0] + ",", self.OperandDict[o][1]));