summaryrefslogtreecommitdiff
path: root/www/firefox52
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2022-06-03 16:30:00 +0000
committermartin <martin@pkgsrc.org>2022-06-03 16:30:00 +0000
commitce8c6cf8aebc8bf2ddeee82be9e7b170a69026fa (patch)
tree56571a8f18aec4359332264a66bfa8af9ea8fee4 /www/firefox52
parent1af08f95123cc50e1d6012f19d98e049d9b09b67 (diff)
downloadpkgsrc-ce8c6cf8aebc8bf2ddeee82be9e7b170a69026fa.tar.gz
One of the bigendian fixes accidently was 64bit only - make it
work on 32bit powerpc too.
Diffstat (limited to 'www/firefox52')
-rw-r--r--www/firefox52/Makefile4
-rw-r--r--www/firefox52/distinfo4
-rw-r--r--www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp12
3 files changed, 11 insertions, 9 deletions
diff --git a/www/firefox52/Makefile b/www/firefox52/Makefile
index f08e730b334..78099d8fdce 100644
--- a/www/firefox52/Makefile
+++ b/www/firefox52/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2022/04/18 19:12:17 adam Exp $
+# $NetBSD: Makefile,v 1.74 2022/06/03 16:30:00 martin Exp $
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
MOZ_BRANCH= 52.9
@@ -6,7 +6,7 @@ MOZ_BRANCH_MINOR= .0esr
DISTNAME= firefox-${FIREFOX_VER}.source
PKGNAME= firefox${MOZ_BRANCH:C/\..*$//}-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//}
-PKGREVISION= 43
+PKGREVISION= 44
CATEGORIES= www
MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}
diff --git a/www/firefox52/distinfo b/www/firefox52/distinfo
index 552930c5a28..803fb35484c 100644
--- a/www/firefox52/distinfo
+++ b/www/firefox52/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2022/05/28 18:31:13 martin Exp $
+$NetBSD: distinfo,v 1.33 2022/06/03 16:30:00 martin Exp $
BLAKE2s (firefox-52.9.0esr.source.tar.xz) = 68da851ecfe1b03231157bf79732865d3cf81b7c10128a2e2a9e6e7be3963348
SHA512 (firefox-52.9.0esr.source.tar.xz) = bfca42668ca78a12a9fb56368f4aae5334b1f7a71966fbba4c32b9c5e6597aac79a6e340ac3966779d2d5563eb47c054ab33cc40bfb7306172138ccbd3adb2b9
@@ -71,7 +71,7 @@ SHA1 (patch-js_src_jit_arm_Architecture-arm.cpp) = f0b554c169643b8447b4f29168d61
SHA1 (patch-js_src_jit_none_AtomicOperations-sparc.h) = b44992a869d6d08809a9edc28f1ad6f40632d392
SHA1 (patch-js_src_moz.build) = ce9110506086d15a011d0985b58dd4e7d1b6ec5f
SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 6196d576b98126bbbab2014c373c7a442ee6dc12
-SHA1 (patch-js_src_vm_StructuredClone.cpp) = 7e992825e996c43419318893b704a2aa380b0d2a
+SHA1 (patch-js_src_vm_StructuredClone.cpp) = e4b1d6e0dd440dafdb2c5a74e8463e0e2b18996a
SHA1 (patch-js_xpconnect_src_XPCConvert.cpp) = 915777e9bb5366be41866cdb6ea0ad2b1c006dde
SHA1 (patch-js_xpconnect_src_XPCWrappedNative.cpp) = 6630b8cb20a2a2b8337e8c1250e741fd65be1e54
SHA1 (patch-js_xpconnect_src_xpcprivate.h) = e09e37819961bae40a9f276ae1ee510d2956c23e
diff --git a/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp b/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp
index d3d8c49c57f..642da81fb96 100644
--- a/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp
+++ b/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp
@@ -1,15 +1,17 @@
-$NetBSD: patch-js_src_vm_StructuredClone.cpp,v 1.1 2018/08/08 08:49:58 martin Exp $
+$NetBSD: patch-js_src_vm_StructuredClone.cpp,v 1.2 2022/06/03 16:30:00 martin Exp $
Fix a crash on big endian machines. Reported in bugzilla
as #1481740.
--- js/src/vm/StructuredClone.cpp.orig 2018-06-21 20:53:54.000000000 +0200
+++ js/src/vm/StructuredClone.cpp 2018-08-08 10:15:04.949370197 +0200
-@@ -925,6 +925,7 @@ JSStructuredCloneData::discardTransferab
+@@ -923,8 +923,7 @@ JSStructuredCloneData::discardTransferab
+ if (!point.canPeek())
+ return;
- void* content;
- SCInput::getPtr(point.peek(), &content);
-+ content = (void*)NativeEndian::swapFromLittleEndian(reinterpret_cast<uint64_t>(content));
+- void* content;
+- SCInput::getPtr(point.peek(), &content);
++ void* content = (void*)NativeEndian::swapFromLittleEndian(point.peek());
point.next();
if (!point.canPeek())
return;