File cares_sle12_capabilities.patch of Package nodejs18

Index: node-v18.20.1/deps/cares/config/linux/ares_config.h
===================================================================
--- node-v18.20.1.orig/deps/cares/config/linux/ares_config.h
+++ node-v18.20.1/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 #define HAVE_GETRANDOM 1 */
 
 /* 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 #define HAVE_SYS_RANDOM_H 1 */
 
 /* Define to 1 if you have the <sys/select.h> header file. */
 #define HAVE_SYS_SELECT_H 1
openSUSE Build Service is sponsored by