From: Samuel Martin Date: Thu, 13 Nov 2014 22:49:30 +0000 (+0100) Subject: package/qt5webkit: fix build failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7178c9b764d64448590cde0805747b6edfb7d796;p=buildroot.git package/qt5webkit: fix build failure This patch fixes build failure when the host python interpreter is python3. Fixes: http://autobuild.buildroot.net/results/af8/af8f3d3cc018006cee58d57cd9e8c6d8b3de3247/ Signed-off-by: Samuel Martin Signed-off-by: Peter Korsgaard --- diff --git a/package/qt5/qt5webkit/0002-Fix-build-failure-with-python3.patch b/package/qt5/qt5webkit/0002-Fix-build-failure-with-python3.patch new file mode 100644 index 0000000000..dc0854ea61 --- /dev/null +++ b/package/qt5/qt5webkit/0002-Fix-build-failure-with-python3.patch @@ -0,0 +1,31 @@ +Fetched from: https://codereview.qt-project.org/#/c/99784/ + +From e9d00f6279f9cfefc5a3144d5953bb7934aed418 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Thu, 13 Nov 2014 15:29:38 +0100 +Subject: [PATCH] Fix build failure with python3 + +Task-number: QTBUG-33692 +Change-Id: I7a3bc6217110ce3a0bf5fee4b3b675dee39d8ac5 + +Signed-off-by: Samuel Martin +--- + Source/JavaScriptCore/disassembler/udis86/itab.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/JavaScriptCore/disassembler/udis86/itab.py b/Source/JavaScriptCore/disassembler/udis86/itab.py +index 3d50ad0..90bd3e0 100644 +--- a/Source/JavaScriptCore/disassembler/udis86/itab.py ++++ b/Source/JavaScriptCore/disassembler/udis86/itab.py +@@ -314,7 +314,7 @@ class UdItabGenerator( ud_opcode.UdOpcodeTables ): + self.ItabH.write( "\n" ) + + self.ItabH.write("\n/* itab entry operand definitions */\n"); +- operands = self.OperandDict.keys() ++ operands = list( self.OperandDict.keys() ) + operands.sort() + for o in operands: + self.ItabH.write("#define O_%-7s { %-12s %-8s }\n" % +-- +2.1.3 +