head 1.3; access; symbols pkgsrc-2024Q3:1.2.0.20 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.18 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.16 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.14 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.12 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.10 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.8 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.6 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.4 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.2 pkgsrc-2022Q2-base:1.2; locks; strict; comment @// @; 1.3 date 2024.10.03.20.57.35; author nia; state dead; branches; next 1.2; commitid SogJVZ9CYn7l7gsF; 1.2 date 2022.05.05.14.07.39; author nia; state Exp; branches; next 1.1; commitid imV1t8gbuKPscSCD; 1.1 date 2022.05.01.00.36.11; author manu; state Exp; branches; next ; commitid NKS6yPfUZNxnPhCD; desc @@ 1.3 log @arcticfox: Update to 45.1. Thanks to upstream for help. 45.1 Minor release with quite some fixes... * security fixes * devotools fixes * bookmark issues fixes * build system cleanup continues * NetBSD fixes 45.0 A major release! * Many updates to JavaScript and Layout engine * PDF display re-instantiated and fixed * Updates to Audio and Video * Many security patches * Build updates and improved compatibility with recent Clang, GCC * NetBSD/PPC now builds and works! * Build system updates - in case you get crashes with GCC check optimizations * GTK3 is supported and default, but GTK2 still looks best, so add --enable-default-toolkit=cairo-gtk2 * JXR support has been removed. It was unreliable and quite unused anyway @ text @$NetBSD: patch-xpcom_reflect_xptcall_md_unix_xptcstubs_arm_netbsd.cpp,v 1.2 2022/05/05 14:07:39 nia Exp $ Update to fit current code --- xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp.orig 2022-02-03 04:20:33.000000000 +0000 +++ xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp @@@@ -6,6 +6,7 @@@@ /* Implement shared vtbl methods. */ #include "xptcprivate.h" +#include "xptiprivate.h" nsresult ATTRIBUTE_USED PrepareAndDispatch(nsXPTCStubBase* self, uint32_t methodIndex, uint32_t* args) @@@@ -14,19 +15,17 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT]; nsXPTCMiniVariant* dispatchParams = nullptr; - nsIInterfaceInfo* iface_info = nullptr; - const nsXPTMethodInfo* info; + const nsXPTMethodInfo* info = nullptr; uint8_t paramCount; uint8_t i; nsresult result = NS_ERROR_FAILURE; NS_ASSERTION(self,"no self"); - self->GetInterfaceInfo(&iface_info); - NS_ASSERTION(iface_info,"no interface info"); - - iface_info->GetMethodInfo(uint16_t(methodIndex), &info); - NS_ASSERTION(info,"no interface info"); + self->mEntry->GetMethodInfo(uint16_t(methodIndex), &info); + NS_ASSERTION(info,"no method info"); + if (!info) + return NS_ERROR_UNEXPECTED; paramCount = info->GetParamCount(); @@@@ -71,9 +70,7 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, } } - result = self->CallMethod((uint16_t)methodIndex, info, dispatchParams); - - NS_RELEASE(iface_info); + result = self->mOuter->CallMethod((uint16_t)methodIndex, info, dispatchParams); if(dispatchParams != paramBuffer) delete [] dispatchParams; @ 1.2 log @arcticfox: update to 39.1 This release only includes bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-xpcom_reflect_xptcall_md_unix_xptcstubs_arm_netbsd.cpp,v 1.1 2022/05/01 00:36:11 manu Exp $ @ 1.1 log @Let Articfox run on NetBSD PowerPC ports This was tested on NetBSD-9.2/macppc Patches submitted upstream at https://github.com/wicknix/Arctic-Fox/pull/101 @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 4 --- xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp.orig 2022-04-18 02:30:50.518733769 +0000 +++ xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp 2022-04-18 01:57:51.824233012 +0000 @@@@ -5,29 +5,28 @@@@ d15 1 a15 2 { #define PARAM_BUFFER_COUNT 16 d40 1 a40 3 // setup variant array pointer @@@@ -70,11 +69,9 @@@@ break; a50 1 @