View | Details | Raw Unified | Return to bug 248167 | Differences between
and this patch

Collapse All | Expand All

(-)www/node/Makefile (-1 / +7 lines)
Lines 112-115 Link Here
112
post-install:
112
post-install:
113
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
113
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
114
114
115
.include <bsd.port.mk>
115
.include <bsd.port.pre.mk>
116
117
.if ${PYTHON_REL} >= 3700
118
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-tools_genv8constants.py
119
.endif
120
121
.include <bsd.port.post.mk>
(-)www/node/files/extra-patch-tools_genv8constants.py (+11 lines)
Line 0 Link Here
1
--- tools/genv8constants.py.orig	2020-05-14 21:31:48 UTC
2
+++ tools/genv8constants.py
3
@@ -20,7 +20,7 @@ if len(sys.argv) != 3:
4
 outfile = open(sys.argv[1], 'w')
5
 try:
6
   pipe = subprocess.Popen([ 'objdump', '-z', '-D', sys.argv[2] ],
7
-      bufsize=-1, stdout=subprocess.PIPE).stdout
8
+      bufsize=-1, stdout=subprocess.PIPE, text=True).stdout
9
 except OSError as e:
10
   if e.errno == errno.ENOENT:
11
     print('''
(-)www/node/files/patch-tools_genv8constants.py (-11 lines)
Lines 1-11 Link Here
1
--- tools/genv8constants.py.orig	2020-05-14 21:31:48 UTC
2
+++ tools/genv8constants.py
3
@@ -20,7 +20,7 @@ if len(sys.argv) != 3:
4
 outfile = open(sys.argv[1], 'w')
5
 try:
6
   pipe = subprocess.Popen([ 'objdump', '-z', '-D', sys.argv[2] ],
7
-      bufsize=-1, stdout=subprocess.PIPE).stdout
8
+      bufsize=-1, stdout=subprocess.PIPE, text=True).stdout
9
 except OSError as e:
10
   if e.errno == errno.ENOENT:
11
     print('''

Return to bug 248167