forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node-js: add v17.9.1, v20.15.0, v21.7.3, v22.3.0, v22.4.0 (spack#45007)
* Adding new versions and compilation conflict for nodejs * Update failed version for gcc14 * Updating conflicts notes for correctness/clarity/format * Applying spack-ized versions of fix in nodejs/node#52223 to adddress CI failures * Update fix-old-glibc-random-headers.patch * Update package.py * Update fix-old-glibc-random-headers.patch * Update fix-old-glibc-random-headers.patch * Adding conflict for older glibc * Fixing patch for older systems, need to undef * Removing overly strict conflicts --------- Signed-off-by: Teague Sterling <[email protected]>
- Loading branch information
1 parent
99a50d6
commit 1c27189
Showing
2 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
var/spack/repos/builtin/packages/node-js/fix-old-glibc-random-headers.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/deps/cares/config/linux/ares_config.h b/deps/cares/config/linux/ares_config.h | ||
index 3cb135a..88934ad 100644 | ||
--- a/deps/cares/config/linux/ares_config.h | ||
+++ b/deps/cares/config/linux/ares_config.h | ||
@@ -116,7 +116,7 @@ | ||
#define HAVE_GETNAMEINFO 1 | ||
|
||
/* Define to 1 if you have `getrandom` */ | ||
-#define HAVE_GETRANDOM 1 | ||
+#undef HAVE_GETRANDOM | ||
|
||
/* Define to 1 if you have `getservbyport_r` */ | ||
#define HAVE_GETSERVBYPORT_R 1 | ||
@@ -329,7 +329,7 @@ | ||
#define HAVE_SYS_PARAM_H 1 | ||
|
||
/* Define to 1 if you have the <sys/random.h> header file. */ | ||
-#define HAVE_SYS_RANDOM_H 1 | ||
+#undef HAVE_SYS_RANDOM_H | ||
|
||
/* Define to 1 if you have the <sys/select.h> header file. */ | ||
#define HAVE_SYS_SELECT_H 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters