From 62802d24c07b0b5c5c4b9f5775ed49463c2a6891 Mon Sep 17 00:00:00 2001 From: Fatih Aşıcı Date: Wed, 2 Oct 2013 09:32:02 +0300 Subject: qt5: give numbers to patch files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fatih Aşıcı Acked-by: "Samuel Martin" Signed-off-by: Peter Korsgaard --- ...t5jsbackend-dont-import-bz2-python-module.patch | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 package/qt5/qt5jsbackend/qt5jsbackend-dont-import-bz2-python-module.patch (limited to 'package/qt5/qt5jsbackend/qt5jsbackend-dont-import-bz2-python-module.patch') diff --git a/package/qt5/qt5jsbackend/qt5jsbackend-dont-import-bz2-python-module.patch b/package/qt5/qt5jsbackend/qt5jsbackend-dont-import-bz2-python-module.patch deleted file mode 100644 index 08f343e5ea..0000000000 --- a/package/qt5/qt5jsbackend/qt5jsbackend-dont-import-bz2-python-module.patch +++ /dev/null @@ -1,29 +0,0 @@ -Only import bz2 python module when needed - -The js2c.py script imports the bz2 module unconditionnally, which -would require us to build the bzip2 support in host-python. Since in -fact bzip2 support is not technically used when building this package, -we ensure that the bz2 module is only imported when needed. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/3rdparty/v8/tools/js2c.py -=================================================================== ---- a/src/3rdparty/v8/tools/js2c.py -+++ b/src/3rdparty/v8/tools/js2c.py -@@ -33,7 +33,6 @@ - - import os, re, sys, string - import jsmin --import bz2 - - - def ToCAsciiArray(lines): -@@ -344,6 +343,7 @@ - else: - raw_sources_declaration = RAW_SOURCES_COMPRESSION_DECLARATION - if env['COMPRESSION'] == 'bz2': -+ import bz2 - all_sources = bz2.compress("".join(all_sources)) - total_length = len(all_sources) - sources_data = ToCArray(all_sources) -- cgit v1.2.3