SHA256
1
0
Adam Majer 2023-04-20 12:38:23 +00:00 committed by Git OBS Bridge
parent 2f8b4c5a39
commit 54ffea50d7
3 changed files with 58 additions and 13 deletions

View File

@ -1,13 +0,0 @@
Index: node-v14.17.5/src/cares_wrap.h
===================================================================
--- node-v14.17.5.orig/src/cares_wrap.h
+++ node-v14.17.5/src/cares_wrap.h
@@ -22,7 +22,7 @@
# include <netdb.h>
#endif // __POSIX__
-# include <ares_nameser.h>
+#include <arpa/nameser.h>
namespace node {
namespace cares_wrap {

36
gcc13.patch Normal file
View File

@ -0,0 +1,36 @@
Index: node-v20.0.0/deps/v8/src/builtins/builtins-array-gen.cc
===================================================================
--- node-v20.0.0.orig/deps/v8/src/builtins/builtins-array-gen.cc
+++ node-v20.0.0/deps/v8/src/builtins/builtins-array-gen.cc
@@ -18,6 +18,7 @@
#include "src/objects/arguments-inl.h"
#include "src/objects/elements-kind.h"
#include "src/objects/property-cell.h"
+#include "src/wasm/wasm-objects.h"
namespace v8 {
namespace internal {
Index: node-v20.0.0/deps/v8/src/builtins/builtins-array.cc
===================================================================
--- node-v20.0.0.orig/deps/v8/src/builtins/builtins-array.cc
+++ node-v20.0.0/deps/v8/src/builtins/builtins-array.cc
@@ -22,6 +22,7 @@
#include "src/objects/objects-inl.h"
#include "src/objects/prototype.h"
#include "src/objects/smi.h"
+#include "src/wasm/wasm-objects.h"
namespace v8 {
namespace internal {
Index: node-v20.0.0/deps/v8/src/codegen/tnode.h
===================================================================
--- node-v20.0.0.orig/deps/v8/src/codegen/tnode.h
+++ node-v20.0.0/deps/v8/src/codegen/tnode.h
@@ -6,6 +6,7 @@
#define V8_CODEGEN_TNODE_H_
#include "src/codegen/machine-type.h"
+#include "src/wasm/wasm-objects.h"
namespace v8 {
namespace internal {

View File

@ -139,11 +139,16 @@ Source11: node_modules.tar.xz
Source20: bash_output_helper.bash
## Patches not distribution specific
Patch1: cares_public_headers.patch
Patch3: fix_ci_tests.patch
Patch5: sle12_python3_compat.patch
Patch7: manual_configure.patch
Patch13: openssl_binary_detection.patch
## Patches specific to SUSE and openSUSE
Patch100: linker_lto_jobs.patch
# PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built
Patch101: nodejs-libpath.patch
# PATCH-FIX-UPSTREAM -- use custom addon.gypi by default instead of
@ -154,13 +159,19 @@ Patch102: node-gyp-addon-gypi.patch
# PATCH-FIX-OPENSUSE -- install user global npm packages to /usr/local
# instead of /usr
Patch104: npm_search_paths.patch
Patch106: skip_no_console.patch
Patch110: legacy_python.patch
Patch120: flaky_test_rerun.patch
Patch132: test-skip-y2038-on-32bit-time_t.patch
# Use versioned binaries and paths
Patch200: versioned.patch
Patch305: qemu_timeouts_arches.patch
Patch308: node-gyp-config.patch
Patch309: gcc13.patch
BuildRequires: pkg-config
BuildRequires: fdupes
@ -669,25 +680,36 @@ tar Jxf %{SOURCE5}
popd
%if %{node_version_number} >= 19
%patch308 -p1
%endif
%endif
%patch1 -p1
%patch3 -p1
%if %{node_version_number} <= 12 && 0%{?suse_version} < 1500
%patch5 -p1
%endif
%patch7 -p1
%if 0%{with valgrind_tests}
%endif
%patch13 -p1
%patch100 -p1
%patch101 -p1
%patch102 -p1
# Add check_output to configure script (not part of Python 2.6 in SLE11).
%if 0%{?suse_version} == 1110
%endif
%patch104 -p1
%patch106 -p1
%patch110 -p1
%patch120 -p1
%patch132 -p1
%if ! 0%{with openssl_RSA_get0_pss_params}
%endif
%patch200 -p1
%patch305 -p1
%patch309 -p1
%if %{node_version_number} == 12
# minimist security update - patch50