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.
Applying spack-ized versions of fix in nodejs/node#52223 to adddress …
…CI failures Signed-off-by: Teague Sterling <[email protected]>
- Loading branch information
1 parent
fe7c7fd
commit 83b7c89
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
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,29 @@ | ||
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 | ||
+#define HAVE_GETRANDOM 0 | ||
|
||
/* 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 | ||
+#define HAVE_SYS_RANDOM_H 0 | ||
|
||
/* Define to 1 if you have the <sys/select.h> header file. */ | ||
#define HAVE_SYS_SELECT_H 1 | ||
@@ -570,4 +570,4 @@ | ||
/* #undef _LARGE_FILES */ | ||
|
||
/* Define to `unsigned int' if <sys/types.h> does not define. */ | ||
-/* #undef size_t */ | ||
\ No newline at end of file | ||
+/* #undef size_t */ |
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