void-packages/srcpkgs/mozjs78/patches/007-fix-mips-sgidefs_h.patch

12 lines
391 B
Diff

--- a/mfbt/RandomNum.cpp 2020-04-29 23:49:40.000000000 +0200
+++ b/mfbt/RandomNum.cpp 2020-08-04 19:29:36.127471301 +0200
@@ -52,7 +52,7 @@
# elif defined(__s390__)
# define GETRANDOM_NR 349
# elif defined(__mips__)
-# include <sgidefs.h>
+# include <asm/sgidefs.h>
# if _MIPS_SIM == _MIPS_SIM_ABI32
# define GETRANDOM_NR 4353
# elif _MIPS_SIM == _MIPS_SIM_ABI64