- dns.patch: fix regression
https://github.com/nodejs/node/issues/44003 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=4
This commit is contained in:
parent
ff0784f287
commit
78a89a2272
15
dns.patch
Normal file
15
dns.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Index: node-v18.6.0/lib/net.js
|
||||||
|
===================================================================
|
||||||
|
--- node-v18.6.0.orig/lib/net.js
|
||||||
|
+++ node-v18.6.0/lib/net.js
|
||||||
|
@@ -1118,8 +1118,8 @@ function lookupAndConnect(self, options)
|
||||||
|
};
|
||||||
|
|
||||||
|
if (!isWindows &&
|
||||||
|
- dnsopts.family !== 4 &&
|
||||||
|
- dnsopts.family !== 6 &&
|
||||||
|
+ dnsopts.family !== 'IPv4' &&
|
||||||
|
+ dnsopts.family !== 'IPv6' &&
|
||||||
|
dnsopts.hints === 0) {
|
||||||
|
dnsopts.hints = dns.ADDRCONFIG;
|
||||||
|
}
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 31 15:37:05 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- dns.patch: fix regression
|
||||||
|
https://github.com/nodejs/node/issues/44003
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 24 09:47:19 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
Sun Jul 24 09:47:19 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
@ -170,6 +170,8 @@ Patch133: rsa-pss-revert.patch
|
|||||||
# Use versioned binaries and paths
|
# Use versioned binaries and paths
|
||||||
Patch200: versioned.patch
|
Patch200: versioned.patch
|
||||||
|
|
||||||
|
Patch300: dns.patch
|
||||||
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
@ -658,6 +660,8 @@ tar Jxf %{SOURCE11}
|
|||||||
%endif
|
%endif
|
||||||
%patch200 -p1
|
%patch200 -p1
|
||||||
|
|
||||||
|
%patch300 -p1
|
||||||
|
|
||||||
%if %{node_version_number} <= 12
|
%if %{node_version_number} <= 12
|
||||||
# minimist security update - patch50
|
# minimist security update - patch50
|
||||||
rm -r deps/npm/node_modules/mkdirp/node_modules/minimist
|
rm -r deps/npm/node_modules/mkdirp/node_modules/minimist
|
||||||
|
Loading…
Reference in New Issue
Block a user