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_ppc_netbsd.cpp,v 1.2 2022/05/05 14:07:39 nia Exp $ Update to fit current code --- xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2022-02-03 04:20:33.000000000 +0000 +++ xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_netbsd.cpp @@@@ -6,6 +6,7 @@@@ // Implement shared vtbl methods. #include "xptcprivate.h" +#include "xptiprivate.h" // The Linux/PPC ABI (aka PPC/SYSV ABI) passes the first 8 integral // parameters and the first 8 floating point parameters in registers @@@@ -36,22 +37,16 @@@@ PrepareAndDispatch(nsXPTCStubBase* self, { nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT]; nsXPTCMiniVariant* dispatchParams = nullptr; - nsIInterfaceInfo* iface_info = nullptr; - const nsXPTMethodInfo* info; + const nsXPTMethodInfo* info = nullptr; uint32_t paramCount; uint32_t i; nsresult result = NS_ERROR_FAILURE; NS_ASSERTION(self,"no self"); - self->GetInterfaceInfo(&iface_info); - NS_ASSERTION(iface_info,"no interface info"); - if (! iface_info) - return NS_ERROR_UNEXPECTED; - - iface_info->GetMethodInfo(uint16_t(methodIndex), &info); + self->mEntry->GetMethodInfo(uint16_t(methodIndex), &info); NS_ASSERTION(info,"no method info"); - if (! info) + if (!info) return NS_ERROR_UNEXPECTED; paramCount = info->GetParamCount(); @@@@ -147,9 +142,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_ppc_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_ppc_netbsd.cpp.orig 2022-04-18 02:30:50.549401901 +0000 +++ xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_netbsd.cpp 2022-04-18 01:58:29.047568136 +0000 @@@@ -5,8 +5,9 @@@@ d15 1 a15 3 // (r3-r10 and f1-f8), no stack space is allocated for these by the @@@@ -35,24 +36,18 @@@@ double *fprData) d41 1 a41 3 @@@@ -143,11 +138,9 @@@@ break; a51 1 @