Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2009 23:33:23 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        FreeBSD CURRENT Mailing List <freebsd-current@freebsd.org>, kde@freebsd.org, FreeBSD-IA64 Mailing List <freebsd-ia64@freebsd.org>
Subject:   Re: QMutex: mutex destroy failure: Device busy -> Seg fault in ports/x11/kdebase4-workspace
Message-ID:  <BE5313BE-3EA9-48C2-9A56-5AFCB58292D7@mac.com>
In-Reply-To: <3A2818E0-70DE-4837-9E47-08FFDF74072D@mac.com>
References:  <20091109132113.GA71911@mech-cluster241.men.bris.ac.uk> <3A2818E0-70DE-4837-9E47-08FFDF74072D@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary_(ID_qrGAG3BcVmTj7sNFuZJuCA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT


On Nov 9, 2009, at 12:48 PM, Marcel Moolenaar wrote:
> 
>> At present there's no
>> secure graphical web browser for ia64. Until recently
>> kazehakase was working. But now it doesn't, because security/nss
>> doesn't build. And firefox doesn't build because of broken xpcom..
> 
> Firefox used to build. I'll see up with that...

Apply the attached patch to /usr/ports/www/firefox3.
I'm testing the same patch against firefox35 as I type
this.

FYI,

-- 
Marcel Moolenaar
xcllnt@mac.com



--Boundary_(ID_qrGAG3BcVmTj7sNFuZJuCA)
Content-type: application/octet-stream; name=firefox3.diff
Content-transfer-encoding: 7bit
Content-disposition: attachment; filename=firefox3.diff

Index: files/patch-security-coreconf-FreeBSD.mk
===================================================================
RCS file: /home/ncvs/ports/www/firefox3/files/patch-security-coreconf-FreeBSD.mk,v
retrieving revision 1.3
diff -u -r1.3 patch-security-coreconf-FreeBSD.mk
--- files/patch-security-coreconf-FreeBSD.mk	19 Aug 2009 01:58:37 -0000	1.3
+++ files/patch-security-coreconf-FreeBSD.mk	10 Nov 2009 06:43:55 -0000
@@ -1,12 +1,15 @@
---- security/coreconf/FreeBSD.mk.orig	2009-07-30 17:30:28.000000000 +0200
-+++ security/coreconf/FreeBSD.mk	2009-08-17 22:29:03.510890513 +0200
-@@ -45,8 +45,20 @@
+--- security/coreconf/FreeBSD.mk.orig	2008-07-12 07:28:59.000000000 -0700
++++ security/coreconf/FreeBSD.mk	2009-11-09 22:42:09.000000000 -0800
+@@ -45,8 +45,24 @@
  ifeq ($(OS_TEST),alpha)
  CPU_ARCH		= alpha
  else
 +ifeq ($(OS_TEST),amd64)
 +CPU_ARCH		= amd64
 +else
++ifeq ($(OS_TEST),ia64)
++CPU_ARCH		= ia64
++else
 +ifeq ($(OS_TEST),powerpc)
 +CPU_ARCH		= powerpc
 +else
@@ -18,10 +21,11 @@
 +endif
 +endif
 +endif
++endif
  
  OS_CFLAGS		= $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
  
-@@ -73,7 +85,7 @@
+@@ -73,7 +89,7 @@
  DLL_SUFFIX		= so.1.0
  endif
  
@@ -30,9 +34,9 @@
  ifdef MAPFILE
  	MKSHLIB += -Wl,--version-script,$(MAPFILE)
  endif
-@@ -82,4 +94,4 @@
+@@ -82,4 +98,4 @@
  
  G++INCLUDES		= -I/usr/include/g++
  
 -INCLUDES		+= -I/usr/X11R6/include
-+#INCLUDES		+= -I/usr/X11R6/include
++#INCLUDES		+= -I/usr/local/include
Index: files/patch-xpcom-reflect-xptcall-src-xptcprivate.h
===================================================================
RCS file: files/patch-xpcom-reflect-xptcall-src-xptcprivate.h
diff -N files/patch-xpcom-reflect-xptcall-src-xptcprivate.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-xpcom-reflect-xptcall-src-xptcprivate.h	10 Nov 2009 05:44:50 -0000
@@ -0,0 +1,20 @@
+--- xpcom/reflect/xptcall/src/xptcprivate.h.orig	2009-11-09 21:43:49.000000000 -0800
++++ xpcom/reflect/xptcall/src/xptcprivate.h	2009-11-09 21:44:05.000000000 -0800
+@@ -45,7 +45,7 @@
+ 
+ class xptiInterfaceEntry;
+ 
+-#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
++#if !defined(__ia64)
+ #define STUB_ENTRY(n) NS_IMETHOD Stub##n() = 0;
+ #else
+ #define STUB_ENTRY(n) NS_IMETHOD Stub##n(PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64) = 0;
+@@ -62,7 +62,7 @@
+ #undef STUB_ENTRY
+ #undef SENTINEL_ENTRY
+ 
+-#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
++#if !defined(__ia64)
+ #define STUB_ENTRY(n) NS_IMETHOD Stub##n();
+ #else
+ #define STUB_ENTRY(n) NS_IMETHOD Stub##n(PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);

--Boundary_(ID_qrGAG3BcVmTj7sNFuZJuCA)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE5313BE-3EA9-48C2-9A56-5AFCB58292D7>