FreeBSD Port: lang/gcc-ooo
NAKATA Maho
chat95 at mac.com
Sat Aug 27 03:55:59 GMT 2005
In Message-ID: <430FA2D9.2010902 at altern.org>
Gregory Nou <gregorynou at 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 at FreeBSD.org)
-------------- next part --------------
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
More information about the freebsd-openoffice
mailing list