Date: Sat, 27 Aug 2005 12:55:49 +0900 (JST) From: NAKATA Maho <chat95@mac.com> To: gregorynou@altern.org Cc: openoffice@FreeBSD.org Subject: Re: FreeBSD Port: lang/gcc-ooo Message-ID: <20050827.125549.74753448.chat95@mac.com> In-Reply-To: <430FA2D9.2010902@altern.org> References: <430FA2D9.2010902@altern.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Aug_27_12:55:49_2005_920)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit In Message-ID: <430FA2D9.2010902@altern.org> Gregory Nou <gregorynou@altern.org> wrote: > I tried to compile OOo-2.0-devel on a freebsd-7.0 and had a problem with > gcc-ooo. I know it and I've already made a patch and asked portmgr@ about my commit. and this is rejected (I agree with this since our aim is releasing 6.0). attached patch is against lang/gcc-ooo But I'd strongly suggest you'd better wait until ports freeze will be over. -- NAKATA, Maho (maho@FreeBSD.org) ----Next_Part(Sat_Aug_27_12:55:49_2005_920)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gcc-ooo.freebsd-7.diff" Index: files/patch-freebsd-spec.h =================================================================== RCS file: /home/pcvs/ports/lang/gcc-ooo/files/patch-freebsd-spec.h,v retrieving revision 1.3 diff -u -r1.3 patch-freebsd-spec.h --- files/patch-freebsd-spec.h 8 Jan 2005 18:21:58 -0000 1.3 +++ files/patch-freebsd-spec.h 13 Aug 2005 10:59:39 -0000 @@ -1,6 +1,17 @@ ---- gcc/config/freebsd-spec.h.orig Tue Mar 2 14:34:55 2004 -+++ gcc/config/freebsd-spec.h Fri Dec 17 11:22:26 2004 -@@ -130,11 +130,19 @@ +--- gcc/config/freebsd-spec.h.orig Wed Mar 3 07:34:55 2004 ++++ gcc/config/freebsd-spec.h Sat Aug 13 18:47:14 2005 +@@ -51,7 +51,9 @@ + #define FBSD_TARGET_OS_CPP_BUILTINS() \ + do \ + { \ +- if (FBSD_MAJOR == 6) \ ++ if (FBSD_MAJOR == 7) \ ++ builtin_define ("__FreeBSD__=7"); \ ++ else if (FBSD_MAJOR == 6) \ + builtin_define ("__FreeBSD__=6"); \ + else if (FBSD_MAJOR == 5) \ + builtin_define ("__FreeBSD__=5"); \ +@@ -130,11 +132,19 @@ }" #else #if FBSD_MAJOR >= 5 --- /dev/null Sat Aug 13 19:59:10 2005 +++ files/patch-gcc+config.gcc Sat Aug 13 18:48:27 2005 @@ -0,0 +1,11 @@ +--- gcc/config.gcc.orig Thu Apr 22 00:12:35 2004 ++++ gcc/config.gcc Sat Aug 13 10:17:42 2005 +@@ -400,6 +400,8 @@ + tm_defines="${tm_defines} FBSD_MAJOR=5" ;; + *-*-freebsd6 | *-*-freebsd[6].*) + tm_defines="${tm_defines} FBSD_MAJOR=6" ;; ++ *-*-freebsd7 | *-*-freebsd[7].*) ++ tm_defines="${tm_defines} FBSD_MAJOR=7" ;; + *) + echo 'Please update *-*-freebsd* in gcc/config.gcc' + exit 1 ----Next_Part(Sat_Aug_27_12:55:49_2005_920)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050827.125549.74753448.chat95>