2022-09-29 14:55:28 +00:00
committed by Git OBS Bridge
parent f1ec3c07b3
commit b09be45862
2 changed files with 59 additions and 66 deletions

View File

@@ -8,10 +8,10 @@ management via update_alternatives.
This is also important for generation of binary
modules for multiple versions of NodeJS
Index: node-v18.9.0/Makefile
Index: node-v18.10.0/Makefile
===================================================================
--- node-v18.9.0.orig/Makefile
+++ node-v18.9.0/Makefile
--- node-v18.10.0.orig/Makefile
+++ node-v18.10.0/Makefile
@@ -55,7 +55,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
EXEEXT := $(shell $(PYTHON) -c \
"import sys; print('.exe' if sys.platform == 'win32' else '')")
@@ -21,10 +21,10 @@ Index: node-v18.9.0/Makefile
NODE ?= ./$(NODE_EXE)
NODE_G_EXE = node_g$(EXEEXT)
NPM ?= ./deps/npm/bin/npm-cli.js
Index: node-v18.9.0/tools/install.py
Index: node-v18.10.0/tools/install.py
===================================================================
--- node-v18.9.0.orig/tools/install.py
+++ node-v18.9.0/tools/install.py
--- node-v18.10.0.orig/tools/install.py
+++ node-v18.10.0/tools/install.py
@@ -86,7 +86,7 @@ def uninstall(paths, dst):
try_remove(path, dst)
@@ -67,7 +67,16 @@ Index: node-v18.9.0/tools/install.py
output_prefix = 'out/Release/'
if is_windows:
@@ -189,7 +189,7 @@ def files(action):
@@ -186,7 +186,7 @@ def files(action):
action(['out/Release/node.d'], 'lib/dtrace/node.d')
# behave similarly for systemtap
- action(['src/node.stp'], 'share/systemtap/tapset/')
+ action(['src/node.stp'], 'share/systemtap/tapset/node18.stp')
action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
@@ -194,7 +194,7 @@ def files(action):
if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
action(['doc/node.1'], 'man/man1/')
else:
@@ -76,7 +85,7 @@ Index: node-v18.9.0/tools/install.py
if 'true' == variables.get('node_install_npm'):
npm_files(action)
@@ -276,28 +276,28 @@ def headers(action):
@@ -281,28 +281,28 @@ def headers(action):
'src/node_buffer.h',
'src/node_object_wrap.h',
'src/node_version.h',
@@ -113,10 +122,10 @@ Index: node-v18.9.0/tools/install.py
if sys.platform == 'zos':
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
Index: node-v18.9.0/doc/node.1
Index: node-v18.10.0/doc/node.1
===================================================================
--- node-v18.9.0.orig/doc/node.1
+++ node-v18.9.0/doc/node.1
--- node-v18.10.0.orig/doc/node.1
+++ node-v18.10.0/doc/node.1
@@ -30,24 +30,24 @@
.Dt NODE 1
.
@@ -146,10 +155,10 @@ Index: node-v18.9.0/doc/node.1
.Op Fl -v8-options
.
.\"======================================================================
Index: node-v18.9.0/src/node.stp
Index: node-v18.10.0/src/node.stp
===================================================================
--- node-v18.9.0.orig/src/node.stp
+++ node-v18.9.0/src/node.stp
--- node-v18.10.0.orig/src/node.stp
+++ node-v18.10.0/src/node.stp
@@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -222,10 +231,10 @@ Index: node-v18.9.0/src/node.stp
{
scavenge = 1 << 0;
compact = 1 << 1;
Index: node-v18.9.0/deps/npm/man/man1/npm.1
Index: node-v18.10.0/deps/npm/man/man1/npm.1
===================================================================
--- node-v18.9.0.orig/deps/npm/man/man1/npm.1
+++ node-v18.9.0/deps/npm/man/man1/npm.1
--- node-v18.10.0.orig/deps/npm/man/man1/npm.1
+++ node-v18.10.0/deps/npm/man/man1/npm.1
@@ -1,6 +1,6 @@
.TH "NPM" "1" "September 2022" "" ""
.SH "NAME"
@@ -297,10 +306,10 @@ Index: node-v18.9.0/deps/npm/man/man1/npm.1
+npm18 help publish
.RE
Index: node-v18.9.0/src/node_main.cc
Index: node-v18.10.0/src/node_main.cc
===================================================================
--- node-v18.9.0.orig/src/node_main.cc
+++ node-v18.9.0/src/node_main.cc
--- node-v18.10.0.orig/src/node_main.cc
+++ node-v18.10.0/src/node_main.cc
@@ -122,6 +122,7 @@ int main(int argc, char* argv[]) {
#endif
// Disable stdio buffering, it interacts poorly with printf()
@@ -309,10 +318,10 @@ Index: node-v18.9.0/src/node_main.cc
setvbuf(stdout, nullptr, _IONBF, 0);
setvbuf(stderr, nullptr, _IONBF, 0);
return node::Start(argc, argv);
Index: node-v18.9.0/tools/test.py
Index: node-v18.10.0/tools/test.py
===================================================================
--- node-v18.9.0.orig/tools/test.py
+++ node-v18.9.0/tools/test.py
--- node-v18.10.0.orig/tools/test.py
+++ node-v18.10.0/tools/test.py
@@ -948,7 +948,7 @@ class Context(object):
if self.vm is not None:
return self.vm
@@ -322,10 +331,10 @@ Index: node-v18.9.0/tools/test.py
else:
name = 'out/%s.%s/node' % (arch, mode)
Index: node-v18.9.0/node.gyp
Index: node-v18.10.0/node.gyp
===================================================================
--- node-v18.9.0.orig/node.gyp
+++ node-v18.9.0/node.gyp
--- node-v18.10.0.orig/node.gyp
+++ node-v18.10.0/node.gyp
@@ -24,8 +24,8 @@
'node_use_openssl%': 'true',
'node_shared_openssl%': 'false',
@@ -337,10 +346,10 @@ Index: node-v18.9.0/node.gyp
'node_intermediate_lib_type%': 'static_library',
'node_builtin_modules_path%': '',
# We list the deps/ files out instead of globbing them in js2c.py since we
Index: node-v18.9.0/deps/npm/man/man1/npx.1
Index: node-v18.10.0/deps/npm/man/man1/npx.1
===================================================================
--- node-v18.9.0.orig/deps/npm/man/man1/npx.1
+++ node-v18.9.0/deps/npm/man/man1/npx.1
--- node-v18.10.0.orig/deps/npm/man/man1/npx.1
+++ node-v18.10.0/deps/npm/man/man1/npx.1
@@ -5,10 +5,10 @@
.P
.RS 2