pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48595 (www/firefox on NetBSD/macppc)



The following reply was made to PR pkg/48595; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48595 (www/firefox on NetBSD/macppc)
Date: Sat, 7 Feb 2015 22:42:18 -0600 (CST)

 As of NetBSD-7.99.4 and pkgsrc-2014Q4, the following revised patches
 allow "www/firefox" to build on port-macppc:
 
 Revised patch-xpcom_reflect_xptcall_md_unix_Makefile.in:
 
 +$NetBSD: patch-xpcom_reflect_xptcall_md_unix_Makefile.in,v 1.1 2014/10/15 13:43:32 ryoon Exp $
 +
 +--- xpcom/reflect/xptcall/md/unix/Makefile.in.orig	2014-11-26 06:30:27.000000000 -0600
 ++++ xpcom/reflect/xptcall/md/unix/Makefile.in	2015-02-05 16:17:24.000000000 -0600
 +@@ -51,11 +51,51 @@ ifeq ($(OS_ARCH),AIX)
 + # #24617  Building the CPP's (CXX) optimized causes a crash
 + CXXFLAGS 	:=  $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
 + endif
 ++#
 ++# NetBSD/PPC
 ++#
 ++ifeq ($(OS_ARCH)$(OS_TEST),NetBSDpowerpc)
 ++CPPSRCS         := xptcinvoke_ppc_openbsd.cpp xptcstubs_ppc_openbsd.cpp
 ++ASFILES		:= xptcinvoke_asm_ppc_netbsd.s xptcstubs_asm_ppc_netbsd.s
 ++endif
 + 
 + ######################################################################
 + # SPARC
 + ######################################################################
 + #
 ++# Linux/SPARC
 ++#
 ++ifeq ($(OS_ARCH),Linux)
 ++ifneq (,$(findstring sparc,$(OS_TEST)))
 ++ASFILES		:= xptcinvoke_asm_sparc_linux_GCC3.s xptcstubs_asm_sparc_solaris.s
 ++endif
 ++endif
 ++#
 ++# NetBSD/SPARC
 ++#
 ++ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc)
 ++ASFILES		:= xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
 ++endif
 ++#
 ++# OpenBSD/SPARC
 ++#
 ++ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc)
 ++ASFILES		:= xptcinvoke_asm_sparc_openbsd.s xptcstubs_asm_sparc_openbsd.s
 ++endif
 ++#
 ++# OpenBSD/SPARC64
 ++#
 ++ifneq (,$(filter OpenBSDsparc64 FreeBSDsparc64,$(OS_ARCH)$(OS_TEST)))
 ++ASFILES		:= xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
 ++endif
 ++#
 ++# NetBSD/SPARC64
 ++#
 ++ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc64)
 ++CPPSRCS                := xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_openbsd.cpp
 ++ASFILES                := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_netbsd.s
 ++endif
 ++#
 + # Solaris/SPARC
 + #
 + ifeq ($(OS_ARCH),SunOS)
 
 
 
 Revised patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__ppc__netbsd.s:
 
 +$NetBSD: patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__ppc__netbsd.s,v 1.1 2014/10/15 13:43:32 ryoon Exp $
 +
 +--- xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_netbsd.s.orig	2014-10-11 09:06:50.000000000 +0000
 ++++ xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_netbsd.s
 +@@ -20,15 +20,15 @@
 + 		      
 +         .section ".text"
 + 	.align 2
 +-	.globl XPTC_InvokeByIndex
 +-	.type  XPTC_InvokeByIndex,@function
 ++	.globl NS_InvokeByIndex
 ++	.type  NS_InvokeByIndex,@function
 + 
 + #
 +-# XPTC_InvokeByIndex(nsISupports* that, uint32_t methodIndex,
 +-#                    uint32_t paramCount, nsXPTCVariant* params)
 ++# NS_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
 ++#                    PRUint32 paramCount, nsXPTCVariant* params)
 + #
 + 
 +-XPTC_InvokeByIndex:
 ++NS_InvokeByIndex:
 + 	stwu    sp,-32(sp)			# setup standard stack frame
 + 	mflr    r0				# save LR
 + 	stw     r3,8(sp)			# r3 <= that
 
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index