Commit 5f0227be authored by Julien Puydt's avatar Julien Puydt
Browse files

Add patch to find system libs (Closes: #930268)

parent 7d2f7c2e
Loading
Loading
Loading
Loading
+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

+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