head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.6 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @ * @; 1.2 date 2026.06.23.14.33.00; author nia; state dead; branches; next 1.1; commitid If6HuAkuAcFSNVKG; 1.1 date 2025.12.20.19.45.27; author nia; state Exp; branches; next ; commitid XxpHfNIV8AcitbnG; desc @@ 1.2 log @basilisk: Update to 2026.06.12 This brings the engine up to date with the most recent Pale Moon releases, with associated security fixes and JavaScript improvements. As such the diff has been reduced with the palemoon package. @ text @$NetBSD: patch-platform_layout_base_FrameProperties.h,v 1.1 2025/12/20 19:45:27 nia Exp $ Fix crash on big endian 32bit platforms. Just start the browser and press F12 for dev tools. --- platform/layout/base/FrameProperties.h.orig 2025-10-15 19:46:52.000000000 +0200 +++ platform/layout/base/FrameProperties.h 2025-12-14 09:14:24.451706944 +0100 @@@@ -310,15 +310,35 @@@@ static uint64_t ToInternalValue(PropertyType aValue) { - uint64_t v = 0; - memcpy(&v, &aValue, sizeof(aValue)); - return v; +#ifndef _LP64 + if (sizeof(PropertyType) <= sizeof(uint32_t)) { + // make sure to loose the unimportant half on 32bit architectures + uint32_t v = 0; + memcpy(&v, &aValue, sizeof(aValue)); + return v; + } else { +#endif + uint64_t v = 0; + memcpy(&v, &aValue, sizeof(aValue)); + return v; +#ifndef _LP64 + } +#endif } static PropertyType FromInternalValue(uint64_t aInternalValue) { PropertyType value; - memcpy(&value, &aInternalValue, sizeof(value)); +#ifndef _LP64 + if (sizeof(value) <= sizeof(uint32_t)) { + uint32_t v32 = (uint32_t)aInternalValue; + memcpy(&value, &v32, sizeof(value)); + } else { +#endif + memcpy(&value, &aInternalValue, sizeof(value)); +#ifndef _LP64 + } +#endif return value; } }; @ 1.1 log @basilisk: Update to 2025.10.10 This is a security update that brings basilisk to a more up-to-date Pale Moon engine. Additionally the latest patches have been copied from the palemoon package, and the build on netbsd-11 has been fixed. I tested the package build on CentOS 7 and NetBSD. @ text @d1 1 a1 1 $NetBSD: patch-platform_layout_base_FrameProperties.h,v 1.1 2025/12/14 18:05:18 martin Exp $ @