graaff 15/03/18 20:17:45 Added: phantomjs-python3-udis86-itab.patch Log: Fix building fix python 3 selected. Thanks for Benjamin Southall for the patch in bug 543534. (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Revision Changes Path 1.1 www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/files/phantomjs-python3-udis86-itab.patch?rev=1.1&content-type=text/plain Index: phantomjs-python3-udis86-itab.patch =================================================================== --- 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]));
