From owner-freebsd-openoffice@FreeBSD.ORG Thu Nov 20 11:55:08 2003 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED5B516A4CE; Thu, 20 Nov 2003 11:55:08 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id D121143F85; Thu, 20 Nov 2003 11:55:05 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])hAKJt3ne032135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Nov 2003 14:55:04 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) hAKJsuaJ024758; Thu, 20 Nov 2003 14:54:57 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: mi+mx@aldan.algebra.com Organization: Virtual Estates, Inc. To: gnome@FreeBSD.org, openoffice@FreeBSD.org Date: Thu, 20 Nov 2003 14:54:56 -0500 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_QwRv/BoloZgWywx" Message-Id: <200311201454.56022@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) Subject: Mozilla's xptcall X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 19:55:09 -0000 --Boundary-00=_QwRv/BoloZgWywx Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello! In order to build mozilla (and hence, OpenOffice) I needed the attached patch. It seems, that the xptcall files are very fragile to the compiler optimization, so the patch is needed to replace whatever the configured through the make.conf with the vanilla ``-O''. Curiously, the file being patched already contains similar hacks for other platforms. Yours, -mi P.S. The patch is for mozilla-vendor, but is probably also needed for the later versions -- they did not change much in that area. --Boundary-00=_QwRv/BoloZgWywx Content-Type: text/x-diff; charset="us-ascii"; name="patch-xpcom::reflect::xptcall::src::md::unix::Makefile.in" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-xpcom::reflect::xptcall::src::md::unix::Makefile.in" --- xpcom/reflect/xptcall/src/md/unix/Makefile.in Wed Sep 11 16:47:43 2002 +++ xpcom/reflect/xptcall/src/md/unix/Makefile.in Wed Nov 19 15:28:37 2003 @@ -48,4 +48,5 @@ ifneq (,$(filter Linux FreeBSD NetBSD OpenBSD BSD_OS,$(OS_ARCH))) ifeq (86,$(findstring 86,$(OS_TEST))) +CXXFLAGS := $(filter-out $(HOST_CXXFLAGS), $(OS_CXXFLAGS)) -O CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp endif --Boundary-00=_QwRv/BoloZgWywx--