Skip to content

Commit 5df04e8

Browse files
richardlauRafaelGSS
authored andcommittedJun 19, 2023
deps: set CARES_RANDOM_FILE for c-ares
Upstream c-ares renamed `RANDOM_FILE` to `CARES_RANDOM_FILE` some time ago in c-ares 1.17.2. PR-URL: #48156 Refs: c-ares/c-ares#397 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent c171cbd commit 5df04e8

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed
 

‎deps/cares/config/aix/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/android/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/cygwin/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
#define PACKAGE_VERSION "1.13.0"
380380

381381
/* a suitable file/device to read random data from */
382-
#define RANDOM_FILE "/dev/urandom"
382+
#define CARES_RANDOM_FILE "/dev/urandom"
383383

384384
/* Define to the type of arg 1 for recvfrom. */
385385
#define RECVFROM_TYPE_ARG1 int

‎deps/cares/config/darwin/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/freebsd/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/linux/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/netbsd/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/openbsd/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

‎deps/cares/config/sunos/ares_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
#define PACKAGE_VERSION "1.13.0"
379379

380380
/* a suitable file/device to read random data from */
381-
#define RANDOM_FILE "/dev/urandom"
381+
#define CARES_RANDOM_FILE "/dev/urandom"
382382

383383
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
384384
#define RECVFROM_QUAL_ARG5

0 commit comments

Comments
 (0)
Please sign in to comment.