0001-Do-not-claim-getrandom.patch 800 B

12345678910111213141516171819202122
  1. diff --git a/third_party/expat/include/expat_config/expat_config.h b/third_party/expat/include/expat_config/expat_config.h
  2. index 278d7a8..c693a14a 100644
  3. --- a/third_party/expat/include/expat_config/expat_config.h
  4. +++ b/third_party/expat/include/expat_config/expat_config.h
  5. @@ -23,7 +23,7 @@
  6. #define HAVE_GETPAGESIZE 1
  7. /* Define to 1 if you have the `getrandom' function. */
  8. -#define HAVE_GETRANDOM 1
  9. +/* #define HAVE_GETRANDOM 1 */
  10. /* Define to 1 if you have the <inttypes.h> header file. */
  11. #define HAVE_INTTYPES_H 1
  12. @@ -50,7 +50,7 @@
  13. #define HAVE_STRING_H 1
  14. /* Define to 1 if you have `syscall' and `SYS_getrandom'. */
  15. -#define HAVE_SYSCALL_GETRANDOM 1
  16. +/* #define HAVE_SYSCALL_GETRANDOM 1 */
  17. /* Define to 1 if you have the <sys/param.h> header file. */
  18. #define HAVE_SYS_PARAM_H 1