nspr: fix compilation with newer musl
Include proper sgidefs define.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 93f8cbebe0
)
This commit is contained in:
parent
2f58b610dd
commit
847ed6e0f7
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
11
libs/nspr/patches/010-sgidefs.patch
Normal file
11
libs/nspr/patches/010-sgidefs.patch
Normal 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
|
Loading…
Reference in a new issue