pkgsrc-Bugs archive

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

pkg/48595: www/firefox on NetBSD/macppc



>Number:         48595
>Category:       pkg
>Synopsis:       www/firefox on NetBSD/macppc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 12 23:55:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/macppc-6.99.31, pkgsrc-2013Q4 (www/firefox from -HEAD)
>Organization:
>Environment:
NetBSD sawtooth.technoskunk.fur 6.99.31 NetBSD 6.99.31 (GENERIC_LOWRES) #2: Sat 
Feb  8 14:38:40 CST 2014  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/macppc/sys/arch/macppc/compile/GENERIC_LOWRES
 macppc

>Description:
The following changes allow "www/firefox" (firefox-27.0 from
pkgsrc-HEAD) to compile, link, and install on NetBSD/macppc-6.99.31.

Revised "patches/patch-mb":
+--- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2014-01-27 
22:04:07.000000000 -0600
++++ xpcom/reflect/xptcall/src/md/unix/Makefile.in      2014-02-12 
14:10:35.000000000 -0600
+@@ -174,7 +174,8 @@
+ #
+ # NetBSD/PPC
+ #
+-ifneq (,$(filter NetBSDmacppc NetBSDbebox NetBSDofppc NetBSDprep 
NetBSDamigappc,$(OS_ARCH)$(OS_TEST)))                           
++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
+ 
+@@ -226,6 +227,13 @@
+ 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 "patches/patch-xl":
+--- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s.orig 
2014-01-27 22:04:07.000000000 -0600
++++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s      
2014-02-12 17:04:29.000000000 -0600
+@@ -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


Whether it runs or not has yet to be tested.  Just wanted to make
sure these patches got recorded.
>How-To-Repeat:
See above.
>Fix:
See above.



Home | Main Index | Thread Index | Old Index