Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/expat/lib/libexpat re-enable getrandom for the ...



details:   https://anonhg.NetBSD.org/src/rev/760872ed33c4
branches:  trunk
changeset: 362032:760872ed33c4
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 26 15:40:09 2022 +0000

description:
re-enable getrandom for the non-tools build (thanks martin)

diffstat:

 external/mit/expat/lib/libexpat/expat_config.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 28ff61afa64b -r 760872ed33c4 external/mit/expat/lib/libexpat/expat_config.h
--- a/external/mit/expat/lib/libexpat/expat_config.h    Sat Feb 26 15:04:39 2022 +0000
+++ b/external/mit/expat/lib/libexpat/expat_config.h    Sat Feb 26 15:40:09 2022 +0000
@@ -23,8 +23,11 @@
 /* Define to 1 if you have the `getpagesize' function. */
 #define HAVE_GETPAGESIZE 1
 
+/* Host build might not have getrandom */
+#ifndef TOOL_FCCACHE
 /* Define to 1 if you have the `getrandom' function. */
-/* #define HAVE_GETRANDOM 1 */
+#define HAVE_GETRANDOM 1
+#endif
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1



Home | Main Index | Thread Index | Old Index