pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/firefox52
Module Name: pkgsrc
Committed By: martin
Date: Wed Aug 8 08:49:58 UTC 2018
Modified Files:
pkgsrc/www/firefox52: Makefile distinfo
Added Files:
pkgsrc/www/firefox52/patches: patch-js_src_vm_StructuredClone.cpp
Log Message:
Avoid a crash on big endian machines. Bump revision.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/firefox52/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/firefox52/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/firefox52/Makefile
diff -u pkgsrc/www/firefox52/Makefile:1.29 pkgsrc/www/firefox52/Makefile:1.30
--- pkgsrc/www/firefox52/Makefile:1.29 Mon Jul 30 12:23:11 2018
+++ pkgsrc/www/firefox52/Makefile Wed Aug 8 08:49:58 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2018/07/30 12:23:11 jmcneill Exp $
+# $NetBSD: Makefile,v 1.30 2018/08/08 08:49:58 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= firefox52-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= www
MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}
Index: pkgsrc/www/firefox52/distinfo
diff -u pkgsrc/www/firefox52/distinfo:1.17 pkgsrc/www/firefox52/distinfo:1.18
--- pkgsrc/www/firefox52/distinfo:1.17 Mon Jul 30 12:23:11 2018
+++ pkgsrc/www/firefox52/distinfo Wed Aug 8 08:49:58 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2018/07/30 12:23:11 jmcneill Exp $
+$NetBSD: distinfo,v 1.18 2018/08/08 08:49:58 martin Exp $
SHA1 (firefox-52.9.0esr.source.tar.xz) = df3d47518b380fe934e32a288515c25435fd82a7
RMD160 (firefox-52.9.0esr.source.tar.xz) = 8940269f0a515c0066b6ab2eea1da8963d27617b
@@ -59,6 +59,7 @@ SHA1 (patch-ipc_glue_GeckoChildProcessHo
SHA1 (patch-js_src_jit_arm_Architecture-arm.cpp) = f0b554c169643b8447b4f29168d61ea257b18782
SHA1 (patch-js_src_jit_none_AtomicOperations-sparc.h) = b44992a869d6d08809a9edc28f1ad6f40632d392
SHA1 (patch-js_src_moz.build) = ce9110506086d15a011d0985b58dd4e7d1b6ec5f
+SHA1 (patch-js_src_vm_StructuredClone.cpp) = 7e992825e996c43419318893b704a2aa380b0d2a
SHA1 (patch-js_xpconnect_src_XPCConvert.cpp) = 915777e9bb5366be41866cdb6ea0ad2b1c006dde
SHA1 (patch-js_xpconnect_src_xpcprivate.h) = e09e37819961bae40a9f276ae1ee510d2956c23e
SHA1 (patch-media_libcubeb_src_cubeb.c) = 3be0bf511cbd3b1c691fadb081acaf38838c36f4
Added files:
Index: pkgsrc/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp
diff -u /dev/null pkgsrc/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp:1.1
--- /dev/null Wed Aug 8 08:49:58 2018
+++ pkgsrc/www/firefox52/patches/patch-js_src_vm_StructuredClone.cpp Wed Aug 8 08:49:58 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-js_src_vm_StructuredClone.cpp,v 1.1 2018/08/08 08:49:58 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
+
+ void* content;
+ SCInput::getPtr(point.peek(), &content);
++ content = (void*)NativeEndian::swapFromLittleEndian(reinterpret_cast<uint64_t>(content));
+ point.next();
+ if (!point.canPeek())
+ return;
Home |
Main Index |
Thread Index |
Old Index