Merge pull request #11693 from neheb/nspr

nspr: fix compilation with newer musl
This commit is contained in:
Rosen Penev 2020-03-31 00:54:01 -07:00 committed by GitHub
commit ee5bf2a538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View file

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nspr
PKG_VERSION:=4.25
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
PKG_LICENCE:=MPL-2.0

View file

@ -0,0 +1,11 @@
--- a/nspr/pr/include/md/_linux.cfg
+++ b/nspr/pr/include/md/_linux.cfg
@@ -499,7 +499,7 @@
#elif defined(__mips__)
/* For _ABI64 */
-#include <sgidefs.h>
+#include <asm/sgidefs.h>
#ifdef __MIPSEB__
#define IS_BIG_ENDIAN 1