void-packages/srcpkgs/mozjs60/patches/0009-mips-sgidefs_h.patch

12 lines
359 B
Diff

--- a/js/src/jsmath.cpp 2019-07-03 02:08:06.000000000 +0200
+++ b/js/src/jsmath.cpp 2019-11-10 19:04:26.132589059 +0100
@@ -71,7 +71,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