summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-05-07 18:11:54 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-09-22 06:20:40 -0500
commitad0f521e3fa7b69656f64ff4ea00a3cc3ea3ad9a (patch)
treeed938df1116df9ed0672edeb18bc7f9a4180d079 /system
parent7d3c6b17cf0ea0fb3eaa2b86a465844639e44410 (diff)
downloadpackages-ad0f521e3fa7b69656f64ff4ea00a3cc3ea3ad9a.tar.gz
packages-ad0f521e3fa7b69656f64ff4ea00a3cc3ea3ad9a.tar.bz2
packages-ad0f521e3fa7b69656f64ff4ea00a3cc3ea3ad9a.tar.xz
packages-ad0f521e3fa7b69656f64ff4ea00a3cc3ea3ad9a.zip
system/nspr: Fix build flags for musl 1.2.4
We use off_t instead of off64_t now. Ref: #1019 Fixes: #1020
Diffstat (limited to 'system')
-rw-r--r--system/nspr/APKBUILD4
-rw-r--r--system/nspr/stacksize.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/system/nspr/APKBUILD b/system/nspr/APKBUILD
index 033c5a6d6..e0c7407a6 100644
--- a/system/nspr/APKBUILD
+++ b/system/nspr/APKBUILD
@@ -28,7 +28,7 @@ build() {
cd "$builddir"/build
# ./nspr/pr/include/md/_linux.h tests only __GLIBC__ version
# to detect c-library features, list musl features here for now.
- CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE" \
+ CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_LARGE_OFF_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE" \
../nspr/configure \
--build=$CBUILD \
--host=$CHOST \
@@ -57,4 +57,4 @@ package() {
}
sha512sums="502815833116e25f79ddf71d1526484908aa92fbc55f8a892729cb404a4daafcc0470a89854cd080d2d20299fdb7d9662507c5362c7ae661cbacf308ac56ef7f nspr-4.35.tar.gz
-1f694fc151f6578080449e3aa999c520486bbe117b8237150966ec43092db4156e81412ac889045e0c0c3bf65d459af5bdc1cf19c9fa3dab120405a60732f15a stacksize.patch"
+7a3a5db1a6f42ba370fe79f676c89b1348704d57b6e15e0c1ec35a8a1db8960182bfca47424c2c5d79edb641e81cee91bca63a7a1b3c5793567831635bb16a9e stacksize.patch"
diff --git a/system/nspr/stacksize.patch b/system/nspr/stacksize.patch
index c2fcecd68..b5b9b0d70 100644
--- a/system/nspr/stacksize.patch
+++ b/system/nspr/stacksize.patch
@@ -11,7 +11,7 @@ a minimum, just like for aarch64.
--- nspr-4.20/nspr/pr/include/md/_linux.h.old 2018-08-28 12:42:28.000000000 +0000
+++ nspr-4.20/nspr/pr/include/md/_linux.h 2019-02-18 17:35:30.380000000 +0000
-@@ -71,7 +71,7 @@
+@@ -85,7 +85,7 @@
#define _MD_DEFAULT_STACK_SIZE 65536L
#define _MD_MMAP_FLAGS MAP_PRIVATE