nspr: fix compilation with newer musl
authorRosen Penev <redacted>
Sun, 29 Mar 2020 00:32:10 +0000 (17:32 -0700)
committerRosen Penev <redacted>
Sun, 29 Mar 2020 03:43:56 +0000 (20:43 -0700)
Include proper sgidefs define.

Signed-off-by: Rosen Penev <redacted>
libs/nspr/Makefile
libs/nspr/patches/010-sgidefs.patch [new file with mode: 0644]

index 95a2ecd9bfec697cdefc298f69d641e87c7ccb93..e68d7397ee9ca4ae5060e8b2bd4db9a1035482d9 100644 (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
 
diff --git a/libs/nspr/patches/010-sgidefs.patch b/libs/nspr/patches/010-sgidefs.patch
new file mode 100644 (file)
index 0000000..2705a75
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT