Upgrade the development snapshot to the latest build: 642

This commit is contained in:
Martin Blapp 2002-03-12 01:22:29 +00:00
parent c6bfd3e6e0
commit 24c09925b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55914
153 changed files with 1819 additions and 1496 deletions

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

View file

@ -1,3 +1,3 @@
MD5 (oo_641c_src.tar.bz2) = 937fbe2534da2cb95a941945553ba7c4 MD5 (oo_642_src.tar.bz2) = fc39bdf5f4b277c343d2cc38b0d70c7d
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1 MD5 (oo_moz_641.tar.gz) = 472f7f19b47fa5ffef41dd01d0effac1

View file

@ -1,8 +1,8 @@
--- configure.in.orig Mon Nov 12 22:45:53 2001 --- configure.in.orig Tue Feb 19 16:42:08 2002
+++ configure.in Sat Mar 9 23:08:27 2002 +++ configure.in Mon Mar 11 14:50:18 2002
@@ -98,6 +98,12 @@ @@ -121,6 +121,12 @@
Usage: --with-asm-home=<path to ml.exe directory> Usage: --enable-check-only=yes
],,) ],,)
+AC_ARG_WITH(os-version, +AC_ARG_WITH(os-version,
+[ --with-os-version For FreeBSD users, use this option option to build OpenOffice +[ --with-os-version For FreeBSD users, use this option option to build OpenOffice
@ -10,10 +10,10 @@
+ +
+ Usage: --with-os-version=<OSVERSION> + Usage: --with-os-version=<OSVERSION>
+],,) +],,)
AC_ARG_WITH(unzip-home, dnl ===================================================================
[ --with-unzip-home For Windows users, please supply the path for dnl Message.
unzip.exe. dnl ===================================================================
@@ -225,13 +231,13 @@ @@ -245,13 +251,13 @@
if test $GCC; then if test $GCC; then
AC_MSG_CHECKING([the GNU gcc compiler version]) AC_MSG_CHECKING([the GNU gcc compiler version])
@ -29,8 +29,8 @@
+ _gcc_version=`$CC --version` + _gcc_version=`$CC --version`
fi fi
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'` _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
if test "$_gcc_major" != "2"; then if test -n "$enable_gcc3"; then
@@ -239,13 +245,13 @@ @@ -264,13 +270,13 @@
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
COMPATH="NO_GCC" COMPATH="NO_GCC"
else else
@ -46,7 +46,7 @@
if test "$_gcc_minor" = "false"; then if test "$_gcc_minor" = "false"; then
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
@@ -306,7 +312,8 @@ @@ -335,7 +341,8 @@
fi fi
else else
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
@ -56,7 +56,7 @@
else else
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler])
AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn AC_MSG_WARN([could not find 2.95.2/include directory of the gcc compiler]) >> warn
@@ -740,6 +747,10 @@ @@ -779,6 +786,10 @@
fi fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@ -67,27 +67,20 @@
fi fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'` _jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -982,7 +993,7 @@ @@ -1129,6 +1140,7 @@
HAVE_GPC_C="yes"
fi
-if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then
+if test "$HAVE_GPC_H" = "yes" -a "$HAVE_GPC_C" = "yes"; then
AC_MSG_RESULT([GPC files found])
else
AC_MSG_ERROR([GPC files not found])
@@ -1084,12 +1095,13 @@
echo "\$with_lang="$with_lang echo "\$with_lang="$with_lang
echo "\$with_asm_home="$with_asm_home echo "\$with_asm_home="$with_asm_home
echo "\$with_unzip_home="$with_unzip_home echo "\$with_unzip_home="$with_unzip_home
+echo "\$with_os_version="$with_os_version +echo "\$with_os_version="$with_os_version
echo "\$MINGWIN32="$WITH_MINGWIN
echo "\$USE_GCC3="$USE_GCC3
echo echo
fi @@ -1136,7 +1148,7 @@
# Executing the set_soenv script to setup the environment variables. # Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then if test -z "$enable_check_only"; then
- './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home - './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3
+ './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS + './set_soenv' $COMPATH $_gcc_include_path $_gxx_include_path $JAVA_HOME $TCSH $PERL $x_libraries $x_includes $_LOCAL_SOLENV $_LOCAL_SOLVER $upd $CYGWIN $STLPORT4 $enable_xprint $with_lang $with_asm_home $with_unzip_home $WITH_MINGWIN $USE_GCC3 $with_os_version $PTHREAD_CFLAGS $PTHREAD_LIBS
else else
echo echo
echo Test Complete echo Test Complete

View file

@ -1,12 +1,12 @@
--- ../cppu/util/makefile.mk.orig Sat Mar 2 21:05:22 2002 --- ../cppu/util/makefile.mk.orig Fri Nov 9 10:14:31 2001
+++ ../cppu/util/makefile.mk Sat Mar 2 21:05:43 2002 +++ ../cppu/util/makefile.mk Mon Mar 11 13:35:07 2002
@@ -87,7 +87,9 @@ @@ -89,7 +89,9 @@
SHL1IMPLIB= i$(TARGET) SHL1IMPLIB=i$(TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+.IF "$(OS)"!="FREEBSD" +.IF "$(OS)"!="FREEBSD"
SHL1VERSIONMAP= $(TARGET).map SHL1VERSIONMAP=$(TARGET).map
+.ENDIF +.ENDIF
DEF1NAME= $(SHL1TARGET) DEF1NAME=$(SHL1TARGET)
#DEF1EXPORTFILE= exports.dxp

View file

@ -1,6 +1,6 @@
--- ../product/util/makefile.mk.orig Mon Dec 17 18:15:54 2001 --- ../product/util/makefile.mk.orig Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk Sun Mar 10 23:18:09 2002 +++ ../product/util/makefile.mk Mon Mar 11 14:10:27 2002
@@ -117,6 +117,15 @@ @@ -115,6 +115,15 @@
STLPORTLIBNAME=stlport_vc6.dll STLPORTLIBNAME=stlport_vc6.dll
ADDITIONAL_DLLS= \ ADDITIONAL_DLLS= \
$(DESTDIRDLL)$/w9xucwrp.dll $(DESTDIRDLL)$/w9xucwrp.dll
@ -16,7 +16,7 @@
.ENDIF .ENDIF
STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME) STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
@@ -373,8 +382,8 @@ @@ -367,8 +376,8 @@
$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@ $(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
$(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST) $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
@ -27,16 +27,16 @@
#--------------------------------------------------------- #---------------------------------------------------------
@@ -385,7 +394,7 @@ @@ -379,7 +388,7 @@
#
$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST) #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@ # -rm -f $@
- +ln -s libstdc++.so.3.0.1 $@ -# +ln -s libstdc++.so.3.0.1 $@
+ +ln -fs libstdc++.so.3.0.1 $@ +# +ln -fs libstdc++.so.3.0.1 $@
$(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@
@@ -393,7 +402,7 @@ @@ -387,7 +396,7 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST) $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@ -rm -f $@

View file

@ -1,11 +1,11 @@
--- ../config_office/set_soenv.1.orig Tue Nov 20 18:26:33 2001 --- set_soenv.1.orig Wed Feb 27 10:46:41 2002
+++ ../config_office/set_soenv.1 Sun Mar 10 22:56:18 2002 +++ set_soenv.1 Mon Mar 11 13:46:57 2002
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# #
# Set this value equal to the corresponding amount of # Set this value equal to the corresponding amount of
# command line arguments. # command line arguments.
-my $numArgs = 17; -my $numArgs = 19;
+my $numArgs = 20; +my $numArgs = 22;
# Determining the amount of arguments in the call. # Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1; my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs ) if ( $numEnter != $numArgs )
@ -21,7 +21,7 @@
# #
#------------------------------------------- #-------------------------------------------
# IIc. Declaring the environment variables. # IIc. Declaring the environment variables.
@@ -301,7 +302,7 @@ @@ -303,7 +304,7 @@
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
$SOLAR_JAVA = "TRUE"; $SOLAR_JAVA = "TRUE";
@ -30,17 +30,17 @@
} }
elsif ( $platform eq "$FreeBSD" ) elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... "; { print "Setting FreeBSD specific values... ";
@@ -324,6 +325,9 @@ @@ -326,6 +327,9 @@
$PATH_SEPERATOR = $ps; $PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT"; $PROSWITCH = "-DPRODUCT";
$XPVERSION = "3"; $XPVERSION = "3";
+ $OSVERSION = $ARGV[ 17 ]; + $OSVERSION = $ARGV[ 19 ];
+ $PTHREAD_CFLAGS = $ARGV[ 18 ]; + $PTHREAD_CFLAGS = $ARGV[ 20 ];
+ $PTHREAD_LIBS = $ARGV[ 19 ]; + $PTHREAD_LIBS = $ARGV[ 21 ];
} }
elsif ( $platform eq "$Linux" ) elsif ( $platform eq "$Linux" )
{ {
@@ -853,15 +857,16 @@ @@ -889,15 +893,16 @@
$D.$COM. $D.$COM.
$D.$CVER. $D.$CVER.
$D.$GVER. $D.$GVER.
@ -60,7 +60,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC; { $SOLARDEF .= $D."GLIBC=".$GLIBC;
} }
$SOLARDEF .= $D."SUPD=$UPD". $SOLARDEF .= $D."SUPD=$UPD".
@@ -954,7 +959,7 @@ @@ -990,7 +995,7 @@
$ps.$USR.$LIB. $ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN; $ps.$USR_LOCAL.$BIN;
} }
@ -69,7 +69,7 @@
{ $PATH = $cur_dir. { $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN. $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN. $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
@@ -968,6 +973,22 @@ @@ -1004,6 +1009,22 @@
$ps.$USR.$BIN.$ds."X11". $ps.$USR.$BIN.$ds."X11".
$ps.$USR.$LIB; $ps.$USR.$LIB;
} }
@ -92,10 +92,10 @@
elsif ($platform eq "$Winnt") elsif ($platform eq "$Winnt")
{ $COMPATH_ROOT = $COMPATH; { $COMPATH_ROOT = $COMPATH;
$COMPATH_ROOT =~ s/\/vc98$//; $COMPATH_ROOT =~ s/\/vc98$//;
@@ -1067,25 +1088,19 @@ @@ -1107,21 +1128,14 @@
{ $SOLARINC .= $I.$USR.$INCLUDE;
$SOLARINC .= $I.$USR.$INCLUDE. }
$STLPORT_stlport; $SOLARINC .= $STLPORT_stlport;
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
-{ -{
-# This simply adds an include path, so even cases that break the FHS work -# This simply adds an include path, so even cases that break the FHS work
@ -113,16 +113,11 @@
} }
-if ($platform eq "$Linux") -if ($platform eq "$Linux")
+if (($platform eq "$Linux") or ($platform eq "$FreeBSD")) +if (($platform eq "$Linux") || ($platform eq "$FreeBSD"))
{ {
# This simply adds an include path, so even cases that break the FHS work # This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport; $SOLARINC .= $STLPORT_inc_stlport;
} @@ -1313,6 +1327,9 @@
+
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
@@ -1273,6 +1288,9 @@
ToFile( "GUIENV", $GUIENV, "e" ); ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" ); ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" ); ToFile( "OS", $OS, "e" );

View file

@ -0,0 +1,5 @@
--- /dev/null Mon Mar 11 14:55:01 2002
+++ ../solenv/inc/startup/FREEBSD/macros.mk Mon Mar 11 14:54:59 2002
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk

View file

@ -0,0 +1,14 @@
--- ../soltools/mkdepend/main.c.orig Mon Mar 11 20:09:35 2002
+++ ../soltools/mkdepend/main.c Mon Mar 11 17:25:55 2002
@@ -27,6 +27,11 @@
*/
+#ifdef FREEBSD
+#include <sys/types.h>
+#include <sys/stat.h>
+#endif
+
#include "def.h"
#ifdef hpux
#define sigvec sigvector

View file

@ -0,0 +1,11 @@
--- ../stoc/source/implementationregistration/implreg.cxx.orig Mon Mar 11 20:08:04 2002
+++ ../stoc/source/implementationregistration/implreg.cxx Mon Mar 11 19:55:02 2002
@@ -192,7 +192,7 @@
tmpPath = buf.makeStringAndClear();
}
// I am the only one to own tmpPath here, so the cast is tolerateable.
- OSL_VERIFY( tmpPath.getStr() == mktemp( (sal_Char * ) tmpPath.getStr() ) );
+ OSL_VERIFY( (sal_Char * ) tmpPath.getStr() == (sal_Char * ) mktemp( (sal_Char * ) tmpPath.getStr() ) );
return OStringToOUString( tmpPath, osl_getThreadTextEncoding());
}

View file

@ -6,9 +6,10 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 641c PORTVERSION= 642
CATEGORIES= editors x11 CATEGORIES= editors x11
MASTER_SITES= http://sf1.mirror.openoffice.org/641c/ \ MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/ http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz

Some files were not shown because too many files have changed in this diff Show more