File: 2009_closure-compiler.patch

package info (click to toggle)
emscripten 3.1.69%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 121,860 kB
  • sloc: ansic: 636,110; cpp: 425,974; javascript: 78,401; python: 58,404; sh: 49,154; pascal: 5,237; makefile: 3,366; asm: 2,415; lisp: 1,869
file content (21 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: work around old quirky closure-compiler in Debian
 Fake closure-compiler version check,
 which hangs with old Debian release.
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/974984
Last-Update: 2022-02-11
---
 tools/building.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/building.py
+++ b/tools/building.py
@@ -452,7 +452,7 @@
 
 
 def check_closure_compiler(cmd, args, env, allowed_to_fail):
-  cmd = cmd + args + ['--version']
+  cmd = ['echo', 'Version: fake!']
   try:
     output = run_process(cmd, stdout=PIPE, env=env).stdout
   except Exception as e: