From 1fd7b5d1e67a9217f695c252866784a901bc7372 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 2 Aug 2015 08:26:39 +0200 Subject: nodejs: add 0.12 version of node add node-js 0.12 and a few gyp bindings Signed-off-by: John Crispin --- lang/node/patches/003-path.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lang/node/patches/003-path.patch (limited to 'lang/node/patches/003-path.patch') diff --git a/lang/node/patches/003-path.patch b/lang/node/patches/003-path.patch new file mode 100644 index 000000000..723fe9da7 --- /dev/null +++ b/lang/node/patches/003-path.patch @@ -0,0 +1,12 @@ +--- a/lib/module.js ++++ b/lib/module.js +@@ -512,7 +512,8 @@ + var homeDir = process.env.HOME; + } + +- var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')]; ++ var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node'), ++ path.resolve(process.execPath, '..', '..', 'lib', 'node_modules')]; + + if (homeDir) { + paths.unshift(path.resolve(homeDir, '.node_libraries')); -- cgit v1.2.3