Skip to content

Commit

Permalink
deps: set CARES_RANDOM_FILE for c-ares
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
richardlau authored and targos committed May 30, 2023
1 parent 60ce2bc commit 3047cae
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion deps/cares/config/aix/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/android/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/cygwin/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type of arg 1 for recvfrom. */
#define RECVFROM_TYPE_ARG1 int
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/darwin/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/freebsd/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/linux/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/netbsd/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/openbsd/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
Expand Down
2 changes: 1 addition & 1 deletion deps/cares/config/sunos/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
#define PACKAGE_VERSION "1.13.0"

/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
#define CARES_RANDOM_FILE "/dev/urandom"

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

0 comments on commit 3047cae

Please sign in to comment.