pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/firefox52 One of the bigendian fixes accidently wa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a3b5921f007
branches: trunk
changeset: 380319:4a3b5921f007
user: martin <martin%pkgsrc.org@localhost>
date: Fri Jun 03 16:30:00 2022 +0000
description:
One of the bigendian fixes accidently was 64bit only - make it
work on 32bit powerpc too.
diffstat:
www/firefox52/Makefile | 4 ++--
www/firefox52/distinfo | 4 ++--
www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp | 12 +++++++-----
3 files changed, 11 insertions(+), 9 deletions(-)
diffs (62 lines):
diff -r 2fdc1594acd7 -r 4a3b5921f007 www/firefox52/Makefile
--- a/www/firefox52/Makefile Fri Jun 03 14:41:13 2022 +0000
+++ b/www/firefox52/Makefile Fri Jun 03 16:30:00 2022 +0000
@@ -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 @@
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 -r 2fdc1594acd7 -r 4a3b5921f007 www/firefox52/distinfo
--- a/www/firefox52/distinfo Fri Jun 03 14:41:13 2022 +0000
+++ b/www/firefox52/distinfo Fri Jun 03 16:30:00 2022 +0000
@@ -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_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 -r 2fdc1594acd7 -r 4a3b5921f007 www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp
--- a/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp Fri Jun 03 14:41:13 2022 +0000
+++ b/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp Fri Jun 03 16:30:00 2022 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index