unreasonable amount of memory used in openoffice build

Greg Rivers gcr+freebsd-ports at tharned.org
Sat Jan 31 17:32:19 PST 2009


On Thu, 27 Nov 2008, Maho NAKATA wrote:

> Sorry for delay.
> Please try attached patch. If it works for you, I'll commit it.
>

Will this patch be committed soon?  I can confirm that with this patch it 
builds on i386.  Without this patch, it will not build for me on any i386 
system no matter how much RAM and/or swap is available.  Thanks for your 
fine work on this port.

-- 
Greg Rivers
-------------- next part --------------
? diff
? work
? work_
? files/patch-iXXXXX
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/openoffice.org-3/Makefile,v
retrieving revision 1.312
diff -u -r1.312 Makefile
--- Makefile	16 Oct 2008 12:30:24 -0000	1.312
+++ Makefile	27 Nov 2008 01:16:40 -0000
@@ -149,9 +149,6 @@
 WITHOUT_MOZILLA=	yes
 LIB_DEPENDS+=		boost_regex:${PORTSDIR}/devel/boost
 CONFIGURE_ARGS+=	--with-system-boost=yes #i58343#
-.if (${OSVERSION} >= 700042)
-EXTRA_PATCHES+=	${FILESDIR}/amd64-gcc42-workaround
-.endif
 .endif
 .if (${OSVERSION} <= 602102)
 EXTRA_PATCHES+=	${FILESDIR}/rtld-workaround-i66667
--- /dev/null	2008-11-27 10:17:03.000000000 +0900
+++ files/patch-iXXXXX	2008-11-27 10:04:41.000000000 +0900
@@ -0,0 +1,13 @@
+--- writerfilter/source/resourcemodel/makefile.mk.orig	2008-07-22 08:53:57.000000000 -0400
++++ writerfilter/source/resourcemodel/makefile.mk	2008-09-03 12:26:09.000000000 -0400
+@@ -56,8 +56,8 @@
+     $(SLO)$/TagLogger.obj \
+ 	$(SLO)$/WW8Analyzer.obj
+ 
+-# linux 64 bit: compiler (gcc 4.2.3) fails with 'out of memory'
+-.IF "$(OUTPATH)"=="unxlngx6"
++# FreeBSD/Linux 64-bit: compiler (gcc 4.2.x) fails with 'out of memory'
++.IF "$(OUTPATH)"=="unxfbsdx" || "$(OUTPATH)"=="unxfbsdi" || "$(OUTPATH)"=="unxlngx6"
+ NOOPTFILES= \
+ 	$(SLO)$/qnametostr.obj
+ .ENDIF


More information about the freebsd-ports mailing list