[Pkg-javascript-commits] [SCM] JavaScript parser/mangler/compressor/beautifier library for NodeJS branch, master, updated. debian/1.0.4-1-41-gf70e93e

Jonas Smedegaard dr at jones.dk
Fri Dec 7 20:15:35 UTC 2012


The following commit has been merged in the master branch:
commit bddb439ca5db01d3a7a79cee7187eb4cd57c67b9
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Dec 7 19:48:59 2012 +0100

    Fix adapt path in binary too in fix_lib_path patch.

diff --git a/debian/patches/fix_lib_path.patch b/debian/patches/fix_lib_path.patch
index c9dd191..dfff335 100644
--- a/debian/patches/fix_lib_path.patch
+++ b/debian/patches/fix_lib_path.patch
@@ -1,7 +1,8 @@
 Description: Adapt paths to system-wide install
 Forwarded: not-needed
 Author: Marcelo Jorge Vieira <metal at alucinados.com>
-Last-Update: 2012-03-25
+Author: Jonas Smedegaard <dr at jones.dk>
+Last-Update: 2012-12-06
 
 Index: uglifyjs/uglify-js.js
 ===================================================================
@@ -19,3 +20,14 @@ Index: uglifyjs/uglify-js.js
 +uglify.consolidator = require("./consolidator");
  
  module.exports = uglify
+--- uglifyjs-1.3.3.orig/bin/uglifyjs
++++ uglifyjs-1.3.3/bin/uglifyjs
+@@ -3,7 +3,7 @@
+ 
+ global.sys = require(/^v0\.[012]/.test(process.version) ? "sys" : "util");
+ var fs = require("fs"), path = require("path");
+-var uglify = require("../uglify-js"), // symlink ~/.node_libraries/uglify-js.js to ../uglify-js.js
++var uglify = require("uglify-js"),
+     consolidator = uglify.consolidator,
+     jsp = uglify.parser,
+     pro = uglify.uglify;

-- 
JavaScript parser/mangler/compressor/beautifier library for NodeJS



More information about the Pkg-javascript-commits mailing list