diff options
author | Martin Bark <martin@barkynet.com> | 2015-06-27 03:01:34 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-06-28 15:14:24 +0200 |
commit | d00fb884e4415e09b57901b001300c6da43086e2 (patch) | |
tree | 93f9174e06ea3027a0f1baead3aca2713bbc84f3 /package/nodejs/0001-remove-python-bz2-dependency.patch | |
parent | c0c97a957ab37b7e4ec90075e4f66bc01083ee5c (diff) | |
download | buildroot-d00fb884e4415e09b57901b001300c6da43086e2.tar.gz buildroot-d00fb884e4415e09b57901b001300c6da43086e2.zip |
package/nodejs: Update to allow selecting node.js version
[Thomas: fix minor Config.in formatting issues pointed by Yann.]
Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs/0001-remove-python-bz2-dependency.patch')
-rw-r--r-- | package/nodejs/0001-remove-python-bz2-dependency.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/package/nodejs/0001-remove-python-bz2-dependency.patch b/package/nodejs/0001-remove-python-bz2-dependency.patch deleted file mode 100644 index 75fe437502..0000000000 --- a/package/nodejs/0001-remove-python-bz2-dependency.patch +++ /dev/null @@ -1,27 +0,0 @@ -Remove dependency on Python bz2 module - -The Python bz2 module is only needed in certain cases, so only import -it when needed. In the normal nodejs build, this allows to remove the -dependency on this module. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> -Index: b/deps/v8/tools/js2c.py -=================================================================== ---- a/deps/v8/tools/js2c.py -+++ b/deps/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) |