From owner-freebsd-gecko@FreeBSD.ORG Mon Aug 17 20:43:31 2009 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8CD81065691 for ; Mon, 17 Aug 2009 20:43:31 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 46EC18FC64 for ; Mon, 17 Aug 2009 20:43:30 +0000 (UTC) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n7HKhSvS011695 for ; Mon, 17 Aug 2009 22:43:29 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4A89C0F0.5000409@fgznet.ch> Date: Mon, 17 Aug 2009 22:43:28 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: gecko@freebsd.org Content-Type: multipart/mixed; boundary="------------030902000304020104020009" X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: Subject: [patch] firefox3 on sparc64, untested X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 20:43:31 -0000 This is a multi-part message in MIME format. --------------030902000304020104020009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, this patch should bring sparc64 a bit further while building firefox. My sparc is still asleep. Need some spare time. Maybe someone else has the chance to test. Andreas --------------030902000304020104020009 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="patch-security-coreconf-FreeBSD.mk" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-security-coreconf-FreeBSD.mk" --- 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 @@ ifeq ($(OS_TEST),alpha) CPU_ARCH = alpha else +ifeq ($(OS_TEST),amd64) +CPU_ARCH = amd64 +else +ifeq ($(OS_TEST),powerpc) +CPU_ARCH = powerpc +else +ifeq ($(OS_TEST),sparc64) +CPU_ARCH = sparc64 +else CPU_ARCH = x86 endif +endif +endif +endif OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK @@ -73,7 +85,7 @@ DLL_SUFFIX = so.1.0 endif -MKSHLIB = $(CC) $(DSO_LDOPTS) +MKSHLIB = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@ ifdef MAPFILE MKSHLIB += -Wl,--version-script,$(MAPFILE) endif @@ -82,4 +94,4 @@ G++INCLUDES = -I/usr/include/g++ -INCLUDES += -I/usr/X11R6/include +#INCLUDES += -I/usr/local/include --------------030902000304020104020009--