mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-17 14:01:19 +02:00
add node 14
This commit is contained in:
11
lang/node14/files/patch-tools_genv8constants.py
Normal file
11
lang/node14/files/patch-tools_genv8constants.py
Normal file
@@ -0,0 +1,11 @@
|
||||
--- tools/genv8constants.py.orig 2020-08-20 20:43:20 UTC
|
||||
+++ tools/genv8constants.py
|
||||
@@ -20,7 +20,7 @@ if len(sys.argv) != 3:
|
||||
outfile = open(sys.argv[1], 'w')
|
||||
try:
|
||||
pipe = subprocess.Popen([ 'objdump', '-z', '-D', sys.argv[2] ],
|
||||
- bufsize=-1, stdout=subprocess.PIPE).stdout
|
||||
+ bufsize=-1, stdout=subprocess.PIPE, universal_newlines=True).stdout
|
||||
except OSError as e:
|
||||
if e.errno == errno.ENOENT:
|
||||
print('''
|
||||
Reference in New Issue
Block a user