Loading debian/changelog +1 −0 Original line number Diff line number Diff line node-typescript (3.5.2-1) UNRELEASED; urgency=medium * New upstream release. * Add patch to find system-installed libs (Closes: #930268). -- Julien Puydt <jpuydt@debian.org> Mon, 08 Jul 2019 10:41:59 +0200 Loading debian/patches/debian_library_path.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line Author: Julien Puydt Description: Make sure system-installed libs are found Forwarded: no --- node-typescript.orig/lib/tsc.js +++ node-typescript/lib/tsc.js @@ -71927,7 +71927,7 @@ } } function getDefaultLibLocation() { - return ts.getDirectoryPath(ts.normalizePath(system.getExecutingFilePath())); + return "/usr/lib/nodejs"; } var newLine = ts.getNewLineCharacter(options, function () { return system.newLine; }); var realpath = system.realpath && (function (path) { return system.realpath(path); }); debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line debian_library_path.patch Loading
debian/changelog +1 −0 Original line number Diff line number Diff line node-typescript (3.5.2-1) UNRELEASED; urgency=medium * New upstream release. * Add patch to find system-installed libs (Closes: #930268). -- Julien Puydt <jpuydt@debian.org> Mon, 08 Jul 2019 10:41:59 +0200 Loading
debian/patches/debian_library_path.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line Author: Julien Puydt Description: Make sure system-installed libs are found Forwarded: no --- node-typescript.orig/lib/tsc.js +++ node-typescript/lib/tsc.js @@ -71927,7 +71927,7 @@ } } function getDefaultLibLocation() { - return ts.getDirectoryPath(ts.normalizePath(system.getExecutingFilePath())); + return "/usr/lib/nodejs"; } var newLine = ts.getNewLineCharacter(options, function () { return system.newLine; }); var realpath = system.realpath && (function (path) { return system.realpath(path); });
debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line debian_library_path.patch