diff options
Diffstat (limited to 'editors/openoffice.org-1.1-devel/files')
127 files changed, 0 insertions, 3880 deletions
diff --git a/editors/openoffice.org-1.1-devel/files/debugpatch-setup2+mow+source+loader+loader.c b/editors/openoffice.org-1.1-devel/files/debugpatch-setup2+mow+source+loader+loader.c deleted file mode 100644 index b6e2fd52d8f3..000000000000 --- a/editors/openoffice.org-1.1-devel/files/debugpatch-setup2+mow+source+loader+loader.c +++ /dev/null @@ -1,21 +0,0 @@ ---- ../setup2/mow/source/loader/loader.c.orig2 Thu Jun 6 11:23:17 2002 -+++ ../setup2/mow/source/loader/loader.c Thu Jun 6 11:24:14 2002 -@@ -1055,6 +1055,7 @@ - - void KillSetupDir() - { -+#if 0 - DIR* pDir; - struct dirent* pFile; - -@@ -1074,6 +1075,10 @@ - closedir( pDir ); - chdir( strInitPath ); - rmdir( strTmpPath ); -+#else -+ fprintf(stderr, "\nLeaving behind temporary directory: %s\n", -+ strTmpPath); -+#endif - } - - void makeSymLink( char* s ) diff --git a/editors/openoffice.org-1.1-devel/files/debugpatch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-1.1-devel/files/debugpatch-solenv+inc+unxfbsdi.mk deleted file mode 100644 index 42dde356ebac..000000000000 --- a/editors/openoffice.org-1.1-devel/files/debugpatch-solenv+inc+unxfbsdi.mk +++ /dev/null @@ -1,18 +0,0 @@ ---- ../solenv/inc/unxfbsdi.mk.orig Mon Jul 22 00:40:56 2002 -+++ ../solenv/inc/unxfbsdi.mk Mon Jul 22 00:42:02 2002 -@@ -92,12 +92,12 @@ - CDEFS+= $(PTHREAD_CFLAGS) -D_REENTRANT - - # flags for C and C++ Compile --CFLAGS+= -w -c $(INCLUDE) -+CFLAGS+= -g -ggdb -w -c $(INCLUDE) - CFLAGS+= -I/usr/X11R6/include - - # flags for the C++ Compiler --CFLAGSCC= -pipe --CFLAGSCXX= -pipe -fno-for-scope -fpermissive -+CFLAGSCC= -g -ggdb -pipe -+CFLAGSCXX= -g -ggdb -pipe -fno-for-scope -fpermissive - - # Flags for enabling exception handling - CFLAGSEXCEPTIONS= -fexceptions diff --git a/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+giflzwc.cxx b/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+giflzwc.cxx deleted file mode 100644 index 0fcdf289cca3..000000000000 --- a/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+giflzwc.cxx +++ /dev/null @@ -1,290 +0,0 @@ ---- ../goodies/source/filter.vcl/egif/giflzwc.cxx Sun Apr 13 14:33:24 2003 -+++ /dev/null Mon Apr 14 06:10:35 2003 -@@ -1,287 +0,0 @@ --/************************************************************************* -- * -- * $RCSfile: giflzwc.cxx,v $ -- * -- * $Revision: 1.1.1.1 $ -- * -- * last change: $Author: hr $ $Date: 2000/09/18 16:30:11 $ -- * -- * The Contents of this file are made available subject to the terms of -- * either of the following licenses -- * -- * - GNU Lesser General Public License Version 2.1 -- * - Sun Industry Standards Source License Version 1.1 -- * -- * Sun Microsystems Inc., October, 2000 -- * -- * GNU Lesser General Public License Version 2.1 -- * ============================================= -- * Copyright 2000 by Sun Microsystems, Inc. -- * 901 San Antonio Road, Palo Alto, CA 94303, USA -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Lesser General Public -- * License version 2.1, as published by the Free Software Foundation. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Lesser General Public License for more details. -- * -- * You should have received a copy of the GNU Lesser General Public -- * License along with this library; if not, write to the Free Software -- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, -- * MA 02111-1307 USA -- * -- * -- * Sun Industry Standards Source License Version 1.1 -- * ================================================= -- * The contents of this file are subject to the Sun Industry Standards -- * Source License Version 1.1 (the "License"); You may not use this file -- * except in compliance with the License. You may obtain a copy of the -- * License at http://www.openoffice.org/license.html. -- * -- * Software provided under this License is provided on an "AS IS" basis, -- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, -- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. -- * See the License for the specific provisions governing your rights and -- * obligations concerning the Software. -- * -- * The Initial Developer of the Original Code is: Sun Microsystems, Inc. -- * -- * Copyright: 2000 by Sun Microsystems, Inc. -- * -- * All Rights Reserved. -- * -- * Contributor(s): _______________________________________ -- * -- * -- ************************************************************************/ -- --#include <tools/stream.hxx> --#include "giflzwc.hxx" -- --// ---------------------------- --// - GIFImageDataOutputStream - --// ---------------------------- -- --class GIFImageDataOutputStream --{ --private: -- -- void FlushBlockBuf(); -- inline void FlushBitsBufsFullBytes(); -- -- SvStream& rStream; -- BYTE* pBlockBuf; -- BYTE nBlockBufSize; -- ULONG nBitsBuf; -- USHORT nBitsBufSize; -- --public: -- -- GIFImageDataOutputStream( SvStream & rGIF, BYTE nLZWDataSize ); -- ~GIFImageDataOutputStream(); -- -- inline void WriteBits( USHORT nCode, USHORT nCodeLen ); --}; -- --// ------------------------------------------------------------------------ -- --inline void GIFImageDataOutputStream::FlushBitsBufsFullBytes() --{ -- while (nBitsBufSize>=8) -- { -- if( nBlockBufSize==255 ) -- FlushBlockBuf(); -- -- pBlockBuf[nBlockBufSize++] = (BYTE) nBitsBuf; -- nBitsBuf >>= 8; -- nBitsBufSize -= 8; -- } --} -- --// ------------------------------------------------------------------------ -- --inline void GIFImageDataOutputStream::WriteBits( USHORT nCode, USHORT nCodeLen ) --{ -- if( nBitsBufSize+nCodeLen>32 ) -- FlushBitsBufsFullBytes(); -- -- nBitsBuf |= (ULONG) nCode << nBitsBufSize; -- nBitsBufSize += nCodeLen; --} -- --// ------------------------------------------------------------------------ -- --GIFImageDataOutputStream::GIFImageDataOutputStream( SvStream & rGIF, BYTE nLZWDataSize ) : -- rStream(rGIF) --{ -- pBlockBuf = new BYTE[ 255 ]; -- nBlockBufSize = 0; -- nBitsBufSize = 0; -- nBitsBuf = 0; -- rStream << nLZWDataSize; --} -- --// ------------------------------------------------------------------------ -- -- --GIFImageDataOutputStream::~GIFImageDataOutputStream() --{ -- WriteBits(0,7); -- FlushBitsBufsFullBytes(); -- FlushBlockBuf(); -- rStream << (BYTE)0; -- delete[] pBlockBuf; --} -- --// ------------------------------------------------------------------------ -- --void GIFImageDataOutputStream::FlushBlockBuf() --{ -- if( nBlockBufSize ) -- { -- rStream << (BYTE) nBlockBufSize; -- rStream.Write( pBlockBuf,nBlockBufSize ); -- nBlockBufSize = 0; -- } --} -- --// ------------------- --// - GIFLZWCTreeNode - --// ------------------- -- --struct GIFLZWCTreeNode --{ -- -- GIFLZWCTreeNode* pBrother; // naechster Knoten, der den selben Vater hat -- GIFLZWCTreeNode* pFirstChild; // erster Sohn -- USHORT nCode; // Der Code fuer den String von Pixelwerten, der sich ergibt, wenn -- USHORT nValue; // Der Pixelwert --}; -- --// -------------------- --// - GIFLZWCompressor - --// -------------------- -- --GIFLZWCompressor::GIFLZWCompressor() --{ -- pIDOS=NULL; --} -- --// ------------------------------------------------------------------------ -- --GIFLZWCompressor::~GIFLZWCompressor() --{ -- if (pIDOS!=NULL) EndCompression(); --} -- --// ------------------------------------------------------------------------ -- --void GIFLZWCompressor::StartCompression( SvStream& rGIF, USHORT nPixelSize ) --{ -- if( !pIDOS ) -- { -- USHORT i; -- -- nDataSize = nPixelSize; -- -- if( nDataSize < 2 ) -- nDataSize=2; -- -- nClearCode=1<<nDataSize; -- nEOICode=nClearCode+1; -- nTableSize=nEOICode+1; -- nCodeSize=nDataSize+1; -- -- pIDOS=new GIFImageDataOutputStream(rGIF,(BYTE)nDataSize); -- pTable=new GIFLZWCTreeNode[4096]; -- -- for (i=0; i<4096; i++) -- { -- pTable[i].pBrother = pTable[i].pFirstChild = NULL; -- pTable[i].nValue = (BYTE) ( pTable[i].nCode = i ); -- } -- -- pPrefix = NULL; -- pIDOS->WriteBits( nClearCode,nCodeSize ); -- } --} -- --// ------------------------------------------------------------------------ -- --void GIFLZWCompressor::Compress( HPBYTE pSrc, ULONG nSize ) --{ -- if( pIDOS ) -- { -- GIFLZWCTreeNode* p; -- USHORT i; -- BYTE nV; -- -- if( !pPrefix && nSize ) -- { -- pPrefix=pTable+(*pSrc++); -- nSize--; -- } -- -- while( nSize ) -- { -- nSize--; -- nV=*pSrc++; -- for( p=pPrefix->pFirstChild; p!=NULL; p=p->pBrother ) -- { -- if (p->nValue==nV) -- break; -- } -- -- if( p) -- pPrefix=p; -- else -- { -- pIDOS->WriteBits(pPrefix->nCode,nCodeSize); -- -- if (nTableSize==4096) -- { -- pIDOS->WriteBits(nClearCode,nCodeSize); -- -- for (i=0; i<nClearCode; i++) -- pTable[i].pFirstChild=NULL; -- -- nCodeSize=nDataSize+1; -- nTableSize=nEOICode+1; -- } -- else -- { -- if(nTableSize==(USHORT)(1<<nCodeSize)) -- nCodeSize++; -- -- p=pTable+(nTableSize++); -- p->pBrother=pPrefix->pFirstChild; -- pPrefix->pFirstChild=p; -- p->nValue=nV; -- p->pFirstChild=NULL; -- } -- -- pPrefix=pTable+nV; -- } -- } -- } --} -- --// ------------------------------------------------------------------------ -- --void GIFLZWCompressor::EndCompression() --{ -- if( pIDOS ) -- { -- if( pPrefix ) -- pIDOS->WriteBits(pPrefix->nCode,nCodeSize); -- -- pIDOS->WriteBits( nEOICode,nCodeSize ); -- delete[] pTable; -- delete pIDOS; -- pIDOS=NULL; -- } --} diff --git a/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+giflzwc_disabled.cxx b/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+giflzwc_disabled.cxx deleted file mode 100644 index 223277a5cd7e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+giflzwc_disabled.cxx +++ /dev/null @@ -1,45 +0,0 @@ ---- /dev/null 1970-01-01 01:00:00.000000000 +0100 -+++ ../goodies/source/filter.vcl/egif/giflzwc_disabled.cxx 2002-08-15 15:09:47.000000000 +0200 -@@ -0,0 +1,42 @@ -+/********************************** -+ * This code is copied from giflzwc.cxx, with the patented LZW compression code removed. -+ **********************************/ -+ -+//#include <tools/stream.hxx> -+#include "giflzwc.hxx" -+ -+// -------------------- -+// - GIFLZWCompressor - -+// -------------------- -+ -+GIFLZWCompressor::GIFLZWCompressor() -+{ -+ pIDOS=NULL; -+} -+ -+// ------------------------------------------------------------------------ -+ -+GIFLZWCompressor::~GIFLZWCompressor() -+{ -+} -+ -+// ------------------------------------------------------------------------ -+ -+void GIFLZWCompressor::StartCompression( SvStream& rGIF, USHORT nPixelSize ) -+{ -+ /********************** DISABLED *************************/ -+} -+ -+// ------------------------------------------------------------------------ -+ -+void GIFLZWCompressor::Compress( HPBYTE pSrc, ULONG nSize ) -+{ -+ /********************** DISABLED *************************/ -+} -+ -+// ------------------------------------------------------------------------ -+ -+void GIFLZWCompressor::EndCompression() -+{ -+ /********************** DISABLED *************************/ -+} diff --git a/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+makefile.mk b/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+makefile.mk deleted file mode 100644 index dd9e199acc96..000000000000 --- a/editors/openoffice.org-1.1-devel/files/gifpatch-goodies+source+filter.vcl+egif+makefile.mk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../goodies/source/filter.vcl/egif/makefile.mk.orig Tue Aug 14 23:22:54 2001 -+++ ../goodies/source/filter.vcl/egif/makefile.mk Mon Apr 14 06:04:55 2003 -@@ -89,7 +89,7 @@ - - SLOFILES= $(SLO)$/egif.obj \ - $(SLO)$/dlgegif.obj \ -- $(SLO)$/giflzwc.obj -+ $(SLO)$/giflzwc_disabled.obj - - - # ========================================================================== diff --git a/editors/openoffice.org-1.1-devel/files/oo_setup.resp b/editors/openoffice.org-1.1-devel/files/oo_setup.resp deleted file mode 100644 index 5f5b018518dd..000000000000 --- a/editors/openoffice.org-1.1-devel/files/oo_setup.resp +++ /dev/null @@ -1,7 +0,0 @@ -[Environment] -InstallationMode = INSTALL_NETWORK -InstallationType = STANDARD -DestinationPath = %%PREFIX%%/OpenOffice.org-644 - -[Java] -JavaSupport = preinstalled_or_none diff --git a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper deleted file mode 100644 index f241aff60521..000000000000 --- a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.7 2003-04-16 06:51:35 mbr Exp $ - -oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ -program=`echo $0 | sed -e 's|.*-||'` - -if [ ! $LANG ]; then - export LANG=%%LANG%% -fi - -if [ -e $HOME/OpenOffice.org644/setup.log ]; then - if [ ! -e $HOME/OpenOffice.org644/user/config/soffice.cfg ]; then - touch $HOME/OpenOffice.org644/user/config/soffice.cfg - fi -fi - -case $program in -$0) - cd $oopath && ./soffice "$@" - ;; - *) - cd $oopath && exec ./$program "$@" - ;; -esac diff --git a/editors/openoffice.org-1.1-devel/files/optpatch-freetype+patch b/editors/openoffice.org-1.1-devel/files/optpatch-freetype+patch deleted file mode 100644 index b426a8fb7fcc..000000000000 --- a/editors/openoffice.org-1.1-devel/files/optpatch-freetype+patch +++ /dev/null @@ -1,208 +0,0 @@ -Index: files/patch-freetype::patch -=================================================================== -RCS file: files/patch-freetype::patch -diff -N files/patch-freetype::patch ---- /dev/null 1 Jan 1970 00:00:00 -0000 -+++ files/patch-freetype::patch 4 Aug 2002 15:27:42 -0000 -@@ -0,0 +1,201 @@ -+diff -ur ../freetype/freetype-2.0.5.patch oo641d_patched/freetype/freetype-2.0.5.patch -+--- ../freetype/freetype-2.0.5.patch Fri Apr 5 21:07:34 2002 -++++ ../freetype/freetype-2.0.5.patch Sat Mar 9 18:04:17 2002 -+@@ -1,118 +1,79 @@ -+-*** misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 14 00:44:33 2000 -+---- misc/build/freetype-2.0.5/builds/compiler/visualc.mk Wed Nov 7 16:11:47 2001 -+-*************** -+-*** 63,69 **** -+- # ANSI compliance. -+- # -+- ifndef CFLAGS -+-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX -+- endif -+- -+- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant. -+---- 63,69 ---- -+- # ANSI compliance. -+- # -+- ifndef CFLAGS -+-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS -+- endif -+- -+- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant. -+-*** misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Jun 7 19:36:17 2001 -+---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Wed Nov 7 16:11:47 2001 -+-*************** -+-*** 631,637 **** -+- if test "$build_old_libs" = yes; then -+- if test "$pic_mode" != yes; then -+- # Don't build PIC code -+-! command="$base_compile $srcfile" -+- else -+- # All platforms use -DPIC, to notify preprocessed assembler code. -+- command="$base_compile $srcfile $pic_flag -DPIC" -+---- 631,637 ---- -+- if test "$build_old_libs" = yes; then -+- if test "$pic_mode" != yes; then -+- # Don't build PIC code -+-! command="$base_compile $srcfile -DPIC $pic_flag" -+- else -+- # All platforms use -DPIC, to notify preprocessed assembler code. -+- command="$base_compile $srcfile $pic_flag -DPIC" -+-*** misc/freetype-2.0.5/include/freetype/config/ftmodule.h Mon Jan 1 18:25:21 2001 -+---- misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Wed Nov 7 16:11:47 2001 -+-*************** -+-*** 1,7 **** -+---- 1,9 ---- -+- FT_USE_MODULE(autohint_module_class) -+- FT_USE_MODULE(cff_driver_class) -+- FT_USE_MODULE(t1cid_driver_class) -+-+ /* -+- FT_USE_MODULE(pcf_driver_class) -+-+ */ -+- FT_USE_MODULE(psaux_module_class) -+- FT_USE_MODULE(psnames_module_class) -+- FT_USE_MODULE(ft_raster1_renderer_class) -+-*************** -+-*** 9,12 **** -+---- 11,16 ---- -+- FT_USE_MODULE(ft_smooth_renderer_class) -+- FT_USE_MODULE(tt_driver_class) -+- FT_USE_MODULE(t1_driver_class) -+-+ /* -+- FT_USE_MODULE(winfnt_driver_class) -+-+ */ -+-*** misc/freetype-2.0.5/include/freetype/config/ftoption.h Tue Aug 21 10:50:45 2001 -+---- misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Wed Nov 7 16:11:47 2001 -+-*************** -+-*** 70,76 **** -+---- 70,79 ---- -+- /* All convenience functions are declared as such in their */ -+- /* documentation. */ -+- /* */ -+-+ /* -+- #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS -+-+ */ -+-+ #define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS -+- -+- -+- /*************************************************************************/ -+-*************** -+-*** 108,116 **** -+- /* use a vector `plotter' format that isn't supported when this */ -+- /* macro is undefined. */ -+- /* */ -+- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS -+- -+-- -+- /*************************************************************************/ -+- /* */ -+- /* Glyph Postscript Names handling */ -+---- 111,121 ---- -+- /* use a vector `plotter' format that isn't supported when this */ -+- /* macro is undefined. */ -+- /* */ -+-+ /* -+- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS -+-+ */ -+-+ #undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS -+- -+- /*************************************************************************/ -+- /* */ -+- /* Glyph Postscript Names handling */ -+-*** misc/build/freetype-2.0.5/builds/unix/ltmain.sh.orig Mon Jan 7 14:21:35 2002 -+---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Mon Jan 7 14:21:40 2002 -+-*************** -+-*** 2251,2257 **** -+- ;; -+- -+- irix) -+-! major=`expr $current - $age + 1` -+- verstring="sgi$major.$revision" -+- -+- # Add in all the interfaces that we are compatible with. -+---- 2251,2257 ---- -+- ;; -+- -+- irix) -+-! major=`expr $current - $age` -+- verstring="sgi$major.$revision" -+- -+- # Add in all the interfaces that we are compatible with. -++diff -ur misc/freetype-2.0.5/builds/compiler/visualc.mk misc/build/freetype-2.0.5/builds/compiler/visualc.mk -++--- misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:47:57 2001 -+++++ misc/build/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:49:17 2001 -++@@ -63,7 +63,7 @@ -++ # ANSI compliance. -++ # -++ ifndef CFLAGS -++- CFLAGS := /nologo /c /Ox /G5 /W3 /WX -+++ CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS -++ endif -++ -++ # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant. -++diff -ur misc/freetype-2.0.5/builds/unix/ltmain.sh misc/build/freetype-2.0.5/builds/unix/ltmain.sh -++--- misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:47:56 2001 -+++++ misc/build/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:49:17 2001 -++@@ -631,7 +631,7 @@ -++ if test "$build_old_libs" = yes; then -++ if test "$pic_mode" != yes; then -++ # Don't build PIC code -++- command="$base_compile $srcfile" -+++ command="$base_compile $srcfile -DPIC $pic_flag" -++ else -++ # All platforms use -DPIC, to notify preprocessed assembler code. -++ command="$base_compile $srcfile $pic_flag -DPIC" -++diff -ur misc/freetype-2.0.5/include/freetype/config/ftmodule.h misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h -++--- misc/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:47:57 2001 -+++++ misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:49:17 2001 -++@@ -1,7 +1,9 @@ -++ FT_USE_MODULE(autohint_module_class) -++ FT_USE_MODULE(cff_driver_class) -++ FT_USE_MODULE(t1cid_driver_class) -+++/* -++ FT_USE_MODULE(pcf_driver_class) -+++*/ -++ FT_USE_MODULE(psaux_module_class) -++ FT_USE_MODULE(psnames_module_class) -++ FT_USE_MODULE(ft_raster1_renderer_class) -++@@ -9,4 +11,6 @@ -++ FT_USE_MODULE(ft_smooth_renderer_class) -++ FT_USE_MODULE(tt_driver_class) -++ FT_USE_MODULE(t1_driver_class) -+++/* -++ FT_USE_MODULE(winfnt_driver_class) -+++*/ -++diff -ur misc/freetype-2.0.5/include/freetype/config/ftoption.h misc/build/freetype-2.0.5/include/freetype/config/ftoption.h -++--- misc/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:47:57 2001 -+++++ misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:51:15 2001 -++@@ -70,7 +70,10 @@ -++ /* All convenience functions are declared as such in their */ -++ /* documentation. */ -++ /* */ -+++/* -++ #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS -+++*/ -+++#define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS -++ -++ -++ /*************************************************************************/ -++@@ -108,8 +111,10 @@ -++ /* use a vector `plotter' format that isn't supported when this */ -++ /* macro is undefined. */ -++ /* */ -+++/* -++ #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS -++- -+++*/ -+++#undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS -++ -++ /*************************************************************************/ -++ /* */ -++@@ -338,7 +343,7 @@ -++ /* By undefining this, you will only compile the code necessary to load */ -++ /* TrueType glyphs without hinting. */ -++ /* */ -++-#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER -+++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER -++ -++ -++ /*************************************************************************/ diff --git a/editors/openoffice.org-1.1-devel/files/optpatch-vcl+util+makefile.pmk b/editors/openoffice.org-1.1-devel/files/optpatch-vcl+util+makefile.pmk deleted file mode 100644 index 41341ff0b4e8..000000000000 --- a/editors/openoffice.org-1.1-devel/files/optpatch-vcl+util+makefile.pmk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../vcl/util/makefile.pmk.orig Mon Aug 5 01:39:41 2002 -+++ ../vcl/util/makefile.pmk Mon Aug 5 01:40:03 2002 -@@ -64,7 +64,7 @@ - PROJECTPCHSOURCE=$(PRJ)$/util$/vclpch - PDBTARGET=vcl - --.IF "$(OS)" != "MACOSX" -+.IF "$(OS)" != "MACOSX" && "$(OS)" != "FREEBSD" - .IF "$(remote)" != "" - USE_BUILTIN_RASTERIZER=true - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch deleted file mode 100644 index 2ccda4a44982..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ../berkeleydb/db-3.2.9.patch.orig Wed Mar 12 08:23:51 2003 -+++ ../berkeleydb/db-3.2.9.patch Wed Mar 12 08:23:59 2003 -@@ -4,7 +4,7 @@ - case "$host_os" in - solaris*) JINCSUBDIRS="solaris";; - linux*) JINCSUBDIRS="linux genunix";; --+ freebsd*) JINCSUBDIRS="freebsd genunix";; -++ freebsd*) JINCSUBDIRS="linux bsd freebsd genunix";; - *) JINCSUBDIRS="genunix";; - esac - diff --git a/editors/openoffice.org-1.1-devel/files/patch-bridges+prj+build.lst b/editors/openoffice.org-1.1-devel/files/patch-bridges+prj+build.lst deleted file mode 100644 index fee3d847c5e6..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-bridges+prj+build.lst +++ /dev/null @@ -1,11 +0,0 @@ ---- ../bridges/prj/build.lst.orig Tue Oct 30 17:28:35 2001 -+++ ../bridges/prj/build.lst Fri Oct 18 22:13:04 2002 -@@ -13,5 +13,8 @@ - br bridges\source\cpp_uno\cc50_solaris_sparc nmake - u br_cc50sols br_unotypes NULL - br bridges\source\cpp_uno\cc50_solaris_intel nmake - u br_cc50soli br_unotypes NULL - br bridges\source\cpp_uno\gcc2_solaris_sparc nmake - u br_gccsols br_unotypes NULL -+br bridges\source\cpp_uno\gcc2_freebsd_intel nmake - u br_gccfi br_unotypes NULL -+br bridges\source\cpp_uno\gcc2_freebsd_intel-sjlj nmake - u br_gccfi br_unotypes NULL -+br bridges\source\cpp_uno\gcc3_freebsd_intel nmake - u br_gcc3fi br_unotypes NULL - br bridges\source\prot_uno nmake - all br_pruno br_unotypes NULL - br bridges\source\java_uno nmake - all br_java_uno br_rcon NULL diff --git a/editors/openoffice.org-1.1-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel b/editors/openoffice.org-1.1-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel deleted file mode 100644 index de1bf4336254..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel +++ /dev/null @@ -1,131 +0,0 @@ ---- ../bridges/source/cpp_uno/gcc3_freebsd_intel.orig/except.cxx Tue Mar 11 18:14:16 2003 -+++ ../bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx Tue Mar 11 18:15:40 2003 -@@ -253,6 +253,13 @@ - //================================================================================================== - void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) - { -+#if defined DEBUG -+ OString cstr( -+ OUStringToOString( -+ *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), -+ RTL_TEXTENCODING_ASCII_US ) ); -+ fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); -+#endif - void * pCppExc; - type_info * rtti; - -@@ -262,7 +269,12 @@ - TYPELIB_DANGER_GET( &pTypeDescr, pUnoExc->pType ); - OSL_ASSERT( pTypeDescr ); - if (! pTypeDescr) -- terminate(); -+ { -+ throw RuntimeException( -+ OUString( RTL_CONSTASCII_USTRINGPARAM("cannot get typedescription for type ") ) + -+ *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), -+ Reference< XInterface >() ); -+ } - - pCppExc = __cxa_allocate_exception( pTypeDescr->nSize ); - ::uno_copyAndConvertData( pCppExc, pUnoExc->pData, pTypeDescr, pUno2Cpp ); -@@ -288,29 +300,59 @@ - TYPELIB_DANGER_RELEASE( pTypeDescr ); - OSL_ENSURE( rtti, "### no rtti for throwing exception!" ); - if (! rtti) -- terminate(); -+ { -+ throw RuntimeException( -+ OUString( RTL_CONSTASCII_USTRINGPARAM("no rtti for type ") ) + -+ *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), -+ Reference< XInterface >() ); -+ } - } - - __cxa_throw( pCppExc, rtti, deleteException ); - } - - //================================================================================================== --void fillUnoException( __cxa_exception * header, uno_Any * pExc, uno_Mapping * pCpp2Uno ) -+void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping * pCpp2Uno ) - { -- OSL_ENSURE( header, "### no exception header!!!" ); - if (! header) -- terminate(); -+ { -+ RuntimeException aRE( -+ OUString( RTL_CONSTASCII_USTRINGPARAM("no exception header!") ), -+ Reference< XInterface >() ); -+ Type const & rType = ::getCppuType( &aRE ); -+ uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno ); -+#if defined _DEBUG -+ OString cstr( OUStringToOString( aRE.Message, RTL_TEXTENCODING_ASCII_US ) ); -+ OSL_ENSURE( 0, cstr.getStr() ); -+#endif -+ return; -+ } - - typelib_TypeDescription * pExcTypeDescr = 0; - OUString unoName( toUNOname( header->exceptionType->name() ) ); -- ::typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); -- OSL_ENSURE( pExcTypeDescr, "### can not get type description for exception!!!" ); -- if (! pExcTypeDescr) -- terminate(); -- -- // construct uno exception any -- ::uno_any_constructAndConvert( pExc, header->adjustedPtr, pExcTypeDescr, pCpp2Uno ); -- ::typelib_typedescription_release( pExcTypeDescr ); -+#if defined DEBUG -+ OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); -+ fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); -+#endif -+ typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); -+ if (0 == pExcTypeDescr) -+ { -+ RuntimeException aRE( -+ OUString( RTL_CONSTASCII_USTRINGPARAM("exception type not found: ") ) + unoName, -+ Reference< XInterface >() ); -+ Type const & rType = ::getCppuType( &aRE ); -+ uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno ); -+#if defined _DEBUG -+ OString cstr( OUStringToOString( aRE.Message, RTL_TEXTENCODING_ASCII_US ) ); -+ OSL_ENSURE( 0, cstr.getStr() ); -+#endif -+ } -+ else -+ { -+ // construct uno exception any -+ uno_any_constructAndConvert( pUnoExc, header->adjustedPtr, pExcTypeDescr, pCpp2Uno ); -+ typelib_typedescription_release( pExcTypeDescr ); -+ } - } - - } ---- ../bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx.orig Thu Mar 27 22:05:43 2003 -+++ ../bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx Thu Mar 27 22:08:18 2003 -@@ -97,7 +97,9 @@ - if (! pThis) dummy_can_throw_anything("xxx"); // address something - - volatile long edx = 0, eax = 0; // for register returns -+ void * stackptr; - asm volatile ( -+ "mov %%esp, %6\n\t" - // copy values - "mov %0, %%eax\n\t" - "mov %%eax, %%edx\n\t" -@@ -121,13 +123,11 @@ - "mov %%eax, %4\n\t" - "mov %%edx, %5\n\t" - // cleanup stack -- "mov %0, %%eax\n\t" -- "shl $2, %%eax\n\t" -- "add %%eax, %%esp\n\t" -+ "mov %6, %%esp\n\t" - : -- : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), "m"(eax), "m"(edx) -+ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), -+ "m"(eax), "m"(edx), "m"(stackptr) - : "eax", "edx" ); -- - switch( eReturnType ) - { - case typelib_TypeClass_HYPER: diff --git a/editors/openoffice.org-1.1-devel/files/patch-bridges+source+jni_uno+jni_uno2java.cxx b/editors/openoffice.org-1.1-devel/files/patch-bridges+source+jni_uno+jni_uno2java.cxx deleted file mode 100644 index 4622b7fe21c4..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-bridges+source+jni_uno+jni_uno2java.cxx +++ /dev/null @@ -1,12 +0,0 @@ ---- ../bridges/source/jni_uno/jni_uno2java.cxx.orig Tue Mar 11 12:35:07 2003 -+++ ../bridges/source/jni_uno/jni_uno2java.cxx Tue Mar 11 12:35:29 2003 -@@ -62,7 +62,9 @@ - #if defined _MSC_VER - #include <malloc.h> - #else -+#if !defined( FREEBSD) - #include <alloca.h> -+#endif - #endif - - #include "rtl/ustrbuf.hxx" diff --git a/editors/openoffice.org-1.1-devel/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice.org-1.1-devel/files/patch-codemaker+source+codemaker+global.cxx deleted file mode 100644 index 057d4ec4d670..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-codemaker+source+codemaker+global.cxx +++ /dev/null @@ -1,14 +0,0 @@ ---- ../codemaker/source/codemaker/global.cxx.orig Fri Apr 4 00:14:50 2003 -+++ ../codemaker/source/codemaker/global.cxx Fri Apr 4 00:14:53 2003 -@@ -164,11 +164,7 @@ - strncat(tmpPattern, "/", sizeof(tmpPattern)-1-strlen(tmpPattern)); - strncat(tmpPattern, pPrefix, sizeof(tmpPattern)-1-strlen(tmpPattern)); - strncat(tmpPattern, "XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); --#if defined(FREEBSD) || defined(MACOSX) -- pTmpName = mkstemp(tmpPattern); --#else - pTmpName = mktemp(tmpPattern); --#endif - #endif - - return OString(pTmpName); diff --git a/editors/openoffice.org-1.1-devel/files/patch-comphelper+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-comphelper+util+makefile.mk deleted file mode 100644 index f2d3092c2ddf..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-comphelper+util+makefile.mk +++ /dev/null @@ -1,15 +0,0 @@ ---- ../comphelper/util/makefile.mk.orig Fri Feb 14 15:40:49 2003 -+++ ../comphelper/util/makefile.mk Wed Mar 5 20:43:02 2003 -@@ -86,10 +86,10 @@ - - SHL1TARGET=$(COMPHLP_TARGET)$(COMPHLP_MAJOR)$(COMID) - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ -- $(VOSLIB) \ -- $(SALLIB) -+ $(VOSLIB) - - SHL1DEPN= - SHL1IMPLIB= i$(COMPHLP_TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in b/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in deleted file mode 100644 index e883fc540de6..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in +++ /dev/null @@ -1,32 +0,0 @@ ---- configure.in.orig Thu Feb 20 15:49:32 2003 -+++ configure.in Wed Mar 5 21:22:34 2003 -@@ -556,8 +562,19 @@ - fi - - dnl =================================================================== --dnl Set the gxx include directories -+dnl Set the gcc/gxx include directories - dnl =================================================================== -+if test "$_os" = "FreeBSD" && test "$CC" != "cc"; then -+if test "$GXX" = "yes"; then -+ if test -n "$enable_gcc3"; then -+ _gccincname1="g++-v3" -+ else -+ _gccincname1="g++-3" -+ fi -+ _gcc_include_path=".." -+ _gxx_include_path="$_gcc_include_path/$_gccincname1" -+fi -+else - if test "$GXX" = "yes"; then - _gxx_include_path=`echo "#include <cstring>" | $CXX -E -xc++ - | $SED -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -1` - if test "$_gxx_include_path" = "/usr/libexec/(null)/include"; then -@@ -566,7 +583,7 @@ - dnl This is the original code... - dnl _gxx_include_path=`$CXX -print-search-dirs | grep instal |$AWK '{ print \$2 }'`/include - fi -- -+fi - - dnl =================================================================== - dnl Extra checking for the SUN OS compiler diff --git a/editors/openoffice.org-1.1-devel/files/patch-config_office+set_soenv.in b/editors/openoffice.org-1.1-devel/files/patch-config_office+set_soenv.in deleted file mode 100644 index f4abdf5b07c5..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-config_office+set_soenv.in +++ /dev/null @@ -1,97 +0,0 @@ ---- set_soenv.in.orig Fri Mar 28 12:02:25 2003 -+++ set_soenv.in Fri Apr 4 10:36:54 2003 -@@ -52,7 +52,7 @@ - #------------------------------------------------- - # - # Platform independent constant values. --my @LANGUAGES = ("ARAB", "CHINSIM", "CHINTRAD", "DAN", "DTCH", "ENUS", "FREN", "GREEK", "ITAL", -+my @LANGUAGES = ("ARAB", "CHINSIM", "CHINTRAD", "DAN", "DTCH", "ENUS", "FREN", "GREEK", "ITAL", "GER", - "JAPN", "KOREAN", "POL", "PORT", "RUSS", "SPAN", "SWED", "TURK" ); - my ( $CALL_CDECL, $COMMON_OUTDIR, $NO_SRS_PATCH, $PRODUCT, $PROFULLSWITCH, $BIG_GOODIES, $BMP_WRITES_FLAG, - $common_build, $MK_UNROLL, $NO_REC_RES, $PROEXT, $SO3, $SOLAR_JAVA, -@@ -338,7 +338,7 @@ - $PTHREAD_LIBS = '@PTHREAD_LIBS@'; - $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386"; - $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client"; -- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."green_threads"; -+ $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads"; - } - elsif ( $platform eq "$Linux" ) - { -@@ -888,7 +888,8 @@ - $ps.$JRETHREADDIR. - $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB; - } --elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") || ($platform eq "$Tru64")) -+elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") -+|| ($platform eq "$Tru64") || ($platform eq "$FreeBSD")) - { $LD_LIBRARY_PATH = $cur_dir. - $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB. - $ps.$JRELIBDIR. -@@ -899,16 +900,6 @@ - $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB. - $ps.$ENV{'LD_LIBRARY_PATH'}; - } --elsif ($platform eq "$FreeBSD") --{ $LD_LIBRARY_PATH = $cur_dir. -- $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB. -- $ps.$JRELIBDIR. -- $ps.$JRETOOLKITDIR. -- $ps.$JRETHREADDIR. -- $ps.$par_dir.$LIB. -- $ps_STLPORT_LIB. -- $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB; --} - elsif ($platform eq "$Irix" || $platform eq "$Irix64") - { $LD_LIBRARY_PATH = $cur_dir. - $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB. -@@ -1183,7 +1174,7 @@ - $L_STLPORT_LIB. - $L.$XLIB; - } --elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64")) -+elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64") || ($platform eq "$FreeBSD")) - { $SOLARLIB = $L.$par_dir.$LIB. - $L.'$SOLARENV'.$ds.'$OUTPATH'.$LIB. - $L.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB. -@@ -1195,15 +1186,6 @@ - $L_STLPORT_LIB. - $L.$XLIB; - } --elsif ($platform eq "$FreeBSD") --{ $SOLARLIB = $L.$par_dir.$LIB. -- $L.'$SOLARENV'.$ds.'$OUTPATH'.$LIB. -- $L.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB. -- $L.'$SOLARENV'.$ds.'$OUTPATH'.$LIB. -- $L.'$JAVA_HOME'.$LIB. -- $L_STLPORT_LIB. -- $L.$XLIB; --} - elsif ($platform eq "$Winnt") - { $SOLARLIB = $L.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB. - $L.$par_dir.$LIB. -@@ -1264,7 +1246,9 @@ - { $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."linux"; - } - elsif ($platform eq "$FreeBSD") --{ $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."freebsd"; -+{ -+ $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."freebsd"; -+ $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."bsd"; - } - elsif ($platform eq "$NetBSD") - { $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."netbsd"; -@@ -1275,12 +1259,7 @@ - - #java threads include path - --if ($platform eq "$FreeBSD") --{ $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."green_threads".$ds."include"; --} --else --{ $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."native_threads".$ds."include"; --} -+ $SOLARINC .=$I.'$JAVA_HOME'.$INCLUDE.$ds."native_threads".$ds."include"; - - #The tail, if needed - if (($platform eq "$Linux") or ($platform eq "$FreeBSD") or ($platform eq "$NetBSD")) diff --git a/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozab+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozab+makefile.mk deleted file mode 100644 index 2b83f2cd2ec7..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozab+makefile.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../connectivity/source/drivers/mozab/makefile.mk.orig Wed Oct 30 20:59:21 2002 -+++ ../connectivity/source/drivers/mozab/makefile.mk Wed Oct 30 20:59:31 2002 -@@ -115,9 +115,7 @@ - # --- MOZAB BASE Library ----------------------------------- - - SHL1VERSIONMAP= $(TARGET).map --.IF "$(OS)"!="FREEBSD" - SHL1TARGET= $(TARGET)$(MOZAB_MAJOR) --.ENDIF - SHL1OBJS=$(SLOFILES) - SHL1STDLIBS=\ - $(CPPULIB) \ diff --git a/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozab+mozillasrc+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozab+mozillasrc+makefile.mk deleted file mode 100644 index 3601766ee561..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozab+mozillasrc+makefile.mk +++ /dev/null @@ -1,54 +0,0 @@ ---- ../connectivity/source/drivers/mozab/mozillasrc/makefile.mk.orig Tue Mar 19 12:56:24 2002 -+++ ../connectivity/source/drivers/mozab/mozillasrc/makefile.mk Sat May 18 15:51:13 2002 -@@ -64,8 +64,8 @@ - #mozilla specific stuff. - MOZ_LIB=$(SOLARVERSION)$/$(INPATH)$/lib$(UPDMINOREXT) - MOZ_INC=$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla --#MOZ_LIB=$(PRJ)$/$(INPATH)$/lib --#MOZ_INC=$(PRJ)$/$(INPATH)$/inc$/mozilla -+#MOZ_LIB=$(PRJ)$/..$/moz$/$(INPATH)$/lib -+#MOZ_INC=$(PRJ)$/..$/moz$/$(INPATH)$/inc$/mozilla - #End of mozilla specific stuff. - - PRJ=..$/..$/..$/.. -@@ -107,7 +107,7 @@ - -I$(MOZ_INC)$/addrbook -I$(MOZ_INC)$/mork -I$(MOZ_INC)$/locale \ - -I$(MOZ_INC)$/pref -I$(MOZ_INC)$/mime -I$(MOZ_INC)$/chrome \ - -I$(MOZ_INC)$/necko -I$(MOZ_INC)$/intl -I$(MOZ_INC)$/profile \ -- -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -+ -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -I$(MOZ_INC)$/ldap-nspr - CDEFS += -DWINVER=0x400 -DMOZILLA_CLIENT \ - -DNS_NET_FILE -DCookieManagement -DSingleSignon -DClientWallet \ - -DTRACING -DXP_PC -DXP_WIN -DXP_WIN32 -DHW_THREADS \ -@@ -123,7 +123,7 @@ - -I$(MOZ_INC)$/addrbook -I$(MOZ_INC)$/mork -I$(MOZ_INC)$/locale \ - -I$(MOZ_INC)$/pref -I$(MOZ_INC)$/mime -I$(MOZ_INC)$/chrome \ - -I$(MOZ_INC)$/necko -I$(MOZ_INC)$/intl -I$(MOZ_INC)$/profile \ -- -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -+ -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -I$(MOZ_INC)$/ldap-nspr - CDEFS += -DDEBUG -DWINVER=0x400 -DMOZILLA_CLIENT \ - -DNS_NET_FILE -DCookieManagement -DSingleSignon -DClientWallet \ - -DTRACING -DXP_PC -DXP_WIN -DXP_WIN32 -DHW_THREADS \ -@@ -141,7 +141,7 @@ - -I$(MOZ_INC)$/addrbook -I$(MOZ_INC)$/mork -I$(MOZ_INC)$/locale \ - -I$(MOZ_INC)$/pref -I$(MOZ_INC)$/mime -I$(MOZ_INC)$/chrome \ - -I$(MOZ_INC)$/necko -I$(MOZ_INC)$/intl -I$(MOZ_INC)$/profile \ -- -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -+ -I$(MOZ_INC)$/embed_base -I$(MOZ_INC)$/mozldap -I$(MOZ_INC)$/ldap-nspr - CDEFS+= -DMOZILLA_CLIENT \ - -DOSTYPE=\"Linux2.2.14-5\" -DOJI - .IF "$(OS)" == "LINUX" -@@ -157,6 +157,13 @@ - -fno-rtti -Wall -Wconversion -Wpointer-arith \ - -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth \ - -Wno-long-long -+CDEFS += -DTRACING -+.ELIF "$(OS)" == "FREEBSD" -+CFLAGS += -fPIC -+CFLAGSCXX += \ -+ -fno-rtti -Wall -Wconversion -Wpointer-arith \ -+ -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth \ -+ -Wno-long-long -pthread - CDEFS += -DTRACING - .ENDIF - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozaddressbook+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozaddressbook+makefile.mk deleted file mode 100644 index b63d2a25f184..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-connectivity+source+drivers+mozaddressbook+makefile.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../connectivity/source/drivers/mozaddressbook/makefile.mk.orig Wed Jun 12 01:40:36 2002 -+++ ../connectivity/source/drivers/mozaddressbook/makefile.mk Wed Jun 12 01:40:37 2002 -@@ -134,9 +134,7 @@ - SLOFILES+=$(SLO)$/staticmbmozab.obj - .ENDIF - --.IF "$(OS)"!="FREEBSD" - SHL1VERSIONMAP= $(TARGET).map --.ENDIF - # --- Library ----------------------------------- - - SHL1TARGET=$(TARGET)$(UPD)$(DLLPOSTFIX) diff --git a/editors/openoffice.org-1.1-devel/files/patch-cppu+inc+uno+lbnames.h b/editors/openoffice.org-1.1-devel/files/patch-cppu+inc+uno+lbnames.h deleted file mode 100644 index cb43c2d165e9..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-cppu+inc+uno+lbnames.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ../cppu/inc/uno/lbnames.h.orig Fri May 31 00:06:58 2002 -+++ ../cppu/inc/uno/lbnames.h Fri May 31 00:07:22 2002 -@@ -94,7 +94,7 @@ - #define __CPPU_ENV gcc2 - #elif (__GNUC__ == 2) - #error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version." --#elif (__GNUC__ == 3 && __GNUC_MINOR__ == 0) -+#elif (__GNUC__ == 3 && (__GNUC_MINOR__ == 0 || __GNUC_MINOR__ == 1 || __GNUC_MINOR__ == 2)) - #define __CPPU_ENV gcc3 - #elif (__GNUC__ == 3) - #error "Tested gcc 3 version is 3.0. Patch uno/lbnames.h to try your gcc 3 version." diff --git a/editors/openoffice.org-1.1-devel/files/patch-cppu+prj+build.lst b/editors/openoffice.org-1.1-devel/files/patch-cppu+prj+build.lst deleted file mode 100644 index 78fd210a1193..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-cppu+prj+build.lst +++ /dev/null @@ -1,8 +0,0 @@ ---- ../cppu/prj/build.lst.orig Mon Mar 11 14:13:47 2002 -+++ ../cppu/prj/build.lst Mon Mar 11 14:14:30 2002 -@@ -1,4 +1,4 @@ --cu cppu : codemaker udkapi NULL -+cu cppu : codemaker udkapi offuh NULL - cu cppu usr1 - all cu_mkout NULL - cu cppu\source nmake - all cu_source NULL - cu cppu\source\uno nmake - all cu_uno cu_source NULL diff --git a/editors/openoffice.org-1.1-devel/files/patch-cppuhelper+source+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-cppuhelper+source+makefile.mk deleted file mode 100644 index 5fb5bd636eb1..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-cppuhelper+source+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../cppuhelper/source/makefile.mk.orig Thu Feb 20 17:04:36 2003 -+++ ../cppuhelper/source/makefile.mk Wed Mar 5 20:32:03 2003 -@@ -194,9 +194,9 @@ - .ELIF "$(OS)$(CPU)$(COMNAME)"=="LINUXIgcc3" - SHL1VERSIONMAP=gcc3_linux_intel.map - .ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc2" --#SHL1VERSIONMAP=gcc2_freebsd_intel.map -+SHL1VERSIONMAP=gcc2_linux_intel.map - .ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc3" --#SHL1VERSIONMAP=gcc3_freebsd_intel.map -+SHL1VERSIONMAP=gcc3_linux_intel.map - .ENDIF - - # --- Targets ------------------------------------------------------ diff --git a/editors/openoffice.org-1.1-devel/files/patch-desktop+source+app+app.cxx b/editors/openoffice.org-1.1-devel/files/patch-desktop+source+app+app.cxx deleted file mode 100644 index 4e82d5277384..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-desktop+source+app+app.cxx +++ /dev/null @@ -1,22 +0,0 @@ ---- ../desktop/source/app/app.cxx.orig Sun Mar 30 22:26:15 2003 -+++ ../desktop/source/app/app.cxx Sun Mar 30 22:27:02 2003 -@@ -587,7 +587,8 @@ - ::comphelper::setProcessServiceFactory( NULL ); - - // clear lockfile -- m_pLockfile->clean(); -+ if (m_pLockfile != NULL) -+ m_pLockfile->clean(); - - if( !Application::IsRemoteServer() ) - { -@@ -621,7 +622,8 @@ - a <<= (sal_Bool)sal_False; - xPropertySet->setPropertyValue( OUSTRING(RTL_CONSTASCII_USTRINGPARAM( SUSPEND_QUICKSTARTVETO )), a ); - } else { -- m_pLockfile->clean(); -+ if (m_pLockfile != NULL) -+ m_pLockfile->clean(); - } - - return bExit; diff --git a/editors/openoffice.org-1.1-devel/files/patch-desktop+source+pkgchk+pkgchk_misc.h b/editors/openoffice.org-1.1-devel/files/patch-desktop+source+pkgchk+pkgchk_misc.h deleted file mode 100644 index 391667b66ebd..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-desktop+source+pkgchk+pkgchk_misc.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ../desktop/source/pkgchk/pkgchk_misc.h.orig Wed Mar 5 20:51:46 2003 -+++ ../desktop/source/pkgchk/pkgchk_misc.h Wed Mar 5 20:52:45 2003 -@@ -208,6 +208,8 @@ - #define THIS_PLATFORM_PATH "/macosx_powerpc.plt" - #elif defined (NETBSD) && defined (SPARC) - #define THIS_PLATFORM_PATH "/netbsd_sparc.plt" -+#elif defined (FREEBSD) && defined (INTEL) -+#define THIS_PLATFORM_PATH "/freebsd_x86.plt" - #else - #error "unknown platform" - insert your platform identifier above; inserted for the case the preprocessor ignores error diff --git a/editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk deleted file mode 100644 index 025d644a8077..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk +++ /dev/null @@ -1,20 +0,0 @@ ---- ../desktop/util/makefile.mk.orig Fri Feb 14 14:43:59 2003 -+++ ../desktop/util/makefile.mk Wed Mar 5 20:54:04 2003 -@@ -102,7 +102,7 @@ - - # --- Linken der Applikation --------------------------------------- - --.IF "$(OS)" == "LINUX" -+.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD" - # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first, - # winXX is handled like solaris for now - APP1_STDPRE= -@@ -139,7 +139,7 @@ - .ENDIF - - .IF "$(GUI)" == "UNX" --.IF "$(OS)" == "LINUX" -+.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD" - APP1STDLIBS+= -lXext -lSM -lICE - .ENDIF - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-dtrans+source+X11+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-dtrans+source+X11+makefile.mk deleted file mode 100644 index 5881f5d7f6a5..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-dtrans+source+X11+makefile.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../dtrans/source/X11/makefile.mk.orig Tue Dec 11 18:48:36 2001 -+++ ../dtrans/source/X11/makefile.mk Wed Apr 3 00:31:56 2002 -@@ -116,7 +116,8 @@ - APP1STDLIBS=\ - $(CPPULIB) \ - $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(SALLIB) \ -+ -lX11 - - .ENDIF # "$(OS)"=="MACOSX" - diff --git a/editors/openoffice.org-1.1-devel/files/patch-eventattacher+source+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-eventattacher+source+makefile.mk deleted file mode 100644 index 4552698eb132..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-eventattacher+source+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../eventattacher/source/makefile.mk.orig Tue Oct 1 09:45:21 2002 -+++ ../eventattacher/source/makefile.mk Wed Mar 5 21:06:11 2003 -@@ -104,9 +104,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1IMPLIB= i$(TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-external+gcc3_specific+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-external+gcc3_specific+makefile.mk deleted file mode 100644 index 6b8071f4030e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-external+gcc3_specific+makefile.mk +++ /dev/null @@ -1,18 +0,0 @@ ---- ../external/gcc3_specific/makefile.mk.orig Wed Mar 5 23:01:32 2003 -+++ ../external/gcc3_specific/makefile.mk Wed Mar 5 23:01:59 2003 -@@ -10,6 +10,7 @@ - .IF "$(COMID)"=="gcc3" - - .IF "$(OS)"!="MACOSX" -+.IF "$(OS)"!="FREEBSD" - - - all : $(SOLARLIBDIR)$/libstdc++.so.$(LIBSTDCPP3) $(SOLARLIBDIR)$/libgcc_s.so.1 $(SOLARLIBDIR)$/libstdc++.so.$(SHORTSTDCPP3) $(SOLARLIBDIR)$/libgcc_s.so -@@ -29,6 +30,7 @@ - -rm -f $@ - +ln -s libgcc_s.so.1 $@ - -+.ENDIF - .ENDIF - - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-freetype+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-freetype+makefile.mk deleted file mode 100644 index 3e5a8dd19f18..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-freetype+makefile.mk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../freetype/makefile.mk.orig Tue Mar 11 14:13:25 2003 -+++ ../freetype/makefile.mk Tue Mar 11 14:13:27 2003 -@@ -100,7 +100,7 @@ - .IF "$(OS)"=="MACOSX" - OUT2LIB+=objs$/.libs$/libfreetype.*.dylib - .ELIF "$(OS)"=="FREEBSD" --OUT2LIB+=objs$/.libs$/libfreetype.so.7* -+OUT2LIB+=objs$/.libs$/libfreetype.so.9* - .ELSE - OUT2LIB+=objs$/.libs$/libfreetype.so.6* - .ENDIF # "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD" diff --git a/editors/openoffice.org-1.1-devel/files/patch-instsetoo+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-instsetoo+util+makefile.mk deleted file mode 100644 index 48f019d5484b..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-instsetoo+util+makefile.mk +++ /dev/null @@ -1,13 +0,0 @@ ---- ../instsetoo/util/makefile.mk.orig Sat Apr 12 15:24:45 2003 -+++ ../instsetoo/util/makefile.mk Sat Apr 12 15:24:55 2003 -@@ -87,9 +87,7 @@ - - .IF "$(alllangext)"!="" - --#pack: $(foreach,i,$(alllangext) pack_$i) --#temp mh only 49 and 01 for the moment --pack: pack_01 pack_49 -+pack: $(foreach,i,$(alllangext) pack_$i) - - pack_%: - +-$(MKDIRHIER) $(INSTALLDIR)$/$(@:s/pack_//)$/normal diff --git a/editors/openoffice.org-1.1-devel/files/patch-instsetoo+util+openoffice.lst b/editors/openoffice.org-1.1-devel/files/patch-instsetoo+util+openoffice.lst deleted file mode 100644 index 633d22570428..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-instsetoo+util+openoffice.lst +++ /dev/null @@ -1,10 +0,0 @@ ---- ../instsetoo/util/openoffice.lst.orig Sat Feb 1 00:38:02 2003 -+++ ../instsetoo/util/openoffice.lst Thu Apr 17 22:55:06 2003 -@@ -9,6 +9,6 @@ - active 1 - compression 5 - script setup_osl -- include .,{solarpath}/bin.{minor}/osl,{solarpath}/bin.{minor},{solarpath}/lib.{minor},{solarpath}/bin.{minor}/$(LANG),{solarpath}/bin.{minor}/$(LANG)/osl,{solarpath}/bin.{minor}/01/,{solarpath}/pck.{minor}/openoffice,{solarpath}/pck.{minor},{solarpath}/xml.{minor}/office/instance,{solarpath}/xml.{minor},{solarcommonpath}/bin.{minor},{solarcommonpath}/bin.{minor}/$(LANG),{solarpath}/bin.{minor}/$(LANG)/osl,{solarcommonpath}/bin.{minor}/$(LANG)/fat,{solarcommonpath}/bin.{minor}/01/,{solarcommonpath}/pck.{minor}/openoffice,{solarcommonpath}/pck.{minor},{solarcommonpath}/xml.{minor}/office/instance,{solarcommonpath}/xml,../../external/common,. -+ include .,{solarpath}/bin.{minor}/osl,{solarpath}/bin.{minor},{solarpath}/lib.{minor},{solarpath}/bin.{minor}/$(LANG),{solarpath}/bin.{minor}/$(LANG)/osl,{solarpath}/pck.{minor}/openoffice,{solarpath}/pck.{minor},{solarpath}/xml.{minor}/office/instance,{solarpath}/xml.{minor},{solarcommonpath}/bin.{minor},{solarcommonpath}/bin.{minor}/$(LANG),{solarcommonpath}/bin.{minor}/$(LANG)/osl,{solarcommonpath}/bin.{minor}/$(LANG)/fat,{solarpath}/bin.{minor}/01/,{solarpath}/bin.{minor}/01/osl/,{solarcommonpath}/bin.{minor}/01/,{solarcommonpath}/pck.{minor}/openoffice,{solarcommonpath}/pck.{minor},{solarcommonpath}/xml.{minor}/office/instance,{solarcommonpath}/xml,../../external/common,. - } - } diff --git a/editors/openoffice.org-1.1-devel/files/patch-javaunohelper+source+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-javaunohelper+source+makefile.mk deleted file mode 100644 index 19f6b86e5ab5..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-javaunohelper+source+makefile.mk +++ /dev/null @@ -1,13 +0,0 @@ ---- ../javaunohelper/source/makefile.mk.orig Thu Feb 20 17:28:43 2003 -+++ ../javaunohelper/source/makefile.mk Wed Mar 5 21:04:09 2003 -@@ -118,9 +118,9 @@ - SHL1TARGET=juhx - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(JVMACCESSLIB) \ - $(SALHELPERLIB) \ -- $(SALLIB) \ - $(CPPULIB) \ - $(CPPUHELPERLIB) - diff --git a/editors/openoffice.org-1.1-devel/files/patch-jni_uno+jni_java2uno.cxx b/editors/openoffice.org-1.1-devel/files/patch-jni_uno+jni_java2uno.cxx deleted file mode 100644 index a9ff9e3fed88..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-jni_uno+jni_java2uno.cxx +++ /dev/null @@ -1,12 +0,0 @@ ---- ../bridges/source/jni_uno/jni_java2uno.cxx.orig Tue Mar 11 12:33:06 2003 -+++ ../bridges/source/jni_uno/jni_java2uno.cxx Tue Mar 11 12:34:03 2003 -@@ -62,7 +62,9 @@ - #if defined _MSC_VER - #include <malloc.h> - #else -+#if !defined( FREEBSD) - #include <alloca.h> -+#endif - #endif - - #include "jni_bridge.h" diff --git a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+javainfoimpl.cxx b/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+javainfoimpl.cxx deleted file mode 100644 index e627363cb118..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+javainfoimpl.cxx +++ /dev/null @@ -1,10 +0,0 @@ ---- ../jvmaccess/source/javainfoimpl.cxx.orig Sat Mar 29 23:58:55 2003 -+++ ../jvmaccess/source/javainfoimpl.cxx Sun Mar 30 00:00:47 2003 -@@ -123,6 +123,7 @@ - #define JAVA_DIR_NAMES "j2re1.4.1_01", \ - "j2sdk1.4.1_01", \ - "j2re1.4.1", \ -+ "jdk1.4.1", \ - "j2sdk1.4.1", \ - "j2re1.4.0_02", \ - "j2sdk1.4.0_02", \ diff --git a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx b/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx deleted file mode 100644 index 67e014595219..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx +++ /dev/null @@ -1,50 +0,0 @@ ---- ../jvmaccess/source/sunversion.cxx.orig Sun Mar 30 00:40:02 2003 -+++ ../jvmaccess/source/sunversion.cxx Sun Mar 30 01:31:48 2003 -@@ -102,6 +102,7 @@ - { - //token can be "1", or "2_02" - char* pUnderscore= strpbrk(tok,"_"); -+ char* pLine= strpbrk(tok,"-"); - if( pUnderscore != NULL) - { - // get the value before and after the underscore -@@ -115,6 +116,19 @@ - // now get the part after "_" - m_nMinor= atoi( pUnderscore + 1); - } -+ else if (pLine != NULL) -+ { -+ // get the value before and after the underscore -+ int len= pLine - tok; -+ char* pre= new char[len + 1]; -+ strncpy( pre, tok, len); -+ pre[len]= 0; -+ // convert the value before the "_" into a numeric value -+ arTokens[index]= atoi(pre); -+ delete[] pre; -+ // now get the part after "-" -+ m_nMinor= atoi( pLine + 1); -+ } - else - { - arTokens[index]= atoi(tok); -@@ -172,6 +186,19 @@ - continue; - } - } -+ if(cCur == '-') -+ { -+ //check previous char -+ if(cLast >= 48 && cLast <= 57) -+ { -+ if(cNext == 'p') -+ continue; -+ } -+ } -+ if(cCur == 'p') -+ { -+ continue; -+ } - //If we get here then the current character is not a number (0..9),'.','_' - ret= false; - break; diff --git a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+util+makefile.mk deleted file mode 100644 index b0fac21d2ec9..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+util+makefile.mk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../jvmaccess/util/makefile.mk.orig Wed Mar 12 23:52:25 2003 -+++ ../jvmaccess/util/makefile.mk Wed Mar 12 23:52:50 2003 -@@ -90,6 +90,8 @@ - SHL1VERSIONMAP = cc5_solaris_sparc.map - .ELIF "$(OS)$(CPU)$(COMNAME)" == "LINUXIgcc3" - SHL1VERSIONMAP = gcc3_linux_intel.map -+.ELIF "$(OS)$(CPU)$(COMNAME)" == "FREEBSDIgcc3" -+SHL1VERSIONMAP = gcc3_linux_intel.map - .ENDIF - - DEF1NAME = $(SHL1TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.6.patch b/editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.6.patch deleted file mode 100644 index b6096654ebaf..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.6.patch +++ /dev/null @@ -1,301 +0,0 @@ ---- ../nas/nas-1.6.patch.orig Tue Mar 11 15:04:35 2003 -+++ ../nas/nas-1.6.patch Tue Mar 11 15:29:52 2003 -@@ -69,3 +69,298 @@ - number : NUMBER { $$ = $1; } - ; - -+--- misc/nas-1.6/clients/audio/auctl/auctl.c Tue Mar 11 14:56:14 2003 -++++ misc/build/nas-1.6/clients/audio/auctl/auctl.c Tue Mar 11 15:01:04 2003 -+@@ -23,7 +23,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include "auctl.h" -+ -+ char *ProgramName; -+--- misc/nas-1.6/clients/audio/audemo/audemo.c Tue Mar 11 14:56:14 2003 -++++ misc/build/nas-1.6/clients/audio/audemo/audemo.c Tue Mar 11 15:01:04 2003 -+@@ -32,7 +32,7 @@ -+ #include <stdlib.h> -+ #endif -+ #include <signal.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ -+ #if !defined(SYSV) || defined(WIN32) -+ #include <audio/Aos.h> /* for string and other os stuff */ -+--- misc/nas-1.6/clients/audio/audial/audial.c Tue Mar 11 14:56:14 2003 -++++ misc/build/nas-1.6/clients/audio/audial/audial.c Tue Mar 11 15:01:04 2003 -+@@ -32,7 +32,7 @@ -+ #if !defined(ISC40) && !defined(WIN32) -+ #include <sys/file.h> -+ #endif /* !ISC40 */ -+-#include <malloc.h> -++#include <stdlib.h> -+ -+ #include <audio/Aos.h> /* for string and other os stuff */ -+ #include <audio/Afuncs.h> /* for bcopy et. al. */ -+--- misc/nas-1.6/clients/audio/auedit/auedit.c Tue Mar 11 14:56:14 2003 -++++ misc/build/nas-1.6/clients/audio/auedit/auedit.c Tue Mar 11 15:01:04 2003 -+@@ -37,7 +37,7 @@ -+ #define access _access -+ #define R_OK 4 -+ #endif /* WIN32 */ -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <limits.h> /* for SHRT_MIN and SHRT_MAX */ -+ #ifndef SYSV -+ #include <audio/Aos.h> /* for string and other os -+--- misc/nas-1.6/clients/audio/autool/audiotool.c Tue Mar 11 14:56:16 2003 -++++ misc/build/nas-1.6/clients/audio/autool/audiotool.c Tue Mar 11 15:01:04 2003 -+@@ -28,7 +28,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/audiolib.h> -+ #include <audio/soundlib.h> -+ -+--- misc/nas-1.6/clients/audio/util/soundtoh.c Tue Mar 11 14:56:15 2003 -++++ misc/build/nas-1.6/clients/audio/util/soundtoh.c Tue Mar 11 15:01:04 2003 -+@@ -27,7 +27,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> /* for string and other os stuff */ -+ #include <audio/Afuncs.h> /* for bcopy et. al. */ -+ #include <audio/audiolib.h> -+--- misc/nas-1.6/lib/audio/8svx.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/8svx.c Tue Mar 11 15:01:04 2003 -+@@ -23,7 +23,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> -+ #include <math.h> -+ #include <audio/8svx.h> -+--- misc/nas-1.6/lib/audio/aiff.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/aiff.c Tue Mar 11 15:01:04 2003 -+@@ -23,7 +23,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> -+ #include <math.h> -+ #include <audio/aiff.h> -+--- misc/nas-1.6/lib/audio/fileutil.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/fileutil.c Tue Mar 11 15:01:04 2003 -+@@ -29,7 +29,7 @@ -+ #include <stdio.h> -+ #include <audio/Aos.h> -+ #include <audio/fileutil.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ -+ #if NeedFunctionPrototypes -+ unsigned short FileSwapS (unsigned short us) -+--- misc/nas-1.6/lib/audio/snd.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/snd.c Tue Mar 11 15:01:04 2003 -+@@ -23,7 +23,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> -+ #include <audio/snd.h> -+ #include <audio/fileutil.h> -+--- misc/nas-1.6/lib/audio/sound.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/sound.c Tue Mar 11 15:01:04 2003 -+@@ -29,7 +29,7 @@ -+ #define _SOUND_C_ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> -+ #include <audio/audio.h> -+ #include <audio/sound.h> -+--- misc/nas-1.6/lib/audio/voc.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/voc.c Tue Mar 11 15:01:04 2003 -+@@ -23,7 +23,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> -+ #include <audio/voc.h> -+ #include <audio/fileutil.h> -+--- misc/nas-1.6/lib/audio/wave.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/lib/audio/wave.c Tue Mar 11 15:01:04 2003 -+@@ -27,7 +27,7 @@ -+ */ -+ -+ #include <stdio.h> -+-#include <malloc.h> -++#include <stdlib.h> -+ #include <audio/Aos.h> -+ #include <audio/wave.h> -+ #include <audio/fileutil.h> -+--- misc/nas-1.6/server/os/utils.c Tue Mar 11 14:56:13 2003 -++++ misc/build/nas-1.6/server/os/utils.c Tue Mar 11 15:01:04 2003 -+@@ -454,7 +454,7 @@ -+ } -+ -+ #ifdef CAHILL_MALLOC -+-#include <malloc.h> -++#include <stdlib.h> -+ -+ void * -+ debug_Xalloc (char *file, int line, unsigned long amount) -+--- misc/nas-1.6/clients/audio/audial/audial.c Tue Mar 11 15:19:40 2003 -++++ misc/build/nas-1.6/clients/audio/audial/audial.c Tue Mar 11 15:20:51 2003 -+@@ -84,6 +84,7 @@ -+ */ -+ static void -+ usleep(usecs) -++#if !defined(__FreeBSD__) || (__FreeBSD__ < 3) -+ unsigned int usecs; -+ { -+ double s1; -+@@ -150,6 +151,7 @@ -+ pause(); -+ } -+ -++#endif -+ #endif /* SYSV else not */ -+ #endif /* VMS else not */ -+ #endif /* NEEDUSLEEP */ -+--- misc/nas-1.6/clients/audio/auedit/Graph.c Tue Mar 11 15:19:40 2003 -++++ misc/build/nas-1.6/clients/audio/auedit/Graph.c Tue Mar 11 15:25:21 2003 -+@@ -28,7 +28,7 @@ -+ */ -+ -+ #ifndef WIN32 -+-# ifdef __NetBSD__ -++# if defined(__NetBSD__) || defined(__FreeBSD__) -+ # include <limits.h> -+ # define MAXSHORT SHRT_MAX -+ # define MINSHORT SHRT_MIN -+--- misc/nas-1.6/config/NetAudio.def Tue Mar 11 15:19:40 2003 -++++ misc/build/nas-1.6/config/NetAudio.def Tue Mar 11 15:26:55 2003 -+@@ -8,6 +8,6 @@ -+ -+ XCOMM Directory where NAS will look for it's config file(s) -+ #ifndef NasConfigSearchPath -+-#define NasConfigSearchPath /etc/nas/ -++#define NasConfigSearchPath $(PROJECTROOT)/etc/ -+ #endif -+ -+--- misc/nas-1.6/lib/audio/Imakefile Tue Mar 11 15:19:38 2003 -++++ misc/build/nas-1.6/lib/audio/Imakefile Tue Mar 11 15:26:26 2003 -+@@ -36,6 +36,10 @@ -+ #endif -+ #endif /* ProjectX < 5 */ -+ -++#if HasBSD44Sockets -++ SOCK_DEFINES = -DBSD44SOCKETS -++#endif -++ -+ #ifndef NormalLibAudio -+ #define NormalLibAudio NormalLibX -+ #endif -+@@ -79,7 +83,7 @@ -+ EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\" -+ -+ DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES) -+- CONN_DEFINES = ConnectionFlags -++ CONN_DEFINES = ConnectionFlags $(SOCK_DEFINES) -+ -+ HEADERS = Alibint.h Alibnet.h Xtutil.h audiolib.h audioutil.h snd.h wave.h \ -+ voc.h aiff.h sound.h soundlib.h fileutil.h 8svx.h Astreams.h \ -+--- misc/nas-1.6/server/Imakefile Tue Mar 11 15:19:40 2003 -++++ misc/build/nas-1.6/server/Imakefile Tue Mar 11 15:27:38 2003 -+@@ -105,6 +105,9 @@ -+ # if defined(LinuxArchitecture) -+ RCMANDIR = $(FILEMANDIR) -+ RCMANSUFFIX = 5nas -++# elif defined(FreeBSDArchitecture) -++ RCMANDIR = $(FILEMANDIR) -++ RCMANSUFFIX = $(FILEMANSUFFIX) -+ # else -+ RCMANDIR = $(MANDIR) -+ RCMANSUFFIX = 5x -+--- misc/nas-1.6/server/dda/voxware/auvoxware.c Tue Mar 11 15:19:39 2003 -++++ misc/build/nas-1.6/server/dda/voxware/auvoxware.c Tue Mar 11 15:24:32 2003 -+@@ -133,7 +133,7 @@ -+ -+ #include <stdio.h> -+ #include <stdlib.h> -+-#ifndef SVR4 -++#if !defined(SVR4) && !defined(__FreeBSD__) -+ #include <getopt.h> -+ #endif -+ #include <sys/types.h> -+@@ -171,16 +171,11 @@ -+ #include <sys/param.h> -+ #include <assert.h> -+ -+-#ifdef __FreeBSD__ -+-# include <machine/soundcard.h> -+-# include <machine/pcaudioio.h> -++#ifdef __NetBSD__ -++# include <sys/ioctl.h> -++# include <soundcard.h> -+ #else -+-# ifdef __NetBSD__ -+-# include <sys/ioctl.h> -+-# include <soundcard.h> -+-# else -+-# include <sys/soundcard.h> -+-# endif -++# include <sys/soundcard.h> -+ #endif -+ -+ #include <audio/audio.h> -+@@ -659,7 +654,11 @@ -+ if(sndStatOut.fd == -1) -+ { -+ while ((sndStatOut.fd = open(sndStatOut.device, -++#if defined(__FreeBSD__) -++ sndStatOut.howToOpen|extramode, -++#else -+ sndStatOut.howToOpen|O_SYNC|extramode, -++#endif -+ 0666)) == -1 && wait) -+ { -+ osLogMsg("openDevice: waiting on output device\n"); -+@@ -1310,6 +1309,11 @@ -+ /* -+ * Setup soundcard at maximum audio quality. -+ */ -++ -++#if defined(__FreeBSD__) -++#define NO_16_BIT_SAMPLING -++#endif -++ -+ static void setupSoundcard(sndStatPtr) -+ SndStat* sndStatPtr; -+ { -+@@ -1472,7 +1476,11 @@ -+ sndStatOut.device, sndStatOut.howToOpen); -+ -+ if ((fd = open(sndStatOut.device, -++#if defined(__FreeBSD__) -++ sndStatOut.howToOpen|extramode, 0)) == -1) -++#else -+ sndStatOut.howToOpen|O_SYNC|extramode, 0)) == -1) -++#endif -+ { -+ UNIDENTMSG; -+ return AuFalse; diff --git a/editors/openoffice.org-1.1-devel/files/patch-odk+util+makefile.pmk b/editors/openoffice.org-1.1-devel/files/patch-odk+util+makefile.pmk deleted file mode 100644 index 2ffebd6b9f61..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-odk+util+makefile.pmk +++ /dev/null @@ -1,16 +0,0 @@ ---- ../odk/util/makefile.pmk.orig Fri Mar 28 07:17:29 2003 -+++ ../odk/util/makefile.pmk Fri Mar 28 07:19:02 2003 -@@ -111,8 +111,13 @@ - XMLOUT=$(SOLARXMLDIR) - LIBOUT=$(SOLARLIBDIR) - -+.IF "$(OS)"=="FREEBSD" -+MY_COPY=$(GNUCOPY) -+MY_COPY_RECURSIVE=$(GNUCOPY) -r -+.ELSE - MY_COPY=$(GNUCOPY) -u - MY_COPY_RECURSIVE=$(GNUCOPY) -urf -+.ENDIF - - CONVERTTAGSCRIPT=$(SOLARENV)$/bin$/converttags.pl - diff --git a/editors/openoffice.org-1.1-devel/files/patch-offapi+com+sun+star+setup+OSType.idl b/editors/openoffice.org-1.1-devel/files/patch-offapi+com+sun+star+setup+OSType.idl deleted file mode 100644 index 3fee562c6d38..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-offapi+com+sun+star+setup+OSType.idl +++ /dev/null @@ -1,12 +0,0 @@ ---- ../offapi/com/sun/star/setup/OSType.idl.orig Mon Dec 18 16:34:26 2000 -+++ ../offapi/com/sun/star/setup/OSType.idl Sun Jul 21 01:37:15 2002 -@@ -88,6 +88,9 @@ - UNIX_LINUX, - - // DocMerge: empty anyway -+ UNIX_FREEBSD, -+ -+ // DocMerge: empty anyway - UNIX_HP, - - // DocMerge: empty anyway diff --git a/editors/openoffice.org-1.1-devel/files/patch-offapi+util+makefile.pmk b/editors/openoffice.org-1.1-devel/files/patch-offapi+util+makefile.pmk deleted file mode 100644 index 5cdbb1b4aa4a..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-offapi+util+makefile.pmk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../offapi/util/makefile.pmk.orig Mon Mar 11 01:37:55 2002 -+++ ../offapi/util/makefile.pmk Mon Mar 11 01:37:57 2002 -@@ -85,7 +85,7 @@ - - URDDOC=TRUE - --.IF "$(OS)"=="SOLARIS" -+.IF "$(OS)"=="SOLARIS" || "$(OS)"=="FREEBSD" - .IF "$(CPU)"=="I" - UNOIDL=unoidl - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-package+inc+HashMaps.hxx b/editors/openoffice.org-1.1-devel/files/patch-package+inc+HashMaps.hxx deleted file mode 100644 index 35052d291ef7..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-package+inc+HashMaps.hxx +++ /dev/null @@ -1,20 +0,0 @@ ---- ../package/inc/HashMaps.hxx.orig Tue Oct 30 14:52:18 2001 -+++ ../package/inc/HashMaps.hxx Wed Jun 12 23:10:42 2002 -@@ -79,7 +79,7 @@ - }; - - class ZipPackageFolder; --class ContentInfo; -+class ZipContentInfo; - - typedef std::hash_map < rtl::OUString, - ZipPackageFolder *, -@@ -87,7 +87,7 @@ - eqFunc > FolderHash; - - typedef std::hash_map < rtl::OUString, -- vos::ORef < ContentInfo >, -+ vos::ORef < ZipContentInfo >, - ::rtl::OUStringHash, - eqFunc > ContentHash; - diff --git a/editors/openoffice.org-1.1-devel/files/patch-package+inc+ZipPackageFolder.hxx b/editors/openoffice.org-1.1-devel/files/patch-package+inc+ZipPackageFolder.hxx deleted file mode 100644 index 014c61403380..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-package+inc+ZipPackageFolder.hxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../package/inc/ZipPackageFolder.hxx.orig Thu Nov 15 21:01:49 2001 -+++ ../package/inc/ZipPackageFolder.hxx Wed Jun 12 23:10:42 2002 -@@ -106,7 +106,7 @@ - - void doInsertByName ( ZipPackageEntry *pEntry, sal_Bool bSetParent ) - throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::ElementExistException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); -- ContentInfo & doGetByName( const ::rtl::OUString& aName ) -+ ZipContentInfo & doGetByName( const ::rtl::OUString& aName ) - throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); - static void copyZipEntry( ZipEntry &rDest, const ZipEntry &rSource); - static ::com::sun::star::uno::Sequence < sal_Int8 > static_getImplementationId() diff --git a/editors/openoffice.org-1.1-devel/files/patch-package+source+zippackage+ContentInfo.hxx b/editors/openoffice.org-1.1-devel/files/patch-package+source+zippackage+ContentInfo.hxx deleted file mode 100644 index c4bf35e79f64..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-package+source+zippackage+ContentInfo.hxx +++ /dev/null @@ -1,34 +0,0 @@ ---- ../package/source/zippackage/ContentInfo.hxx.orig Tue Oct 30 14:54:47 2001 -+++ ../package/source/zippackage/ContentInfo.hxx Wed Jun 12 23:10:42 2002 -@@ -75,7 +75,7 @@ - #endif - #include <hash_map> - --class ContentInfo : public cppu::OWeakObject -+class ZipContentInfo : public cppu::OWeakObject - { - public: - com::sun::star::uno::Reference < com::sun::star::lang::XUnoTunnel > xTunnel; -@@ -85,19 +85,19 @@ - ZipPackageFolder *pFolder; - ZipPackageStream *pStream; - }; -- ContentInfo ( ZipPackageStream * pNewStream ) -+ ZipContentInfo ( ZipPackageStream * pNewStream ) - : bFolder ( false ) - , pStream ( pNewStream ) - , xTunnel ( pNewStream ) - { - } -- ContentInfo ( ZipPackageFolder * pNewFolder ) -+ ZipContentInfo ( ZipPackageFolder * pNewFolder ) - : bFolder ( true ) - , pFolder ( pNewFolder ) - , xTunnel ( pNewFolder ) - { - } -- virtual ~ContentInfo () -+ virtual ~ZipContentInfo () - { - if ( bFolder ) - pFolder->releaseUpwardRef(); diff --git a/editors/openoffice.org-1.1-devel/files/patch-package+source+zippackage+ZipPackageFolder.cxx b/editors/openoffice.org-1.1-devel/files/patch-package+source+zippackage+ZipPackageFolder.cxx deleted file mode 100644 index bb504c834eef..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-package+source+zippackage+ZipPackageFolder.cxx +++ /dev/null @@ -1,41 +0,0 @@ ---- ../package/source/zippackage/ZipPackageFolder.cxx.orig Wed Jun 12 23:09:16 2002 -+++ ../package/source/zippackage/ZipPackageFolder.cxx Wed Jun 12 23:10:42 2002 -@@ -212,7 +212,7 @@ - return maContents.size() > 0; - } - // XNameAccess --ContentInfo& ZipPackageFolder::doGetByName( const OUString& aName ) -+ZipContentInfo& ZipPackageFolder::doGetByName( const OUString& aName ) - throw(NoSuchElementException, WrappedTargetException, RuntimeException) - { - ContentHash::iterator aIter = maContents.find ( aName ); -@@ -286,7 +286,7 @@ - aCI++) - { - const OUString &rShortName = (*aCI).first; -- const ContentInfo &rInfo = *(*aCI).second; -+ const ZipContentInfo &rInfo = *(*aCI).second; - - Sequence < PropertyValue > aPropSet (2); - PropertyValue *pValue = aPropSet.getArray(); -@@ -533,7 +533,7 @@ - aCI!=maContents.end(); - aCI++) - { -- ContentInfo &rInfo = * (*aCI).second; -+ ZipContentInfo &rInfo = * (*aCI).second; - if ( rInfo.bFolder )// && ! rInfo.pFolder->HasReleased () ) - rInfo.pFolder->releaseUpwardRef(); - else //if ( !rInfo.bFolder && !rInfo.pStream->HasReleased() ) -@@ -577,9 +577,9 @@ - throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException) - { - if ( pEntry->IsFolder() ) -- maContents[pEntry->aEntry.sName] = new ContentInfo ( static_cast < ZipPackageFolder *> ( pEntry ) ); -+ maContents[pEntry->aEntry.sName] = new ZipContentInfo ( static_cast < ZipPackageFolder *> ( pEntry ) ); - else -- maContents[pEntry->aEntry.sName] = new ContentInfo ( static_cast < ZipPackageStream *> ( pEntry ) ); -+ maContents[pEntry->aEntry.sName] = new ZipContentInfo ( static_cast < ZipPackageStream *> ( pEntry ) ); - - if ( bSetParent ) - pEntry->setParent ( *this ); diff --git a/editors/openoffice.org-1.1-devel/files/patch-registry+source+registry.cxx b/editors/openoffice.org-1.1-devel/files/patch-registry+source+registry.cxx deleted file mode 100644 index 502abe41e48d..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-registry+source+registry.cxx +++ /dev/null @@ -1,14 +0,0 @@ ---- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 -+++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 -@@ -145,11 +145,7 @@ - + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); - strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); - --#if defined(FREEBSD) || defined(MACOSX) -- pTmpName = mkstemp(tmpPattern); --#else - pTmpName = mktemp(tmpPattern); --#endif - #endif - - return OString(pTmpName); diff --git a/editors/openoffice.org-1.1-devel/files/patch-registry+source+regkey.cxx b/editors/openoffice.org-1.1-devel/files/patch-registry+source+regkey.cxx deleted file mode 100644 index fad069f83f14..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-registry+source+regkey.cxx +++ /dev/null @@ -1,12 +0,0 @@ ---- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002 -+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002 -@@ -228,6 +228,9 @@ - { - RegError _ret = REG_NO_ERROR; - -+ if (!nSubKeys) -+ return REG_NO_ERROR; -+ - if (phSubKeys) - { - ORegistry* pReg = NULL; diff --git a/editors/openoffice.org-1.1-devel/files/patch-rsc+source+rscpp+cpp.h b/editors/openoffice.org-1.1-devel/files/patch-rsc+source+rscpp+cpp.h deleted file mode 100644 index 417ab33ba52f..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-rsc+source+rscpp+cpp.h +++ /dev/null @@ -1,12 +0,0 @@ ---- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002 -+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002 -@@ -462,7 +462,9 @@ - extern char *strrchr(); - extern char *strchr(); - #if ! ( defined UNX && defined ALPHA ) -+#if ! ( defined FREEBSD ) - extern long time(); -+#endif - #endif - /* extern char *sprintf(); */ /* Lint needs this */ - diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h deleted file mode 100644 index 95e5d1861a70..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h +++ /dev/null @@ -1,20 +0,0 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 -@@ -107,7 +107,9 @@ - #endif - - #ifdef FREEBSD -+# include <sys/param.h> - # include <machine/endian.h> -+#if __FreeBSD_version < 500000 - # if BYTE_ORDER == LITTLE_ENDIAN - # define _LITTLE_ENDIAN - # elif BYTE_ORDER == BIG_ENDIAN -@@ -115,6 +117,7 @@ - # elif BYTE_ORDER == PDP_ENDIAN - # define _PDP_ENDIAN - # endif -+#endif - #endif - - #ifdef SCO diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c deleted file mode 100644 index 49fe0da8589b..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c +++ /dev/null @@ -1,160 +0,0 @@ ---- ../sal/osl/unx/nlsupport.c.orig Tue Jan 28 15:51:36 2003 -+++ ../sal/osl/unx/nlsupport.c Wed Mar 5 21:03:13 2003 -@@ -63,7 +63,7 @@ - #include <osl/diagnose.h> - #include <osl/process.h> - --#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) -+#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) || defined(FREEBSD) - #include <pthread.h> - #include <locale.h> - #include <langinfo.h> -@@ -114,8 +114,7 @@ - comparison = _pair_compare( key, base + current ); - if (comparison < 0) - upper = current; -- else -- if (comparison > 0) -+ else if (comparison > 0) - lower = current + 1; - else - return base + current; -@@ -241,12 +240,14 @@ - return NULL; - } - --#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) -+#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) || defined(FREEBSD) - - /* -- * This implementation of osl_getTextEncodingFromLocale maps -- * from nl_langinfo(CODESET) to rtl_textencoding defines. -- * nl_langinfo() is supported only on Linux, Solaris and IRIX. -+ * This implementation of osl_getTextEncodingFromLocale maps -+ * from nl_langinfo(CODESET) to rtl_textencoding defines. -+ * nl_langinfo() is supported only on Linux and Solaris. -+ * nl_langinfo() is supported only on Linux, Solaris and IRIX, -+ * >= NetBSD 1.6 and >= FreeBSD 4.4 - * - * This routine is SLOW because of the setlocale call, so - * grab the result and cache it. -@@ -260,6 +261,12 @@ - #endif - #endif - -+/* -+ * _nl_language_list[] is an array list of supported encodings. Because -+ * we are using a binary search, the list has to be in ascending order. -+ * We are comparing the encodings case insensitiv, so the list has -+ * to be completly upper- , or lowercase. -+ */ - - #if defined(SOLARIS) - -@@ -300,23 +307,23 @@ - #elif defined(IRIX) - - const _pair _nl_language_list[] = { -- { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -- { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -- { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -- { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -- { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -- { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -- { "eucJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -- { "eucKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -- { "eucCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -- { "eucTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -- { "big5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -- { "eucgbk", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -- { "gbk", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -- { "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ -+ { "BIG5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -+ { "EUCCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -+ { "EUCGBK", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -+ { "EUCJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -+ { "EUCKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -+ { "EUCTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -+ { "GBK", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -+ { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -+ { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -+ { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -+ { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -+ { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -+ { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "SJIS", RTL_TEXTENCODING_SHIFT_JIS } /* Japan */ - }; - --#elif defined(LINUX) || defined(NETBSD) -+#elif defined(LINUX) - - const _pair _nl_language_list[] = { - { "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */ -@@ -491,13 +498,65 @@ - { "T.101-G2", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-128 */ - { "T.61-7BIT", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-102 */ - { "T.61-8BIT", RTL_TEXTENCODING_DONTKNOW }, /* T.61 ISO-IR-103 */ -- { "TIS-620", RTL_TEXTENCODING_MS_874 }, /* locale: th_TH */ -+ { "TIS-620", RTL_TEXTENCODING_MS_874 }, /* locale: th_TH */ - { "UTF-8", RTL_TEXTENCODING_UTF8 }, /* ISO-10646/UTF-8 */ - { "VIDEOTEX-SUPPL", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-70 */ - { "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */ - }; - --#endif /* ifdef LINUX || NETBSD */ -+#elif defined(FREEBSD) -+ -+const _pair _nl_language_list[] = { -+ { "ASCII", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ -+ { "BIG5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -+ { "CP1251", RTL_TEXTENCODING_MS_1251 }, /* MS-CYRL */ -+ { "CP866", RTL_TEXTENCODING_IBM_866 }, /* CP866 866 */ -+ { "EUCCN", RTL_TEXTENCODING_EUC_CN }, /* China - Simplified Chinese */ -+ { "EUCJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -+ { "EUCKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -+ { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -+ { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -+ { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -+ { "ISO8859-4", RTL_TEXTENCODING_ISO_8859_4 }, /* LATIN4 L4 */ -+ { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -+ { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -+ { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "KOI8-R", RTL_TEXTENCODING_KOI8_R }, /* KOI8-R */ -+ { "KOI8-U", RTL_TEXTENCODING_KOI8_U }, /* KOI8-U */ -+ { "SJIS", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ -+ { "US-ASCII", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ -+ { "UTF-8", RTL_TEXTENCODING_UTF8 } /* ISO-10646/UTF-8 */ -+}; -+ -+#elif defined(NETBSD) -+ -+const _pair _nl_language_list[] = { -+ { "ASCII", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ -+ { "BIG5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -+ { "CP1251", RTL_TEXTENCODING_MS_1251 }, /* MS-CYRL */ -+ { "CP866", RTL_TEXTENCODING_IBM_866 }, /* CP866 866 */ -+ { "CTEXT", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ -+ { "EUCCN", RTL_TEXTENCODING_EUC_CN }, /* China - Simplified Chinese */ -+ { "EUCJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -+ { "EUCKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -+ { "EUCTW", RTL_TEXTENCODING_EUC_TW }, /* China - Traditional Chinese */ -+ { "ISO-2022-JP", RTL_TEXTENCODING_DONTKNOW }, /* */ -+ { "ISO-2022-JP-2", RTL_TEXTENCODING_DONTKNOW }, /* */ -+ { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -+ { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -+ { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -+ { "ISO8859-4", RTL_TEXTENCODING_ISO_8859_4 }, /* LATIN4 L4 */ -+ { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -+ { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -+ { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "KOI8-R", RTL_TEXTENCODING_KOI8_R }, /* KOI8-R */ -+ { "KOI8-U", RTL_TEXTENCODING_KOI8_U }, /* KOI8-U */ -+ { "SJIS", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ -+ { "US-ASCII", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ -+ { "UTF-8", RTL_TEXTENCODING_UTF8 } /* ISO-10646/UTF-8 */ -+}; -+ -+#endif /* ifdef SOLARIS IRIX LINUX FREEBSD NETBSD */ - - static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER; - diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+pipe.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+pipe.c deleted file mode 100644 index 4aa7b8af1a61..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+pipe.c +++ /dev/null @@ -1,14 +0,0 @@ ---- ../sal/osl/unx/pipe.c.orig Thu Jul 11 16:01:39 2002 -+++ ../sal/osl/unx/pipe.c Fri Oct 18 19:56:38 2002 -@@ -264,7 +264,11 @@ - - addr.sun_family = AF_UNIX; - strncpy(addr.sun_path, name, sizeof(addr.sun_path)); -+#if defined(FREEBSD) -+ len = SUN_LEN(&addr); -+#else - len = sizeof(addr); -+#endif - - if ( Options & osl_Pipe_CREATE ) - { diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+process.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+process.c deleted file mode 100644 index 50023576bec4..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+process.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ../sal/osl/unx/process.c.orig Wed Jun 5 16:24:42 2002 -+++ ../sal/osl/unx/process.c Wed Jan 15 01:25:17 2003 -@@ -222,7 +222,7 @@ - /* Memory layout of CMD_ARG_PRG: - progname\0arg1\0...argn[\0]\0environ\0env2\0...envn\0[\0] */ - --#if !defined(NETBSD) -+#if !defined(NETBSD) && !defined(FREEBSD) - extern sal_Char* CMD_ARG_PRG; - #endif - extern sal_Char** CMD_ARG_ENV; diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+socket.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+socket.c deleted file mode 100644 index 9541cac8583f..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+socket.c +++ /dev/null @@ -1,26 +0,0 @@ ---- ../sal/osl/unx/socket.c.orig Tue Apr 9 20:09:53 2002 -+++ ../sal/osl/unx/socket.c Fri Oct 18 20:00:19 2002 -@@ -82,12 +82,12 @@ - #undef HAVE_POLL_H - #endif - --#if defined(LINUX) || defined (IRIX) || defined(NETBSD) -+#if defined(LINUX) || defined (IRIX) || defined(NETBSD) || defined ( FREEBSD ) - #include <sys/poll.h> - #define HAVE_POLL_H - #endif /* HAVE_POLL_H */ - --#if defined(SOLARIS) || defined ( FREEBSD ) -+#if defined(SOLARIS) - #include <poll.h> - #define HAVE_POLL_H - #endif /* SOLARIS */ -@@ -1965,7 +1965,7 @@ - /*****************************************************************************/ - oslSocketAddr SAL_CALL osl_getLocalAddrOfSocket(oslSocket pSocket) - { --#ifdef LINUX -+#ifdef LINUX || defined(FREEBSD) - socklen_t AddrLen; - #else - /* mfe: Solaris 'cc +w' means Addrlen should be signed! */ diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.c deleted file mode 100644 index e866f598af30..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.c +++ /dev/null @@ -1,91 +0,0 @@ ---- ../sal/osl/unx/system.c.orig Tue Aug 20 08:49:46 2002 -+++ ../sal/osl/unx/system.c Mon Apr 21 02:42:21 2003 -@@ -74,7 +74,8 @@ - static pthread_mutex_t getrtl_mutex = PTHREAD_MUTEX_INITIALIZER; - - /* struct passwd differs on some platforms */ --#if defined NETBSD || defined MACOSX || defined FREEBSD -+#if defined NETBSD || defined MACOSX || \ -+ (defined FREEBSD && (__FreeBSD_version < 500112)) - #include <pwd.h> - #include <sys/types.h> - -@@ -134,7 +135,6 @@ - return res; - } - --#if defined(NETBSD) || defined(MACOSX) - int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, - size_t buflen, struct passwd **result) - { -@@ -201,8 +201,8 @@ - - return res; - } --#endif - -+#if defined NETBSD || defined MACOSX - struct tm *localtime_r(const time_t *timep, struct tm *buffer) - { - struct tm* res; -@@ -236,7 +236,8 @@ - - return res; - } --#endif /* defined NETBSD || defined MACOSX */ -+#endif /* defined NETBSD || MACOSX */ -+#endif /* defined NETBSD || FREEBSD || MACOSX */ - - #ifdef SCO - #include <pwd.h> -@@ -712,3 +713,50 @@ - } - #endif - -+#if defined(NETBSD) || defined(FREEBSD) -+char *fcvt(double value, int ndigit, int *decpt, int *sign) -+{ -+ static char ret[256]; -+ char buf[256],zahl[256],format[256]="%"; -+ char *v1,*v2; -+ -+ if (value==0.0) value=1e-30; -+ -+ if (value<0.0) *sign=1; else *sign=0; -+ -+ if (value<1.0) -+ { -+ *decpt=(int)log10(value); -+ value*=pow(10.0,1-*decpt); -+ ndigit+=*decpt-1; -+ if (ndigit<0) ndigit=0; -+ } -+ else -+ { -+ *decpt=(int)log10(value)+1; -+ } -+ -+ sprintf(zahl,"%d",ndigit); -+ strcat(format,zahl); -+ strcat(format,"."); -+ strcat(format,zahl); -+ strcat(format,"f"); -+ -+ sprintf(buf,format,value); -+ -+ if (ndigit!=0) -+ { -+ v1=strtok(buf,"."); -+ v2=strtok(NULL,"."); -+ strcpy(ret,v1); -+ strcat(ret,v2); -+ } -+ else -+ { -+ strcpy(ret,buf); -+ } -+ -+ return(ret); -+} -+ -+#endif diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.h deleted file mode 100644 index 642977f77a4d..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.h +++ /dev/null @@ -1,57 +0,0 @@ ---- ../sal/osl/unx/system.h.orig Tue Aug 20 15:54:55 2002 -+++ ../sal/osl/unx/system.h Thu May 8 20:31:08 2003 -@@ -203,12 +203,19 @@ - # include <dlfcn.h> - # include <sys/filio.h> - # include <sys/ioctl.h> -+# include <sys/param.h> - # include <sys/time.h> - # include <sys/uio.h> -+# include <sys/exec.h> -+# include <vm/vm.h> -+# include <vm/vm_param.h> -+# include <vm/pmap.h> -+# include <vm/swap_pager.h> - # include <sys/un.h> - # include <netinet/tcp.h> - # define IORESOURCE_TRANSFER_BSD - # include <machine/endian.h> -+#ifdef __FreeBSD_version < 500000 - # if BYTE_ORDER == LITTLE_ENDIAN - # define _LITTLE_ENDIAN - # elif BYTE_ORDER == BIG_ENDIAN -@@ -216,12 +223,14 @@ - # elif BYTE_ORDER == PDP_ENDIAN - # define _PDP_ENDIAN - # endif --# define sched_yield() pthread_yield() --# define pthread_testcancel() -+#endif - # define NO_PTHREAD_RTL --# define NO_PTHREAD_PRIORITY --# define CMD_ARG_PRG __progname --# define CMD_ARG_ENV environ -+/* __progname isn't sufficient here. We need the full path as well -+ * for e.g. setup and __progname only points to the binary name. -+ */ -+# define CMD_ARG_PRG_IS_DEFINED -+# define CMD_ARG_PRG *((struct ps_strings *)PS_STRINGS)->ps_argvstr -+# define CMD_ARG_ENV environ - #endif - - #ifdef SCO -@@ -569,12 +578,14 @@ - #endif - - #ifdef NO_PTHREAD_RTL -+#if !defined FREEBSD || (__FreeBSD_version < 500112) - struct passwd *getpwent_r(struct passwd *pwd, char *buffer, int buflen); - extern struct spwd *getspnam_r(const char *name, struct spwd *result, - char *buffer, int buflen); - - struct tm *localtime_r(const time_t *timep, struct tm *buffer); - struct tm *gmtime_r(const time_t *timep, struct tm *buffer); -+#endif /* !defined FREEBSD || (__FreeBSD_version < 500112) */ - struct hostent *gethostbyname_r(const char *name, struct hostent *result, - char *buffer, int buflen, int *h_errnop); - #endif diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+tempfile.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+tempfile.c deleted file mode 100644 index 76a806b44493..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+tempfile.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ../sal/osl/unx/tempfile.c.orig Thu Apr 3 21:58:43 2003 -+++ ../sal/osl/unx/tempfile.c Thu Apr 3 21:59:08 2003 -@@ -104,7 +104,7 @@ - if ( !pValue ) - { - pValue = getenv( "TMP" ); --#if defined(SOLARIS) || defined (LINUX) -+#if defined(SOLARIS) || defined (LINUX) || defined (FREEBSD) - if ( !pValue ) - pValue = P_tmpdir; - #endif diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-1.1-devel/files/patch-sal+textenc+tencinfo.c deleted file mode 100644 index 7cf80c18d0a0..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+textenc+tencinfo.c +++ /dev/null @@ -1,13 +0,0 @@ ---- ../sal/textenc/tencinfo.c.orig Wed Jul 31 11:44:35 2002 -+++ ../sal/textenc/tencinfo.c Wed Jul 31 11:45:47 2002 -@@ -695,6 +695,10 @@ - /* characters. The function search for the first equal string in */ - /* the table. In this table are only the most used mime types. */ - /* Sort order: important */ -+ -+ if (pMimeCharset == NULL) -+ pMimeCharset = "usascii"; -+ - static ImplStrCharsetDef const aVIPMimeCharsetTab[] = - { - { "usascii", RTL_TEXTENCODING_ASCII_US }, diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-sal+util+makefile.mk deleted file mode 100644 index 284f86f444b0..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+util+makefile.mk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../sal/util/makefile.mk.orig Wed Mar 12 23:57:03 2003 -+++ ../sal/util/makefile.mk Wed Mar 12 23:56:54 2003 -@@ -120,6 +120,8 @@ - - .IF "$(OS)"=="LINUX" - SHL1VERSIONMAP= gcc3_linux_intel.map -+.ELIF "$(OS)"=="FREEBSD" -+SHL1VERSIONMAP= gcc3_linux_intel.map - .ELSE - SHL1VERSIONMAP= $(TARGET).map - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+workben+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-sal+workben+makefile.mk deleted file mode 100644 index 369935e31d66..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+workben+makefile.mk +++ /dev/null @@ -1,29 +0,0 @@ ---- ../sal/workben/makefile.mk.orig Tue May 15 14:11:20 2001 -+++ ../sal/workben/makefile.mk Sun Mar 10 23:46:59 2002 -@@ -113,7 +113,7 @@ - - .IF "$(TESTAPP)" == "salstattest" - -- CFLAGS+= /DUSE_SAL_STATIC -+ CFLAGS+= -DUSE_SAL_STATIC - - OBJFILES= $(OBJ)$/salstattest.obj - -@@ -325,7 +325,7 @@ - # tgetpwnam - # - .IF "$(TESTAPP)" == "tgetpwnam" --.IF "$(OS)"=="SCO" || "$(OS)"=="NETBSD" -+.IF "$(OS)"=="SCO" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD" - - CXXFILES= tgetpwnam.cxx - OBJFILES= $(OBJ)$/tgetpwnam.obj -@@ -335,7 +335,7 @@ - APP5STDLIBS=$(SALLIB) - APP5DEPN= $(SLB)$/sal.lib - --.ENDIF # (sco | netbsd) -+.ENDIF # (sco | netbsd | freebsd) - .ENDIF # tgetpwname - - # --- Targets ------------------------------------------------------ diff --git a/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+gcc2_freebsd_intel.map b/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+gcc2_freebsd_intel.map deleted file mode 100644 index 1ffacf889bc6..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+gcc2_freebsd_intel.map +++ /dev/null @@ -1,31 +0,0 @@ ---- /dev/null Thu Jun 6 20:06:24 2002 -+++ ../salhelper/source/gcc2_freebsd_intel.map Thu Jun 6 20:02:18 2002 -@@ -0,0 +1,28 @@ -+SALHLP_1_0 { -+global: -+GetVersionInfo; -+_._Q28salhelper18ORealDynamicLoader; -+__Q29salhelper18ORealDynamicLoaderPPQ29salhelper18ORealDynamicLoaderRCQ23rtl8OUStringT2PvT4; -+__tfQ29salhelper18ORealDynamicLoader; -+__tiQ29salhelper18ORealDynamicLoader; -+__vt_Q29salhelper18ORealDynamicLoader; -+_fini; -+_init; -+acquire__Q29salhelper18ORealDynamicLoader; -+getApi__CQ29salhelper18ORealDynamicLoader; -+newInstance__Q29salhelper18ORealDynamicLoaderPPQ29salhelper18ORealDynamicLoaderRCQ23rtl8OUStringT2; -+release__Q29salhelper18ORealDynamicLoader; -+_._Q29salhelper21SimpleReferenceObject; -+__Q29salhelper21SimpleReferenceObject; -+__dl__Q29salhelper21SimpleReferenceObjectPv; -+__dl__Q29salhelper21SimpleReferenceObjectPvRC9nothrow_t; -+__nw__Q29salhelper21SimpleReferenceObjectUi; -+__nw__Q29salhelper21SimpleReferenceObjectUiRC9nothrow_t; -+__tfQ29salhelper21SimpleReferenceObject; -+__tiQ29salhelper21SimpleReferenceObject; -+__vt_Q29salhelper21SimpleReferenceObject; -+acquire__Q29salhelper21SimpleReferenceObject; -+release__Q29salhelper21SimpleReferenceObject; -+local: -+*; -+}; diff --git a/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+gcc3_freebsd_intel.map b/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+gcc3_freebsd_intel.map deleted file mode 100644 index 823cff316ec7..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+gcc3_freebsd_intel.map +++ /dev/null @@ -1,34 +0,0 @@ ---- /dev/null Thu Jun 6 20:06:34 2002 -+++ ../salhelper/source/gcc3_freebsd_intel.map Thu Jun 6 20:02:29 2002 -@@ -0,0 +1,31 @@ -+UDK_3_0_0 { -+ global: -+GetVersionInfo; -+_DYNAMIC; -+_GLOBAL_OFFSET_TABLE_; -+_ZN9salhelper18ORealDynamicLoader11newInstanceEPPS0_RKN3rtl8OUStringES6_; -+_ZN9salhelper18ORealDynamicLoader7acquireEv; -+_ZN9salhelper18ORealDynamicLoader7releaseEv; -+_ZN9salhelper18ORealDynamicLoaderC1EPPS0_RKN3rtl8OUStringES6_PvS7_; -+_ZN9salhelper18ORealDynamicLoaderC2EPPS0_RKN3rtl8OUStringES6_PvS7_; -+_ZN9salhelper18ORealDynamicLoaderD0Ev; -+_ZN9salhelper18ORealDynamicLoaderD1Ev; -+_ZN9salhelper18ORealDynamicLoaderD2Ev; -+_ZN9salhelper21SimpleReferenceObjectD0Ev; -+_ZN9salhelper21SimpleReferenceObjectD1Ev; -+_ZN9salhelper21SimpleReferenceObjectD2Ev; -+_ZN9salhelper21SimpleReferenceObjectdlEPv; -+_ZN9salhelper21SimpleReferenceObjectnwEj; -+_ZNK9salhelper18ORealDynamicLoader6getApiEv; -+_ZTVN9salhelper18ORealDynamicLoaderE; -+_ZTVN9salhelper21SimpleReferenceObjectE; -+__bss_start; -+_edata; -+_end; -+_fini; -+_init; -+component_getDescriptionFunc; -+ local: -+ *; -+}; -+ diff --git a/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+makefile.mk deleted file mode 100644 index 4b380cf2ac98..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-salhelper+source+makefile.mk +++ /dev/null @@ -1,13 +0,0 @@ ---- ../salhelper/source/makefile.mk.orig Sun Sep 1 18:22:39 2002 -+++ ../salhelper/source/makefile.mk Wed Mar 12 23:54:12 2003 -@@ -114,6 +114,10 @@ - SHL1VERSIONMAP=lngi.map - .ELIF "$(OS)$(CPU)$(COMNAME)"=="LINUXIgcc3" - SHL1VERSIONMAP=gcc3_linux_intel.map -+.ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc2" -+SHL1VERSIONMAP=gcc2_linux_intel.map -+.ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc3" -+SHL1VERSIONMAP=gcc3_linux_intel.map - .ENDIF - - # --- Targets ------------------------------------------------------ diff --git a/editors/openoffice.org-1.1-devel/files/patch-salhelper+test+rtti+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-salhelper+test+rtti+makefile.mk deleted file mode 100644 index 70f25048a24a..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-salhelper+test+rtti+makefile.mk +++ /dev/null @@ -1,13 +0,0 @@ ---- ../salhelper/test/rtti/makefile.mk.orig Sat Jul 20 23:11:56 2002 -+++ ../salhelper/test/rtti/makefile.mk Sat Jul 20 23:12:01 2002 -@@ -116,6 +116,10 @@ - SHL1VERSIONMAP= sols.map - .ELIF "$(OS)$(CPU)"=="LINUXI" - SHL1VERSIONMAP= lngi.map -+.ELIF "$(OS)$(CPU)$(COMNAME)" == "GCCFREEBSDIgcc2" -+SHL1VERSIONMAP= gcc2_freebsd_intel.map -+.ELIF "$(OS)$(CPU)$(COMNAME)" == "GCCFREEBSDIgcc3" -+SHL1VERSIONMAP= gcc3_freebsd_intel.map - .ENDIF - - diff --git a/editors/openoffice.org-1.1-devel/files/patch-sc+source+core+data+cell.cxx b/editors/openoffice.org-1.1-devel/files/patch-sc+source+core+data+cell.cxx deleted file mode 100644 index 529f67a3e35f..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sc+source+core+data+cell.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../sc/source/core/data/cell.cxx.orig Sun Jul 21 00:39:25 2002 -+++ ../sc/source/core/data/cell.cxx Sun Jul 21 00:39:26 2002 -@@ -75,7 +75,7 @@ - #include <mac_end.h> - #endif - --#ifdef SOLARIS -+#if defined (SOLARIS) || defined (FREEBSD) - #include <ieeefp.h> - #elif ( defined ( LINUX ) && ( GLIBC < 2 ) ) - #include <i386/ieeefp.h> diff --git a/editors/openoffice.org-1.1-devel/files/patch-scp+source+global+udk_base.scp b/editors/openoffice.org-1.1-devel/files/patch-scp+source+global+udk_base.scp deleted file mode 100644 index 623eccb0ff09..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-scp+source+global+udk_base.scp +++ /dev/null @@ -1,19 +0,0 @@ ---- ../scp/source/global/udk_base.scp.orig Wed Mar 5 21:12:08 2003 -+++ ../scp/source/global/udk_base.scp Wed Mar 5 21:12:10 2003 -@@ -6,7 +6,7 @@ - // Temporary solution/hack: at the moment libstdc++.so and libgcc_s.so are - // needed for unxlngi4 environment (setup is linked against it). - -- -+#if ( ! defined ( FREEBSD )) - #if ( defined( _gcc3 ) && defined( C300 ) ) - - File gid_File_Lib_gcc -@@ -37,6 +37,7 @@ - Name = STRING(libstdc++.so); - Styles = (NETWORK,RELATIVE); - End -+#endif - #endif - - File gid_File_Lib_Sal diff --git a/editors/openoffice.org-1.1-devel/files/patch-scp+source+player+player.scp b/editors/openoffice.org-1.1-devel/files/patch-scp+source+player+player.scp deleted file mode 100644 index 2f8daab35cdd..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-scp+source+player+player.scp +++ /dev/null @@ -1,20 +0,0 @@ ---- ../scp/source/player/player.scp.orig Sun Jul 21 00:30:27 2002 -+++ ../scp/source/player/player.scp Sun Jul 21 00:30:28 2002 -@@ -62,7 +62,7 @@ - // directories - //////////////////////// - --#ifdef LINUX -+#if defined(LINUX) || defined(FREEBSD) - - Directory GID_DIR_KDE2 - ParentID = PREDEFINED_HOMEDIR; -@@ -701,7 +701,7 @@ - Name = "gnomeappplayer.zip"; - End - --#ifdef LINUX -+#if defined(LINUX) || defined(FREEBSD) - - File GID_FILE_EXTRA_KDEAPPPLAYER - Dir = GID_DIR_KDE2_SHARE_APPLNK_STAR; diff --git a/editors/openoffice.org-1.1-devel/files/patch-scptools+source+linker+searchcache b/editors/openoffice.org-1.1-devel/files/patch-scptools+source+linker+searchcache deleted file mode 100644 index d090f9911990..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-scptools+source+linker+searchcache +++ /dev/null @@ -1,27 +0,0 @@ ---- ../scptools/source/linker/searchcache.hxx.orig Thu Mar 27 23:21:09 2003 -+++ ../scptools/source/linker/searchcache.hxx Thu Mar 27 23:21:40 2003 -@@ -72,11 +72,11 @@ - // types - /////////////////////////////////////////////////////////////////////////////// - --DECLARE_LIST( FileList, ByteString* ) -+DECLARE_LIST( SCacheFileList, ByteString* ) - struct Include - { - ByteString aBaseDir; -- FileList aFileLst; -+ SCacheFileList aFileLst; - }; - DECLARE_LIST( IncludeList, Include* ) - ---- ../scptools/source/linker/searchcache.cxx.orig Thu Mar 27 23:23:04 2003 -+++ ../scptools/source/linker/searchcache.cxx Thu Mar 27 23:23:51 2003 -@@ -218,7 +218,7 @@ - rPath += aDelim; - } - --void ScanFileList( const ByteString& rPath, FileList& rLst ) -+void ScanFileList( const ByteString& rPath, SCacheFileList& rLst ) - { - Dir aFiles( rPath, FSYS_KIND_FILE ); - for( USHORT i = 0; i < aFiles.Count(); ++i ) diff --git a/editors/openoffice.org-1.1-devel/files/patch-scptools+source+linker+ziplst.cxx b/editors/openoffice.org-1.1-devel/files/patch-scptools+source+linker+ziplst.cxx deleted file mode 100644 index 83b84631542e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-scptools+source+linker+ziplst.cxx +++ /dev/null @@ -1,19 +0,0 @@ ---- ../scptools/source/linker/ziplst.cxx.orig Sun Jul 21 00:32:40 2002 -+++ ../scptools/source/linker/ziplst.cxx Sun Jul 21 00:32:43 2002 -@@ -278,6 +278,7 @@ - #define OS_SOLI "solia" - #define OS_WINDOWS "windows" - #define OS_LINUX "linux" -+#define OS_FREEBSD "freebsd" - #define OS_OS2 "os2" - - ByteString _OS2Alpha( const ByteString& rStr ) -@@ -290,6 +291,8 @@ - return OS_SOLI; - else if( rStr.CompareIgnoreCaseToAscii("unxlngi",7) == COMPARE_EQUAL ) - return OS_LINUX; -+ else if( rStr.CompareIgnoreCaseToAscii("unxfbsdi",7) == COMPARE_EQUAL ) -+ return OS_FREEBSD; - else if( rStr.CompareIgnoreCaseToAscii("os2icci",7) == COMPARE_EQUAL ) - return OS_OS2; - diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+inc+fields.hxx b/editors/openoffice.org-1.1-devel/files/patch-setup2+inc+fields.hxx deleted file mode 100644 index d56e12f2abf4..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+inc+fields.hxx +++ /dev/null @@ -1,10 +0,0 @@ ---- ../setup2/inc/fields.hxx.orig Sun Jul 21 00:19:07 2002 -+++ ../setup2/inc/fields.hxx Sun Jul 21 00:19:12 2002 -@@ -104,6 +104,7 @@ - extern char const VALUE_YES_IF_HPUX_HP9000[]; - extern char const VALUE_YES_IF_AIX_RS6000[]; - extern char const VALUE_YES_IF_LINUX_X86[]; -+extern char const VALUE_YES_IF_FREEBSD_X86[]; - extern char const VALUE_KEEP_OLD_VERSION[]; - extern char const VALUE_NETWORK[]; - extern char const VALUE_NO[]; diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+mow+source+loader+loader.c b/editors/openoffice.org-1.1-devel/files/patch-setup2+mow+source+loader+loader.c deleted file mode 100644 index e83e372497b9..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+mow+source+loader+loader.c +++ /dev/null @@ -1,39 +0,0 @@ ---- ../setup2/mow/source/loader/loader.c.orig Thu Oct 31 21:46:52 2002 -+++ ../setup2/mow/source/loader/loader.c Wed Jan 22 14:56:44 2003 -@@ -85,6 +85,12 @@ - # include <sys/statvfs.h> - #endif - -+#ifdef FREEBSD -+#if (OSVERSION < 500000) -+#define iswspace(c) ((c)==' ' || (c)=='\t' || (c)=='\n') -+#endif -+#endif -+ - #include "bitmap" - #include "logo.xpm" - -@@ -580,6 +580,8 @@ - #define GCC_FILE_PATTERN "libgcc_s.so.1" - #define CPLUS_FILE_PATTERN "libstdc++.so.3.0.1" - #define STL_FILE_PATTERN "libstlport_gcc.so" -+#elif defined (FREEBSD) -+#define STL_FILE_PATTERN "libstlport_gcc.so" - #else - #define STL_FILE_PATTERN "libstlport_sunpro.so" - #endif -@@ -650,6 +656,14 @@ - " export LD_LIBRARY_PATH\n" \ - " ;;\n" \ - " Linux)\n" \ -+" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ -+" export LD_LIBRARY_PATH\n" \ -+" ;;\n" \ -+" FreeBSD)\n" \ -+" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ -+" export LD_LIBRARY_PATH\n" \ -+" ;;\n" \ -+" NetBSD)\n" \ - " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ - " export LD_LIBRARY_PATH\n" \ - " ;;\n" \ diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+mow+source+loader+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-setup2+mow+source+loader+makefile.mk deleted file mode 100644 index 5460e4296587..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+mow+source+loader+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../setup2/mow/source/loader/makefile.mk.orig Fri Feb 14 15:32:23 2003 -+++ ../setup2/mow/source/loader/makefile.mk Wed Mar 5 20:28:12 2003 -@@ -95,7 +95,11 @@ - - APP1TARGET= $(TARGET) - APP1OBJS= $(OBJFILES) -+.IF "$(OS)"=="FREEBSD" -+APP1STDLIBS=$(SVUNZIPLIB) $(LOADERLIB) -lX11 -+.ELSE - APP1STDLIBS=$(SVUNZIPLIB) $(LOADERLIB) -ldl -+.ENDIF - - .ENDIF # "$(OS)"=="MACOSX" - diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk deleted file mode 100644 index 53846a8bdfc9..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+patch+makefile.mk +++ /dev/null @@ -1,11 +0,0 @@ ---- ../setup2/patch/makefile.mk.orig Sun Jul 21 00:21:46 2002 -+++ ../setup2/patch/makefile.mk Sun Jul 21 00:21:52 2002 -@@ -92,7 +92,7 @@ - .IF "$(OS)"=="SOLARIS" - STATIC_LIBS+= -Bdynamic -lnsl -lsocket -lposix4 - .ENDIF --.IF "$(OS)"=="LINUX" -+.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD" - STATIC_LIBS+= -Bdynamic -lcrypt - .ENDIF - .ELSE diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+script+setupserver b/editors/openoffice.org-1.1-devel/files/patch-setup2+script+setupserver deleted file mode 100644 index 450ea386c841..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+script+setupserver +++ /dev/null @@ -1,10 +0,0 @@ ---- ../setup2/script/setupserver.orig Fri Nov 17 12:29:29 2000 -+++ ../setup2/script/setupserver Fri Oct 18 23:47:09 2002 -@@ -234,6 +234,7 @@ - sd_platform=`uname -s` - case $sd_platform in - SCO_SV) test=/bin/test ;; -+ FreeBSD) test=/bin/test ;; - *) test=/usr/bin/test ;; - esac - sd_cwd="`pwd`" diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+compiler+decltor.cxx b/editors/openoffice.org-1.1-devel/files/patch-setup2+source+compiler+decltor.cxx deleted file mode 100644 index 98f6ad2f7567..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+compiler+decltor.cxx +++ /dev/null @@ -1,20 +0,0 @@ ---- ../setup2/source/compiler/decltor.cxx.orig Sun Jul 21 00:25:00 2002 -+++ ../setup2/source/compiler/decltor.cxx Sun Jul 21 00:24:06 2002 -@@ -304,6 +304,7 @@ - m_xCompiler->GetOsType() == com::sun::star::setup::OSType_UNIX_SOLSG || - m_xCompiler->GetOsType() == com::sun::star::setup::OSType_UNIX_SOLIG || - m_xCompiler->GetOsType() == com::sun::star::setup::OSType_UNIX_LINUX || -+ m_xCompiler->GetOsType() == com::sun::star::setup::OSType_UNIX_FREEBSD || - m_xCompiler->GetOsType() == com::sun::star::setup::OSType_UNIX_HP || - m_xCompiler->GetOsType() == com::sun::star::setup::OSType_UNIX_SCO; - } ---- ../setup2/source/compiler/fields.cxx.orig Sun Jul 21 00:25:42 2002 -+++ ../setup2/source/compiler/fields.cxx Sun Jul 21 00:25:45 2002 -@@ -105,6 +105,7 @@ - char const VALUE_YES_IF_HPUX_HP9000[] = "YES_IF_HPUX_HP9000"; - char const VALUE_YES_IF_AIX_RS6000[] = "YES_IF_AIX_RS6000"; - char const VALUE_YES_IF_LINUX_X86[] = "YES_IF_LINUX_X86"; -+char const VALUE_YES_IF_FREEBSD_X86[] = "YES_IF_FREEBSD_X86"; - char const VALUE_KEEP_OLD_VERSION[] = "KEEP_OLD_VERSION"; - char const VALUE_NETWORK[] = "NETWORK"; - char const VALUE_NO[] = "NO"; diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+custom+jvmsetup+jvmdlg.cxx b/editors/openoffice.org-1.1-devel/files/patch-setup2+source+custom+jvmsetup+jvmdlg.cxx deleted file mode 100644 index ac0b39a6aa47..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+custom+jvmsetup+jvmdlg.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../setup2/source/custom/jvmsetup/jvmdlg.cxx.orig Sat Jul 20 23:33:50 2002 -+++ ../setup2/source/custom/jvmsetup/jvmdlg.cxx Sat Jul 20 23:34:00 2002 -@@ -154,7 +154,7 @@ - - #if defined (OS2) - maHelpEdit.SetText( ResId(STR_HELP_TEXT_OS2, pResMgr) ); --#elif defined (LINUX) -+#elif defined (LINUX) || defined (FREEBSD) || defined (NETBSD) - maHelpEdit.SetText( ResId(STR_HELP_TEXT_LINUX, pResMgr) ); - #elif defined (SOLARIS) - maHelpEdit.SetText( ResId(STR_HELP_TEXT_SOLARIS, pResMgr) ); diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+custom+jvmsetup+loader+jvmsetup.sh b/editors/openoffice.org-1.1-devel/files/patch-setup2+source+custom+jvmsetup+loader+jvmsetup.sh deleted file mode 100644 index f199b18823e1..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+custom+jvmsetup+loader+jvmsetup.sh +++ /dev/null @@ -1,10 +0,0 @@ ---- ../setup2/source/custom/jvmsetup/loader/jvmsetup.sh.orig Fri Jun 14 15:36:11 2002 -+++ ../setup2/source/custom/jvmsetup/loader/jvmsetup.sh Fri Oct 18 23:45:45 2002 -@@ -65,6 +65,7 @@ - sd_platform=`uname -s` - case $sd_platform in - SCO_SV) test=/bin/test ;; -+ FreeBSD) test=/bin/test ;; - *) test=/usr/bin/test ;; - esac - diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+service+interface.cxx b/editors/openoffice.org-1.1-devel/files/patch-setup2+source+service+interface.cxx deleted file mode 100644 index 8e478e17971d..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-setup2+source+service+interface.cxx +++ /dev/null @@ -1,35 +0,0 @@ ---- ../setup2/source/service/interface.cxx.orig Sat Jul 20 23:29:33 2002 -+++ ../setup2/source/service/interface.cxx Sat Jul 20 23:30:02 2002 -@@ -126,6 +126,8 @@ - aExtension = "UNIX_SOLIG"; - else if( eType == OSType_UNIX_LINUX ) - aExtension = "UNIX_LINUX"; -+ else if( eType == OSType_UNIX_LINUX ) -+ aExtension = "UNIX_FREEBSD"; - else if( eType == OSType_UNIX_HP ) - aExtension = "UNIX_HP"; - else if( eType == OSType_UNIX_SCO ) -@@ -238,6 +240,7 @@ - readOSConfiguration( OSType_UNIX_SOLSG ); - readOSConfiguration( OSType_UNIX_SOLIG ); - readOSConfiguration( OSType_UNIX_LINUX ); -+ readOSConfiguration( OSType_UNIX_FREEBSD ); - readOSConfiguration( OSType_UNIX_HP ); - readOSConfiguration( OSType_UNIX_SCO ); - fprintf( stdout, "\n" ); -@@ -577,6 +580,7 @@ - case OSType_UNIX_SOLSG: - case OSType_UNIX_SOLIG: - case OSType_UNIX_LINUX: -+ case OSType_UNIX_FREEBSD: - case OSType_UNIX_HP: - case OSType_UNIX_SCO: - return ByteString(UNX_README_FILE_NAME); -@@ -599,6 +603,7 @@ - case OSType_UNIX_SOLSG: - case OSType_UNIX_SOLIG: - case OSType_UNIX_LINUX: -+ case OSType_UNIX_FREEBSD: - case OSType_UNIX_HP: - case OSType_UNIX_SCO: - return ByteString(UNX_LICENSE_FILE_NAME); diff --git a/editors/openoffice.org-1.1-devel/files/patch-sfx2+source+doc.src b/editors/openoffice.org-1.1-devel/files/patch-sfx2+source+doc.src deleted file mode 100644 index 0357030ec5c9..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sfx2+source+doc.src +++ /dev/null @@ -1,11 +0,0 @@ ---- ../sfx2/source/doc/doc.src.org Thu Apr 17 18:12:12 2003 -+++ ../sfx2/source/doc/doc.src Thu Apr 17 18:13:21 2003 -@@ -1168,7 +1168,7 @@ - Text[ chinese_simplified ] = "å˜ç›˜(~S)"; - Text[ russian ] = "Ñîõðàíèòü"; - Text[ polish ] = "Zapisz"; -- Text[ japanese ] = "ã¯ã„(~S)"; -+ Text[ japanese ] = "ä¿å˜(~S)"; - Text[ chinese_traditional ] = "儲å˜(~S)"; - Text[ arabic ] = "ÍÝÙ"; - Text[ dutch ] = "~Opslaan"; diff --git a/editors/openoffice.org-1.1-devel/files/patch-shell+source+cmdmail+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-shell+source+cmdmail+makefile.mk deleted file mode 100644 index 0476285c802e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-shell+source+cmdmail+makefile.mk +++ /dev/null @@ -1,16 +0,0 @@ ---- ../shell/source/cmdmail/makefile.mk.orig Tue Jan 1 14:11:38 2002 -+++ ../shell/source/cmdmail/makefile.mk -@@ -81,9 +81,10 @@ - - SHL1TARGET=$(TARGET) - --SHL1STDLIBS=$(CPPULIB)\ -- $(CPPUHELPERLIB)\ -- $(SALLIB) -+SHL1STDLIBS=\ -+ $(SALLIB)\ -+ $(CPPULIB)\ -+ $(CPPUHELPERLIB) - - SHL1LIBS= - diff --git a/editors/openoffice.org-1.1-devel/files/patch-shell+source+proxysettings+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-shell+source+proxysettings+makefile.mk deleted file mode 100644 index e83cf7c9d7a1..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-shell+source+proxysettings+makefile.mk +++ /dev/null @@ -1,16 +0,0 @@ ---- ../shell/source/proxysettings/makefile.mk.orig Tue Jan 1 14:11:38 2002 -+++ ../shell/source/proxysettings/makefile.mk -@@ -85,9 +85,10 @@ - - SHL1TARGET=$(TARGET) - --SHL1STDLIBS=$(CPPULIB)\ -- $(CPPUHELPERLIB)\ -- $(SALLIB) -+SHL1STDLIBS=\ -+ $(SALLIB)\ -+ $(CPPULIB)\ -+ $(CPPUHELPERLIB) - - SHL1LIBS= - diff --git a/editors/openoffice.org-1.1-devel/files/patch-shell+source+unix+exec+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-shell+source+unix+exec+makefile.mk deleted file mode 100644 index 0b7712ee35f8..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-shell+source+unix+exec+makefile.mk +++ /dev/null @@ -1,16 +0,0 @@ ---- ../shell/source/unix/exec/makefile.mk.orig Tue Jan 1 14:11:38 2002 -+++ ../shell/source/unix/exec/makefile.mk -@@ -79,9 +79,10 @@ - - SHL1TARGET=$(TARGET) - --SHL1STDLIBS=$(CPPULIB)\ -- $(CPPUHELPERLIB)\ -- $(SALLIB) -+SHL1STDLIBS=\ -+ $(SALLIB)\ -+ $(CPPULIB)\ -+ $(CPPUHELPERLIB) - - SHL1LIBS= - diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+addsym.awk b/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+addsym.awk deleted file mode 100644 index 996e282b350b..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+addsym.awk +++ /dev/null @@ -1,16 +0,0 @@ ---- ../solenv/bin/addsym.awk.orig Tue Mar 11 15:11:44 2003 -+++ ../solenv/bin/addsym.awk Tue Mar 11 15:13:19 2003 -@@ -72,11 +72,11 @@ - END { - if (state == 0) { - print "# Weak RTTI symbols for C++ exceptions:" -- print "UDK_3_0_0 { global: _ZTI*; _ZTS*; };" -+ print "UDK_3_0_0 { global: _ZTI*; _ZTS*; GetVersionInfo;};" - } - } - state == 2 { -- print " _ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions" -+ print " _ZTI*; _ZTS*; GetVersionInfo;# weak RTTI symbols for C++ exceptions" - state = 3 - } - /^[\t ]*UDK_3_0_0[\t ]*{/ { state = 1 } diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl b/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl deleted file mode 100644 index 71ebdb934120..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+bin+mapgen.pl +++ /dev/null @@ -1,21 +0,0 @@ ---- ../solenv/bin/mapgen.pl.orig Sat Jul 20 22:30:21 2002 -+++ ../solenv/bin/mapgen.pl Sat Jul 20 22:31:31 2002 -@@ -112,7 +112,7 @@ - - if ($ENV{OS} eq 'SOLARIS') { - &gen_sol; --} elsif ($ENV{OS} eq 'LINUX') { -+} elsif ($ENV{OS} eq 'LINUX' || $ENV{OS} eq 'FREEBSD') { - &gen_lnx; - } else { - &print_error ('Environment not set!!'); -@@ -169,7 +169,8 @@ - s/\n//; - $env_section = '1' and next if ((/^# SOLARIS #$/) && ($ENV{OS} eq 'SOLARIS')); - $env_section = '1' and next if ((/^# LINUX #$/) && ($ENV{OS} eq 'LINUX')); -- last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/))); -+ $env_section = '1' and next if ((/^# FREEBSD #$/) && ($ENV{OS} eq 'FREEBSD')); -+ last if ($env_section && ((/^# SOLARIS #$/) || (/^# LINUX #$/) || (/^# FREEBSD #$/))); - next if (!$_ || /^#/); - push(@filters, $_); - }; diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+config+ssrx644.ini b/editors/openoffice.org-1.1-devel/files/patch-solenv+config+ssrx644.ini deleted file mode 100644 index 08ed8861d271..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+config+ssrx644.ini +++ /dev/null @@ -1,33 +0,0 @@ ---- ../solenv/config/ssrx644.ini.orig Sat Mar 29 22:19:08 2003 -+++ ../solenv/config/ssrx644.ini Sat Mar 29 22:27:31 2003 -@@ -3704,9 +3704,9 @@ - SOLARENV %SOLAR_SOURCE_ROOT%/%WORK_STAMP%/src%UPDMINOREXT%/solenv - SOLARROOT %SOLAR_ENV_ROOT% - DEVROOT %SOLAR_ENV_ROOT% -- SOLAR_JDK13PATH %SOLAR_ENV_ROOT%/Linux_JDK_1.3.1 -- SOLAR_JDK14PATH %SOLAR_ENV_ROOT%/Linux_JDK_1.4.0 -- COMPATH %SOLAR_ENV_ROOT%$/gcc_3.0.1_linux_libc2.11_turbolinux -+ SOLAR_JDK13PATH %SOLAR_ENV_ROOT%/jdk1.3.1 -+ SOLAR_JDK14PATH %SOLAR_ENV_ROOT%/jdk1.4.1 -+ COMPATH %SOLAR_ENV_ROOT% - } - compath - { -@@ -3810,7 +3810,7 @@ - } - debug - { -- LD_LIBRARY_PATH %SOLARROOT%/solenv/unxlngi4/lib/debug:%LD_LIBRARY_PATH% -+ LD_LIBRARY_PATH %SOLARROOT%/solenv/unxfbsdi/lib/debug:%LD_LIBRARY_PATH% - } - pre - { -@@ -3824,7 +3824,7 @@ - } - reset - { -- RESETPATH /usr/bin/X11:/bin:/usr/openwin/bin:/usr/dt/bin:%HOME%/%WORK_STAMP%/unxlngi4%PROEXT%/bin:%SOLARVERSION%/unxlngi4%PROEXT%/bin%UPDMINOREXT%:/usr/bin -+ RESETPATH /usr/bin/X11:/bin:/usr/openwin/bin:/usr/dt/bin:%HOME%/%WORK_STAMP%/unxfbsdi%PROEXT%/bin:%SOLARVERSION%/unxfbsdi%PROEXT%/bin%UPDMINOREXT%:/usr/bin - *make - } - ca diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+startup+FREEBSD+macros.mk b/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+startup+FREEBSD+macros.mk deleted file mode 100644 index 0c1b107de988..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+startup+FREEBSD+macros.mk +++ /dev/null @@ -1,5 +0,0 @@ ---- /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 diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+tg_ext.mk b/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+tg_ext.mk deleted file mode 100644 index 701692c9425a..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+tg_ext.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../solenv/inc/tg_ext.mk.orig Fri May 10 14:12:12 2002 -+++ ../solenv/inc/tg_ext.mk Mon Jul 15 14:34:30 2002 -@@ -81,7 +81,9 @@ - .ENDIF # "$(GUI)"=="WNT" - - .IF "$(OS)"!="NETBSD" -+.IF "$(OS)"!="FREEBSD" - PATCHFLAGS=-b -+.ENDIF # "$(OS)"=="FREEBSD" - .ENDIF # "$(OS)"=="NETBSD" - - #override diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+tg_moz.mk b/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+tg_moz.mk deleted file mode 100644 index 255a41f92281..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+tg_moz.mk +++ /dev/null @@ -1,17 +0,0 @@ ---- ../solenv/inc/tg_moz.mk.orig Sat Jul 20 23:57:37 2002 -+++ ../solenv/inc/tg_moz.mk Sat Jul 20 23:57:55 2002 -@@ -36,6 +36,14 @@ - CPUCFG=_linux.cfg - .ENDIF - -+.IF "$(OS)"=="FREEBSD" -+CPUCFG=_freebsd.cfg -+.ENDIF -+ -+.IF "$(OS)"=="NETBSD" -+CPUCFG=_netbsd.cfg -+.ENDIF -+ - .IF "$(GEN_PRCPUCFG)"!="" - $(GEN_PRCPUCFG): $(PRJ)$/pr$/include$/md$/$(CPUCFG) - @+$(COPY) $(PRJ)$/pr$/include$/md$/$(CPUCFG) $@ diff --git a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+unxfbsdi.mk deleted file mode 100644 index 9da9a684d7c0..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-solenv+inc+unxfbsdi.mk +++ /dev/null @@ -1,203 +0,0 @@ ---- ../solenv/inc/unxfbsdi.mk.orig Fri Jan 31 16:46:52 2003 -+++ ../solenv/inc/unxfbsdi.mk Wed Mar 5 20:23:28 2003 -@@ -61,50 +61,115 @@ - #************************************************************************* - - # mak file for unxfbsdi -+ASM=$(CC) -+AFLAGS=-x assembler-with-cpp -c $(CDEFS) - --ASM= --AFLAGS= -+# filter for supressing verbose messages from linker -+#not needed at the moment -+#LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter" -+ -+# this is a platform with JAVA support -+.IF "$(SOLAR_JAVA)"!="" -+JAVADEF=-DSOLAR_JAVA -+.IF "$(debug)"=="" -+JAVA_RUNTIME=-ljava -+.ELSE -+JAVA_RUNTIME=-ljava_g -+.ENDIF -+.ENDIF - --SOLAR_JAVA=TRUE --JAVAFLAGSDEBUG=-g -+# name of C++ Compiler -+CXX*=g++ -+# name of C Compiler -+CC*=gcc - -+# filter for supressing verbose messages from linker -+# not needed at the moment - LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter" - -+# options for C and C++ Compiler -+CDEFS+= -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=450 -DOSVERSION=$(OSVERSION) -+CDEFS+= $(PTHREAD_CFLAGS) -D_REENTRANT - --CC= gcc --CXX= g++ --CDEFS+= -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=400 --CDEFS+= -D_REENTRANT -D_PTHREADS -D_THREAD_SAFE --CFLAGS+= -c $(INCLUDE) -+# flags for C and C++ Compile -+CFLAGS+= -w -c $(INCLUDE) - CFLAGS+= -I/usr/X11R6/include -+ -+# flags for the C++ Compiler - CFLAGSCC= -pipe - CFLAGSCXX= -pipe -fno-for-scope -fpermissive -+ -+# Flags for enabling exception handling - CFLAGSEXCEPTIONS= -fexceptions - CFLAGS_NO_EXCEPTIONS= -fno-exceptions -+ -+# Compiler flags for compiling static object in single threaded -+# environment with graphical user interface - CFLAGSOBJGUIST= -fPIC -+ -+# Compiler flags for compiling static object in single threaded -+# environment with character user interface - CFLAGSOBJCUIST= -fPIC -+ -+# Compiler flags for compiling static object in multi threaded -+# environment with graphical user interface - CFLAGSOBJGUIMT= -fPIC -+ -+# Compiler flags for compiling static object in multi threaded -+# environment with character user interface - CFLAGSOBJCUIMT= -fPIC -+ -+# Compiler flags for compiling shared object in multi threaded -+# environment with graphical user interface - CFLAGSSLOGUIMT= -fPIC -+ -+# Compiler flags for compiling shared object in multi threaded -+# environment with character user interface - CFLAGSSLOCUIMT= -fPIC -+ -+# Compiler flags for profilin - CFLAGSPROF= -pg -+ -+# Compiler flags for debugging - CFLAGSDEBUG= -g - CFLAGSDBGUTIL= --CFLAGSOPT= -O2 --CFLAGSNOOPT= -O -+ -+# Compiler flags to enable optimizations -+# -02 is broken for FreeBSD -+CFLAGSOPT= -O -+ -+# Compiler flags to disable optimizations -+# -0 is broken for STLport for FreeBSD -+CFLAGSNOOPT= -O0 -+ -+# Compiler flags for the output path - CFLAGSOUTOBJ= -o - -+# Enable all warnings -+CFLAGSWALL=-Wall -+ -+# Set default warn level -+CFLAGSDFLTWARN=-w -+ -+# switches for dynamic and static linking - STATIC= -Wl,-Bstatic - DYNAMIC= -Wl,-Bdynamic - --#THREADLIB= -pthread --LINK= gcc --# -v -nostdlib --LINKFLAGS= --LINKFLAGSAPPGUI= -Wl,-export-dynamic --LINKFLAGSAPPCUI= -Wl,-export-dynamic -+# name of linker -+LINK=$(CXX) -+ -+# default linker flags -+# LINKFLAGSRUNPATH*=-Wl,-rpath\''$$ORIGIN'\' -+LINKFLAGS=$(LINKFLAGSRUNPATH) -+ -+# linker flags for linking applications -+LINKFLAGSAPPGUI= -Wl,--noinhibit-exec -+LINKFLAGSAPPCUI= -Wl,--noinhibit-exec -+ -+# linker flags for linking shared libraries - LINKFLAGSSHLGUI= -shared - LINKFLAGSSHLCUI= -shared -+ - LINKFLAGSTACK= - LINKFLAGSPROF= - LINKFLAGSDEBUG=-g -@@ -119,28 +184,41 @@ - - LINKVERSIONMAPFLAG=-Wl,--version-script - -+# Sequence of libs does matter ! - STDLIBCPP=-lstdc++ - - # _SYSLIBS= -L/usr/lib -lm - # _X11LIBS= -L/usr/X11R6/lib -lXext -lX11 - # _CXXLIBS= -L/usr/lib -lstdc++ -L/usr/local/lib - -+# default objectfilenames to link - STDOBJGUI= - STDSLOGUI= - STDOBJCUI= - STDSLOCUI= - -+# libraries for linking applications - STDLIBCUIST=-lm --STDLIBGUIST=-lX11 -lm --STDLIBGUIMT=-lX11 -lXext -pthread -lm -lstlport_gcc --STDLIBCUIMT=-pthread -lm -lstlport_gcc --STDSHLGUIMT=-lX11 -lXext -pthread -lm -lstlport_gcc --STDSHLCUIMT=-pthread -lm -lstlport_gcc -- --LIBMGR= ar --LIBFLAGS= -r -+STDLIBGUIST=-lXaw -lXt -lX11 -lm -+STDLIBGUIMT=-lXaw -lXt -lX11 $(PTHREAD_LIBS) -lm -lstlport_gcc -+STDLIBCUIMT=$(PTHREAD_LIBS) -lm -lstlport_gcc -+ -+# libraries for linking shared libraries -+STDSHLGUIMT=-lXaw -lXt -lX11 -lXext $(PTHREAD_LIBS) -lm -lstlport_gcc -+STDSHLCUIMT=$(PTHREAD_LIBS) -lm -lstlport_gcc -+ -+LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive -+ -+# STLport always needs pthread. -+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc $(PTHREAD_LIBS) -+LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC) $(PTHREAD_LIBS) -+ -+# name of library manager -+LIBMGR=ar -+LIBFLAGS=-r - LIBEXT= .a - -+# tool for generating import libraries - IMPLIB= - IMPLIBFLAGS= - -@@ -148,12 +226,12 @@ - MAPSYMFLAGS= - - RC=irc --RCFLAGS= -fo$@ $(RCFILES) -+RCFLAGS=-fo$@ $(RCFILES) - RCLINK= - RCLINKFLAGS= - RCSETVERSION= - --DLLPOSTFIX= fi --DLLPRE= lib --DLLPOST= .so --LDUMP= -+# platform specific identifier for shared libs -+DLLPOSTFIX=fi -+DLLPRE=lib -+DLLPOST=.so diff --git a/editors/openoffice.org-1.1-devel/files/patch-soltools+checkdll+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-soltools+checkdll+makefile.mk deleted file mode 100644 index e6407402258a..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-soltools+checkdll+makefile.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../soltools/checkdll/makefile.mk.orig Tue Mar 11 14:21:02 2003 -+++ ../soltools/checkdll/makefile.mk Tue Mar 11 14:21:30 2003 -@@ -80,7 +80,9 @@ - APP1TARGET = checkdll - APP1OBJS = $(OBJ)$/checkdll.obj - DEPOBJFILES = $(APP1OBJS) -+.IF "$(OS)"!="FREEBSD" - STDLIB += -ldl -+.ENDIF - .IF "$(OS)"=="NETBSD" - APP1STDLIBS += -Wl,--whole-archive -lgcc -Wl,--no-whole-archive - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-soltools+mkdepend+main.c b/editors/openoffice.org-1.1-devel/files/patch-soltools+mkdepend+main.c deleted file mode 100644 index cffd5cbb1f43..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-soltools+mkdepend+main.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ../soltools/mkdepend/main.c.orig Mon Apr 15 15:55:43 2002 -+++ ../soltools/mkdepend/main.c Mon Apr 15 16:54:06 2002 -@@ -27,6 +27,9 @@ - - */ - -+#include <sys/types.h> -+#include <sys/stat.h> -+ - #include "def.h" - #ifdef hpux - #define sigvec sigvector diff --git a/editors/openoffice.org-1.1-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-1.1-devel/files/patch-source+javavm+interact.cxx deleted file mode 100644 index 3b138eaaff50..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-source+javavm+interact.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 -+++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 -@@ -129,7 +129,7 @@ - m_aRequest(rRequest) - { - bool bRetry; --#if defined LINUX -+#if defined LINUX || defined FREEBSD - // Only if Java is disabled we allow retry: - bRetry = m_aRequest.isExtractableTo( - getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-1.1-devel/files/patch-stlport+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stlport+makefile.mk deleted file mode 100644 index 797817ba85be..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stlport+makefile.mk +++ /dev/null @@ -1,30 +0,0 @@ ---- ../stlport/makefile.mk.orig Thu Feb 20 16:13:40 2003 -+++ ../stlport/makefile.mk Wed Mar 5 19:41:42 2003 -@@ -104,16 +104,27 @@ - - .IF "$(COM)"=="GCC" - .IF "$(COMID)"=="gcc3" -+# FreeBSD needs a special makefile -+.IF "$(OS)"=="FREEBSD" -+BUILD_FLAGS=-f gcc-3.0-freebsd.mak -+.ELSE - BUILD_FLAGS=-f gcc-3.0.mak -+.ENDIF - .ELSE # "$(COMID)"=="gcc3" - # MacOS X/Darwin need a special makefile - .IF "$(OS)"=="MACOSX" - BUILD_FLAGS=-f gcc-apple-macosx.mak -+.ELIF "$(OS)"=="FREEBSD" -+ BUILD_FLAGS=-f gcc-freebsd.mak - .ELSE # "$(OS)"=="MACOSX" - BUILD_FLAGS=-f gcc.mak - .ENDIF # "$(OS)"=="MACOSX" - .ENDIF # "$(COMID)"=="gcc3" -+.IF "$(OS)"=="FREEBSD" -+BUILD_ACTION=gmake -+.ELSE - BUILD_ACTION=make -+.ENDIF - # build in parallel - BUILD_FLAGS+= -j$(MAXPROCESS) - .ENDIF diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+corereflection+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+corereflection+makefile.mk deleted file mode 100644 index 4b319b08d401..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+corereflection+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/corereflection/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/corereflection/makefile.mk -@@ -87,9 +87,9 @@ - SHL1TARGET= $(TARGET) - SHL1VERSIONMAP= $(TARGET).map - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1IMPLIB= i$(TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+defaultregistry+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+defaultregistry+makefile.mk deleted file mode 100644 index 4cae0476415a..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+defaultregistry+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/defaultregistry/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/defaultregistry/makefile.mk -@@ -84,9 +84,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1VERSIONMAP= $(TARGET).map - SHL1DEPN= diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+implementationregistration+implreg.cxx b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+implementationregistration+implreg.cxx deleted file mode 100644 index 341d621d872c..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+implementationregistration+implreg.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../stoc/source/implementationregistration/implreg.cxx.orig Tue Apr 16 19:54:58 2002 -+++ ../stoc/source/implementationregistration/implreg.cxx Tue Apr 16 19:55:26 2002 -@@ -60,6 +60,8 @@ - ************************************************************************/ - #include <list> - -+#include <unistd.h> -+ - #ifndef _CPPUHELPER_QUERYINTERFACE_HXX_ - #include <cppuhelper/queryinterface.hxx> - #endif diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+implementationregistration+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+implementationregistration+makefile.mk deleted file mode 100644 index 0051043b7ecb..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+implementationregistration+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/implementationregistration/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/implementationregistration/makefile.mk -@@ -85,9 +85,9 @@ - SHL1VERSIONMAP=$(TARGET).map - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1IMPLIB= i$(TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+inspect+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+inspect+makefile.mk deleted file mode 100644 index c7cd85253c11..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+inspect+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/inspect/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/inspect/makefile.mk -@@ -82,9 +82,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1IMPLIB= i$(TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+invocation+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+invocation+makefile.mk deleted file mode 100644 index 9ac2072a5612..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+invocation+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/invocation/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/invocation/makefile.mk -@@ -82,9 +82,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1VERSIONMAP=$(TARGET).map - SHL1DEPN= diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+invocation_adapterfactory+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+invocation_adapterfactory+makefile.mk deleted file mode 100644 index 8853ad39a90e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+invocation_adapterfactory+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/invocation_adapterfactory/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/invocation_adapterfactory/makefile.mk -@@ -82,9 +82,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1VERSIONMAP= $(TARGET).map - diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javaloader+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javaloader+makefile.mk deleted file mode 100644 index cea499f15c57..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javaloader+makefile.mk +++ /dev/null @@ -1,15 +0,0 @@ ---- ../stoc/source/javaloader/makefile.mk.orig Fri Dec 6 11:51:54 2002 -+++ ../stoc/source/javaloader/makefile.mk Wed Mar 5 19:35:11 2003 -@@ -83,10 +83,10 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS=\ -+ $(SALLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ -- $(SALLIB) \ -- $(JVMACCESSLIB) -+ $(JVMACCESSLIB) - - SHL1VERSIONMAP=$(TARGET).map - SHL1DEPN= diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx deleted file mode 100644 index a0796522b4c8..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx +++ /dev/null @@ -1,29 +0,0 @@ ---- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 -+++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 -@@ -1097,7 +1097,7 @@ - static_cast< - css::java::JavaNotConfiguredException * >(0)))) - { --#if defined LINUX -+#if defined LINUX || defined FREEBSD - // Because of LD_LIBRARY_PATH, even javaldx --use-links does - // not work sometimes: - m_bDontCreateJvm = true; -@@ -1109,7 +1109,7 @@ - css::java::MissingJavaRuntimeException * >( - 0)))) - { --#if defined LINUX -+#if defined LINUX || defined FREEBSD - // Because of LD_LIBRARY_PATH, even javaldx --use-links does - // not work sometimes: - m_bDontCreateJvm = true; -@@ -1596,7 +1596,7 @@ - // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because - // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded - // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so --#ifdef LINUX -+#ifdef LINUX || defined FREEBSD - if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) - #else - if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+makefile.mk deleted file mode 100644 index b895a2b968d4..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/javavm/makefile.mk.orig Fri Dec 6 11:48:59 2002 -+++ ../stoc/source/javavm/makefile.mk Wed Mar 5 19:36:03 2003 -@@ -100,10 +100,10 @@ - SHL1TARGET= $(TARGET) - SHL1VERSIONMAP=$(TARGET).map - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(UNOLIB) \ -- $(SALLIB) \ - $(JVMACCESSLIB) \ - $(SALHELPERLIB) - diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+loader+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+loader+makefile.mk deleted file mode 100644 index 5a08ee5937b6..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+loader+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/loader/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/loader/makefile.mk -@@ -83,9 +83,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1VERSIONMAP=$(TARGET).map - SHL1DEPN= diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+namingservice+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+namingservice+makefile.mk deleted file mode 100644 index e573081bc21d..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+namingservice+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/namingservice/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/namingservice/makefile.mk -@@ -82,9 +82,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1VERSIONMAP=$(TARGET).map - diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+proxy_factory+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+proxy_factory+makefile.mk deleted file mode 100644 index 9110b2f50cd1..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+proxy_factory+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/proxy_factory/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/proxy_factory/makefile.mk -@@ -85,9 +85,9 @@ - SHL1VERSIONMAP=$(TARGET).map - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1IMPLIB=i$(TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+registry_tdprovider+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+registry_tdprovider+makefile.mk deleted file mode 100644 index 9d974d1c0d10..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+registry_tdprovider+makefile.mk +++ /dev/null @@ -1,15 +0,0 @@ ---- ../stoc/source/registry_tdprovider/makefile.mk.orig Tue Jan 1 14:12:02 2002 -+++ ../stoc/source/registry_tdprovider/makefile.mk -@@ -88,10 +88,10 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ - $(CPPUHELPERLIB) \ -- $(SALHELPERLIB) \ -- $(SALLIB) -+ $(SALHELPERLIB) - - SHL1DEPN= - SHL1VERSIONMAP=$(TARGET).map diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+servicemanager+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+servicemanager+makefile.mk deleted file mode 100644 index 746776d54759..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+servicemanager+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/servicemanager/makefile.mk.orig Tue Jan 1 14:12:03 2002 -+++ ../stoc/source/servicemanager/makefile.mk -@@ -84,9 +84,9 @@ - SHL1VERSIONMAP=$(TARGET).map - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1IMPLIB= i$(TARGET) diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+servicemanager+servicemanager.cxx b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+servicemanager+servicemanager.cxx deleted file mode 100644 index 4aef0d4ff05e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+servicemanager+servicemanager.cxx +++ /dev/null @@ -1,34 +0,0 @@ ---- ../stoc/source/servicemanager/servicemanager.cxx Wed Mar 12 17:57:10 2003 -+++ ../stoc/source/servicemanager/servicemanager.cxx Wed Mar 12 18:51:36 2003 -@@ -2,9 +2,9 @@ - * - * $RCSfile: servicemanager.cxx,v $ - * -- * $Revision: 1.19.2.1 $ -+ * $Revision: 1.19.2.1.16.1 $ - * -- * last change: $Author: rt $ $Date: 2003/01/28 17:21:31 $ -+ * last change: $Author: dbo $ $Date: 2003/03/10 15:14:02 $ - * - * The Contents of this file are made available subject to the terms of - * either of the following licenses -@@ -686,6 +686,7 @@ - - protected: - inline void check_undisposed() const SAL_THROW( (lang::DisposedException) ); -+ virtual void SAL_CALL disposing(); - - sal_Bool haveFactoryWithThisImplementation(const OUString& aImplName); - -@@ -1081,7 +1082,10 @@ - if (rBHelper.bDisposed || rBHelper.bInDispose) - return; - t_OServiceManager_impl::dispose(); -- -+} -+ -+void OServiceManager::disposing() -+{ - // dispose all factories - HashSet_Ref aImpls; - { diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+tdmanager+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+tdmanager+makefile.mk deleted file mode 100644 index 76403fdde841..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+tdmanager+makefile.mk +++ /dev/null @@ -1,15 +0,0 @@ ---- ../stoc/source/tdmanager/makefile.mk.orig Tue Jan 1 14:12:03 2002 -+++ ../stoc/source/tdmanager/makefile.mk -@@ -83,9 +83,10 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) -+ - SHL1VERSIONMAP=$(TARGET).map - - SHL1DEPN= diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+typeconv+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+typeconv+makefile.mk deleted file mode 100644 index dc647f89a166..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+typeconv+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../stoc/source/typeconv/makefile.mk.orig Tue Jan 1 14:12:03 2002 -+++ ../stoc/source/typeconv/makefile.mk -@@ -82,9 +82,9 @@ - SHL1TARGET= $(TARGET) - - SHL1STDLIBS= \ -+ $(SALLIB) \ - $(CPPULIB) \ -- $(CPPUHELPERLIB) \ -- $(SALLIB) -+ $(CPPUHELPERLIB) - - SHL1DEPN= - SHL1VERSIONMAP= $(TARGET).map diff --git a/editors/openoffice.org-1.1-devel/files/patch-store+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-store+util+makefile.mk deleted file mode 100644 index 6bef6e960f2e..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-store+util+makefile.mk +++ /dev/null @@ -1,14 +0,0 @@ ---- ../store/util/makefile.mk.orig Tue Mar 11 14:58:53 2003 -+++ ../store/util/makefile.mk Tue Mar 11 14:59:34 2003 -@@ -102,7 +102,11 @@ - - # On gcc3 __Unwind_SetIP is not in supc++ but in libgcc_s.so - .IF "$(COMID)"=="gcc3" -+.IF "$(OS)"=="FREEBSD" -+SHL1STDLIBS+= -lsupc++ -+.ELSE - SHL1STDLIBS+= -lsupc++ -lgcc_s -+.ENDIF - .ENDIF - - diff --git a/editors/openoffice.org-1.1-devel/files/patch-svx+source+fmcomp+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-svx+source+fmcomp+makefile.mk deleted file mode 100644 index b16030080c0d..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-svx+source+fmcomp+makefile.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../svx/source/fmcomp/makefile.mk.orig Sun May 19 14:22:34 2002 -+++ ../svx/source/fmcomp/makefile.mk Sun May 19 14:27:48 2002 -@@ -74,6 +74,9 @@ - .INCLUDE : sv.mk - .INCLUDE : $(PRJ)$/util$/makefile.pmk - -+CFLAGS += -g -+CFLAGSCC += -g -+ - # --- Files -------------------------------------------------------- - - CXXFILES= \ diff --git a/editors/openoffice.org-1.1-devel/files/patch-svx+source+svrtf+rtfitem.cxx b/editors/openoffice.org-1.1-devel/files/patch-svx+source+svrtf+rtfitem.cxx deleted file mode 100644 index 5ebcaf8e27b1..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-svx+source+svrtf+rtfitem.cxx +++ /dev/null @@ -1,24 +0,0 @@ ---- ../svx/source/svrtf/rtfitem.cxx.orig Thu Apr 17 22:50:50 2003 -+++ ../svx/source/svrtf/rtfitem.cxx Thu Apr 17 23:40:15 2003 -@@ -285,11 +285,20 @@ - } - else - { -- if( LOW_CHARTYPE == eType || HIGH_CHARTYPE == eType ) -+// if( LOW_CHARTYPE == eType || HIGH_CHARTYPE == eType ) //Takashi Ono for CJK -+ if( LOW_CHARTYPE == eType ) - { - if( *pNormal ) - { - rItem.SetWhich( *pNormal ); -+ rSet.Put( rItem ); -+ } -+ } -+ else if( HIGH_CHARTYPE == eType ) -+ { -+ if( *pCTL ) -+ { -+ rItem.SetWhich( *pCTL ); - rSet.Put( rItem ); - } - } diff --git a/editors/openoffice.org-1.1-devel/files/patch-svx+source+svrtf+svxrtf.cxx b/editors/openoffice.org-1.1-devel/files/patch-svx+source+svrtf+svxrtf.cxx deleted file mode 100644 index 6d07a8f4d6ff..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-svx+source+svrtf+svxrtf.cxx +++ /dev/null @@ -1,19 +0,0 @@ ---- ../svx/source/svrtf/svxrtf.cxx.orig 2003-01-17 22:27:36.000000000 +0900 -+++ ../svx/source/svrtf/svxrtf.cxx 2003-04-06 00:37:52.000000000 +0900 -@@ -583,8 +583,14 @@ - - case RTF_FCHARSET: - if( -1 != nTokenValue ) -- pFont->SetCharSet( rtl_getTextEncodingFromWindowsCharset( -- (BYTE)nTokenValue ) ); -+ { -+// pFont->SetCharSet( rtl_getTextEncodingFromWindowsCharset( -+// (BYTE)nTokenValue ) ); -+ CharSet nCharSet = -+ rtl_getTextEncodingFromWindowsCharset( (BYTE)nTokenValue ); -+ pFont->SetCharSet( nCharSet ); -+ SetEncoding( nCharSet ); //Takashi Ono -+ } - break; - - case RTF_FPRQ: diff --git a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+rtf+swparrtf.cxx b/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+rtf+swparrtf.cxx deleted file mode 100644 index 03f0d8bd8b59..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+rtf+swparrtf.cxx +++ /dev/null @@ -1,161 +0,0 @@ ---- ../sw/source/filter/rtf/swparrtf.cxx.orig Thu Apr 17 22:51:18 2003 -+++ ../sw/source/filter/rtf/swparrtf.cxx Thu Apr 17 22:59:27 2003 -@@ -3120,10 +3120,156 @@ - SetSwgValues( rCollSet ); - } - -+//Takashi Ono for CJK -+String SwRTFParser::XlateFmtColName( const String &rName ) -+{ -+#define RES_NONE RES_POOLCOLL_DOC_END -+ -+ static const RES_POOL_COLLFMT_TYPE aArr[]={ -+ RES_POOLCOLL_STANDARD, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE2, -+ RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, -+ RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE7, RES_POOLCOLL_HEADLINE8, -+ RES_POOLCOLL_HEADLINE9, -+ -+ RES_POOLCOLL_TOX_IDX1, RES_POOLCOLL_TOX_IDX2, RES_POOLCOLL_TOX_IDX3, -+ RES_NONE, RES_NONE, RES_NONE, RES_NONE, RES_NONE, RES_NONE, -+ RES_POOLCOLL_TOX_CNTNT1, -+ -+ RES_POOLCOLL_TOX_CNTNT2, RES_POOLCOLL_TOX_CNTNT3, RES_POOLCOLL_TOX_CNTNT4, -+ RES_POOLCOLL_TOX_CNTNT5, RES_POOLCOLL_TOX_CNTNT6, RES_POOLCOLL_TOX_CNTNT7, -+ RES_POOLCOLL_TOX_CNTNT8, RES_POOLCOLL_TOX_CNTNT9, -+ RES_NONE, RES_POOLCOLL_FOOTNOTE, -+ -+ RES_NONE, RES_POOLCOLL_HEADER, RES_POOLCOLL_FOOTER, RES_POOLCOLL_TOX_IDXH, -+ RES_NONE, RES_NONE, RES_POOLCOLL_JAKETADRESS, RES_POOLCOLL_SENDADRESS, -+ RES_NONE, RES_NONE, -+ -+ RES_NONE, RES_NONE, RES_NONE, RES_POOLCOLL_ENDNOTE, RES_NONE, RES_NONE, RES_NONE, -+ RES_POOLCOLL_LISTS_BEGIN, RES_NONE, RES_NONE, -+ -+ RES_NONE, RES_NONE, RES_NONE, RES_NONE, RES_NONE, -+ RES_NONE, RES_NONE, RES_NONE, RES_NONE, RES_NONE, -+ -+ RES_NONE,RES_NONE, RES_POOLCOLL_DOC_TITEL, RES_NONE, RES_POOLCOLL_SIGNATURE, RES_NONE, -+ RES_POOLCOLL_TEXT, RES_POOLCOLL_TEXT_MOVE, RES_NONE, RES_NONE, -+ -+ RES_NONE, RES_NONE, RES_NONE, RES_NONE, RES_POOLCOLL_DOC_SUBTITEL }; -+ static const sal_Char *stiName[] = { -+ "Normal", -+ "heading 1", -+ "heading 2", -+ "heading 3", -+ "heading 4", -+ "heading 5", -+ "heading 6", -+ "heading 7", -+ "heading 8", -+ "heading 9", -+ "index 1", -+ "index 2", -+ "index 3", -+ "index 4", -+ "index 5", -+ "index 6", -+ "index 7", -+ "index 8", -+ "index 9", -+ "toc 1", -+ "toc 2", -+ "toc 3", -+ "toc 4", -+ "toc 5", -+ "toc 6", -+ "toc 7", -+ "toc 8", -+ "toc 9", -+ "Normal Indent", -+ "footnote text", -+ "annotation text", -+ "header", -+ "footer", -+ "index heading", -+ "caption", -+ "table of figures", -+ "envelope address", -+ "envelope return", -+ "footnote reference", -+ "annotation reference", -+ "line number", -+ "page number", -+ "endnote reference", -+ "endnote text", -+ "table of authorities", -+ "macro", -+ "toa heading", -+ "List", -+ "List Bullet", -+ "List Number", -+ "List 2", -+ "List 3", -+ "List 4", -+ "List 5", -+ "List Bullet 2", -+ "List Bullet 3", -+ "List Bullet 4", -+ "List Bullet 5", -+ "List Number 2", -+ "List Number 3", -+ "List Number 4", -+ "List Number 5", -+ "Title", -+ "Closing", -+ "Signature", -+ "Default Paragraph Font", -+ "Body Text", -+ "Body Text Indent", -+ "List Continue", -+ "List Continue 2", -+ "List Continue 3", -+ "List Continue 4", -+ "List Continue 5", -+ "Message Header", -+ "Subtitle", -+ }; -+ -+ -+ ASSERT( ( sizeof( aArr ) / sizeof( RES_POOL_COLLFMT_TYPE ) == 75 ), -+ "Style-UEbersetzungstabelle hat falsche Groesse" ); -+ ASSERT( ( sizeof( stiName ) / sizeof( *stiName ) == 75 ), -+ "Style-UEbersetzungstabelle hat falsche Groesse" ); -+ -+ RES_POOL_COLLFMT_TYPE nId = RES_NONE; -+ -+ for (int i = 0; i < sizeof( stiName ) / sizeof( *stiName ); i++) -+ { -+ if ( rName == String( stiName[i], RTL_TEXTENCODING_MS_1252 ) ) -+ { -+ nId = aArr[i]; -+ break; -+ } -+ } -+ USHORT nResId; -+ if( RES_POOLCOLL_TEXT_BEGIN <= nId && nId < RES_POOLCOLL_TEXT_END ) -+ nResId = RC_POOLCOLL_TEXT_BEGIN - RES_POOLCOLL_TEXT_BEGIN; -+ else if (RES_POOLCOLL_LISTS_BEGIN <= nId && nId < RES_POOLCOLL_LISTS_END) -+ nResId = RC_POOLCOLL_LISTS_BEGIN - RES_POOLCOLL_LISTS_BEGIN; -+ else if (RES_POOLCOLL_EXTRA_BEGIN <= nId && nId < RES_POOLCOLL_EXTRA_END) -+ nResId = RC_POOLCOLL_EXTRA_BEGIN - RES_POOLCOLL_EXTRA_BEGIN; -+ else if (RES_POOLCOLL_REGISTER_BEGIN <= nId && nId < RES_POOLCOLL_REGISTER_END) -+ nResId = RC_POOLCOLL_REGISTER_BEGIN - RES_POOLCOLL_REGISTER_BEGIN; -+ else if (RES_POOLCOLL_DOC_BEGIN <= nId && nId < RES_POOLCOLL_DOC_END) -+ nResId = RC_POOLCOLL_DOC_BEGIN - RES_POOLCOLL_DOC_BEGIN; -+ else if (RES_POOLCOLL_HTML_BEGIN <= nId && nId < RES_POOLCOLL_HTML_END) -+ nResId = RC_POOLCOLL_HTML_BEGIN - RES_POOLCOLL_HTML_BEGIN; -+ return String( ResId( nResId + nId, pSwResMgr ) ); -+} -+ - SwTxtFmtColl* SwRTFParser::MakeStyle( USHORT nNo, const SvxRTFStyleType& rStyle ) - { -- int bCollExist; -- SwTxtFmtColl* pColl = MakeColl( rStyle.sName, USHORT(nNo), -+ int bCollExist; -+// SwTxtFmtColl* pColl = MakeColl( rStyle.sName, USHORT(nNo), //Takashi Ono for CJK -+ SwTxtFmtColl* pColl = MakeColl( XlateFmtColName( rStyle.sName ), -+ USHORT(nNo), - rStyle.nOutlineNo, bCollExist ); - aTxtCollTbl.Insert( nNo, pColl ); - diff --git a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+rtf+swparrtf.hxx b/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+rtf+swparrtf.hxx deleted file mode 100644 index 2a690d3de0d2..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+rtf+swparrtf.hxx +++ /dev/null @@ -1,10 +0,0 @@ ---- ../sw/source/filter/rtf/swparrtf.hxx.orig Fri Feb 7 01:29:41 2003 -+++ ../sw/source/filter/rtf/swparrtf.hxx Thu Apr 17 22:57:18 2003 -@@ -360,6 +360,7 @@ - void SetStyleAttr( SfxItemSet& rCollSet, - const SfxItemSet& rStyleSet, - const SfxItemSet& rDerivedSet ); -+ String XlateFmtColName( const String &rName ); //Takashi Ono for CJK - SwTxtFmtColl* MakeStyle( USHORT nNo, const SvxRTFStyleType& rStyle ); - SwCharFmt* MakeCharStyle( USHORT nNo, const SvxRTFStyleType& rStyle ); - void MakeStyleTab(); diff --git a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+ww8+ww8par.cxx b/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+ww8+ww8par.cxx deleted file mode 100644 index 793e8488f12c..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+ww8+ww8par.cxx +++ /dev/null @@ -1,38 +0,0 @@ ---- ../sw/source/filter/ww8/ww8par.cxx.orig 2003-02-07 01:34:02.000000000 +0900 -+++ ../sw/source/filter/ww8/ww8par.cxx 2003-04-10 07:04:46.000000000 +0900 -@@ -1558,11 +1558,20 @@ - if (bVer67) - { - sal_Char aTest[2]; -- aTest[0] = (nUCode & 0xFF00) >> 8; -- aTest[1] = (nUCode & 0x00FF); -- String aTemp(aTest, 2, eSrcCharSet); -- ASSERT(aTemp.Len() == 1, "so much for that theory"); -- *pWork = aTemp.GetChar(0); -+ if (nUCode >= 0x3000) -+ { -+ aTest[0] = (nUCode & 0xFF00) >> 8; -+ aTest[1] = (nUCode & 0x00FF); -+ String aTemp(aTest, 2, eSrcCharSet); -+ ASSERT(aTemp.Len() == 1, "so much for that theory"); -+ *pWork = aTemp.GetChar(0); -+ } -+ else -+ { -+ aTest[0] = (nUCode & 0x00FF); -+ String aTemp(aTest, 1, eSrcCharSet); -+ *pWork = aTemp.GetChar(0); -+ } - } - else - *pWork = nUCode; -@@ -3099,7 +3108,8 @@ - { - case 6: - case 7: -- if ( (0xa5dc != nMagic) && (0xa699 != nMagic) ) -+ //if ( (0xa5dc != nMagic) && (0xa699 != nMagic) ) //Takashi Ono -+ if ( (0xa5dc != nMagic) && ( (0xa697 > nMagic) || (0xa699 < nMagic) ) ) - { - //JP 06.05.99: teste auf eigenen 97-Fake! - if (pStg && 0xa5ec == nMagic) diff --git a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+ww8+ww8par6.cxx b/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+ww8+ww8par6.cxx deleted file mode 100644 index 1ff350ab77e5..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sw+source+filter+ww8+ww8par6.cxx +++ /dev/null @@ -1,25 +0,0 @@ ---- ../sw/source/filter/ww8/ww8par6.cxx.orig 2003-02-07 01:36:16.000000000 +0900 -+++ ../sw/source/filter/ww8/ww8par6.cxx 2003-04-06 08:56:40.000000000 +0900 -@@ -3352,9 +3352,11 @@ - nId = RES_CHRATR_CTL_FONT; - break; - case 93: -+ case 111: - case 0x4a4f: - nId = RES_CHRATR_FONT; - break; -+ case 112: - case 0x4a50: - nId = RES_CHRATR_CJK_FONT; - break; -@@ -4830,8 +4832,8 @@ - //percentage to grow hps short - {110, (FNReadRecord)0}, //"sprmCCondHyhen", chp.ysri - //ysri short -- {111, (FNReadRecord)0}, //"??111", -- {112, (FNReadRecord)0}, //"??112", -+ {111, &SwWW8ImplReader::Read_FontCode}, //ww7 font -+ {112, &SwWW8ImplReader::Read_FontCode}, //ww7 CJK font - {113, &SwWW8ImplReader::Read_FontCode}, //ww7 rtl font - {114, (FNReadRecord)0}, //"??114", - {115, &SwWW8ImplReader::Read_TxtColor}, //ww7 rtl colour ? diff --git a/editors/openoffice.org-1.1-devel/files/patch-sysui+oounix+office+gnome+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-sysui+oounix+office+gnome+makefile.mk deleted file mode 100644 index 3d7c2e22aa63..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-sysui+oounix+office+gnome+makefile.mk +++ /dev/null @@ -1,12 +0,0 @@ ---- ../sysui/oounix/office/gnome/makefile.mk.orig Tue Mar 11 16:53:53 2003 -+++ ../sysui/oounix/office/gnome/makefile.mk Tue Mar 11 16:55:28 2003 -@@ -84,7 +84,9 @@ - APP1TARGET=$(TARGET) - APP1OBJS=$(OBJFILES) - APP1LIBS= -+.IF "$(OS)"!="FREEBSD" - APP1STDLIBS=-ldl -+.ENDIF - - GNOMEFILES= \ - locales.tab diff --git a/editors/openoffice.org-1.1-devel/files/patch-tools+source+string+tstring.cxx b/editors/openoffice.org-1.1-devel/files/patch-tools+source+string+tstring.cxx deleted file mode 100644 index 12bd6bd0b244..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-tools+source+string+tstring.cxx +++ /dev/null @@ -1,22 +0,0 @@ ---- ../tools/source/string/tstring.cxx.orig Sat Aug 10 12:53:42 2002 -+++ ../tools/source/string/tstring.cxx Sat Aug 10 12:54:16 2002 -@@ -103,6 +103,9 @@ - xub_StrLen ImplStringLen( const sal_Char* pStr ) - { - const sal_Char* pTempStr = pStr; -+ -+ if (pStr == NULL) -+ return(0); - while( *pTempStr ) - pTempStr++; - return (xub_StrLen)(pTempStr-pStr); -@@ -113,6 +116,9 @@ - xub_StrLen ImplStringLen( const sal_Unicode* pStr ) - { - const sal_Unicode* pTempStr = pStr; -+ -+ if (pStr == NULL) -+ return(0); - while( *pTempStr ) - pTempStr++; - return (xub_StrLen)(pTempStr-pStr); diff --git a/editors/openoffice.org-1.1-devel/files/patch-unoil+makefile.pmk b/editors/openoffice.org-1.1-devel/files/patch-unoil+makefile.pmk deleted file mode 100644 index 7febdabf7b4b..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-unoil+makefile.pmk +++ /dev/null @@ -1,13 +0,0 @@ ---- ../unoil/makefile.pmk.orig Fri Aug 31 18:04:43 2001 -+++ ../unoil/makefile.pmk Thu Sep 12 12:17:50 2002 -@@ -74,8 +74,8 @@ - JAVAFILESLIST := $(shell +cd $(GENJAVADIR)$/$(PACKAGE) $(COMMANDSEPARATOR) ls *.java) - .ENDIF # "$(L10N_framework)"=="" - --GENJAVAFILES := $(foreach,i,$(JAVAFILESLIST) $(GENJAVADIR)$/$(PACKAGE)$/$i) --GENCLASSFILES := $(foreach,i,$(JAVAFILESLIST:b) $(GENCLASSDIR)$/$(PACKAGE)$/$i.class) -+GENJAVAFILES += $(foreach,i,$(JAVAFILESLIST) $(GENJAVADIR)$/$(PACKAGE)$/$i) -+GENCLASSFILES += $(foreach,i,$(JAVAFILESLIST:b) $(GENCLASSDIR)$/$(PACKAGE)$/$i.class) - - # --- Targets ------------------------------------------------------ - diff --git a/editors/openoffice.org-1.1-devel/files/patch-unzip+source+file_io.c b/editors/openoffice.org-1.1-devel/files/patch-unzip+source+file_io.c deleted file mode 100644 index 2f85a108c185..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-unzip+source+file_io.c +++ /dev/null @@ -1,21 +0,0 @@ ---- ../unzip/source/file_io.c.orig Sat Oct 19 11:58:45 2002 -+++ ../unzip/source/file_io.c Sat Oct 19 12:03:40 2002 -@@ -500,7 +500,7 @@ - #ifdef MPW - pCallBack( 0 ); - #else -- #if defined LINUX || defined MACOSX || defined NETBSD -+ #if defined LINUX || defined MACOSX || defined NETBSD || defined FREEBSD - pCallBack( lseek(outfd, 0, SEEK_CUR) ); - #else - pCallBack( tell( outfd ) ); -@@ -865,7 +865,9 @@ - static struct timeb tbp; - #endif /* !__386BSD__ */ - #else /* !BSD */ -+#if (!defined(NETBSD) && !defined(FREEBSD)) - extern long timezone; -+#endif /* !defined(NETBSD) && !defined(FREEBSD) */ - #endif /* ?BSD */ - #endif /* ?AMIGA */ - diff --git a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+gcach_xpeer.hxx b/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+gcach_xpeer.hxx deleted file mode 100644 index 41defbd5eb59..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+gcach_xpeer.hxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../vcl/unx/source/gdi/gcach_xpeer.hxx.orig Tue Mar 11 16:32:14 2003 -+++ ../vcl/unx/source/gdi/gcach_xpeer.hxx Tue Mar 11 16:32:19 2003 -@@ -65,6 +65,8 @@ - #include <glyphcache.hxx> - - #define Region XLIB_Region -+typedef unsigned long CARD32; -+#define Cursor CARD32 - #include <X11/extensions/Xrender.h> - #undef Region - diff --git a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+getstyle+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+getstyle+makefile.mk deleted file mode 100644 index fefc925db41f..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+getstyle+makefile.mk +++ /dev/null @@ -1,15 +0,0 @@ ---- ../vcl/unx/source/gdi/getstyle/makefile.mk.orig Thu Feb 20 17:28:59 2003 -+++ ../vcl/unx/source/gdi/getstyle/makefile.mk Tue Mar 11 16:43:43 2003 -@@ -78,6 +78,12 @@ - GETSTYLE_GNOME=getstyle-gnome-linux-intel - HASGNOME2=TRUE - .ENDIF -+.IF "$_(HAS_GNOME2)"=="TRUE" -+.IF "$(OS)$(CPU)"=="FREEBSDI" -+GETSTYLE_GNOME=getstyle-gnome-freebsd-intel -+HASGNOME2=TRUE -+.ENDIF -+.ENDIF - .IF "$(OS)$(CPU)"=="SOLARISS" - GETSTYLE_GNOME=getstyle-gnome-solaris-sparc - HASGNOME2=TRUE diff --git a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+native-msgbox+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+native-msgbox+makefile.mk deleted file mode 100644 index 984313fc540a..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-vcl+unx+source+gdi+native-msgbox+makefile.mk +++ /dev/null @@ -1,19 +0,0 @@ ---- ../vcl/unx/source/gdi/native-msgbox/makefile.mk.orig Thu Feb 20 17:29:08 2003 -+++ ../vcl/unx/source/gdi/native-msgbox/makefile.mk Tue Mar 11 16:39:29 2003 -@@ -75,9 +75,15 @@ - - HASGNOME2= - --.IF "$(OS)$(CPU)"=="LINUXI" || "$(OS)$(CPU)"=="FREEBSDI" -+.IF "$(OS)$(CPU)"=="LINUXI" - MSGBOX_GNOME=msgbox-gnome-linux-intel - HASGNOME2=TRUE -+.ENDIF -+.IF "$(_HAS_GNOME2)"=="TRUE" -+.IF "$(OS)$(CPU)"=="FREEBSDI" -+MSGBOX_GNOME=msgbox-gnome-freebsd-intel -+HASGNOME2=TRUE -+.ENDIF - .ENDIF - .IF "$(OS)$(CPU)"=="SOLARISS" - MSGBOX_GNOME=msgbox-gnome-solaris-sparc diff --git a/editors/openoffice.org-1.1-devel/files/patch-vcl+workben+officeacceptthread.cxx b/editors/openoffice.org-1.1-devel/files/patch-vcl+workben+officeacceptthread.cxx deleted file mode 100644 index 07d9f1060557..000000000000 --- a/editors/openoffice.org-1.1-devel/files/patch-vcl+workben+officeacceptthread.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- ../vcl/workben/officeacceptthread.cxx.orig Wed Mar 5 20:25:36 2003 -+++ ../vcl/workben/officeacceptthread.cxx Wed Mar 5 20:26:03 2003 -@@ -125,7 +125,7 @@ - #if defined (SOLARIS) - int status; - nRet = waitpid(aProcessInfo.Ident, &status,WNOHANG); --#elif defined(LINUX) -+#elif defined(LINUX) || defined (FREEBSD) - nRet = kill(aProcessInfo.Ident, 0); - #endif - #if defined (UNX) diff --git a/editors/openoffice.org-1.1-devel/files/zipmoz.sh b/editors/openoffice.org-1.1-devel/files/zipmoz.sh deleted file mode 100644 index 43a4591f3430..000000000000 --- a/editors/openoffice.org-1.1-devel/files/zipmoz.sh +++ /dev/null @@ -1,164 +0,0 @@ -#!/bin/sh -f - -RUNTIME_FILES=" components/libabsyncsvc.so components/libaddrbook.so \ - components/libmork.so components/libmozldap.so \ - components/libnecko.so components/libprofile.so \ - components/librdf.so components/libstrres.so \ - components/libunicharutil.so components/libuconv.so \ - components/libucvcn.so components/libucvibm.so \ - components/libucvja.so components/libucvko.so \ - components/libucvlatin.so components/libucvtw.so \ - components/libucvtw2.so components/liburiloader.so \ - components/libvcard.so components/libxpconnect.so \ - components/libpref.so components/libchrome.so libmozjs.so \ - libmsgbaseutil.so libldap50.so libnspr4.so libplc4.so \ - libplds4.so libxpcom.so libmozz.so component.reg \ - components/necko_dns.xpt components/xpcom_xpti.xpt \ - components/xpcom_threads.xpt components/xpcom_io.xpt \ - components/xpcom_ds.xpt components/xpcom_components.xpt \ - components/xpcom_base.xpt components/xpti.dat \ - defaults/pref/all.js defaults/pref/config.js \ - defaults/pref/editor.js defaults/pref/initpref.js \ - defaults/pref/inspector.js defaults/pref/mailnews.js \ - defaults/pref/security-prefs.js defaults/pref/unix.js \ - defaults/pref/xpinstall.js" - -LIB_FILES=" lib/libembed_base_s.a lib/libmozreg_s.a \ - lib/libnspr4.so lib/libxpcom.so lib/libprldap50.so" - -INC_FILES="include/" -INC_FILES2="public/" - -if [ $# -lt 2 -o $# -gt 3 ] ; then - echo - echo usage: $0 mozilla_dist target [target_dir] - echo - echo where: - echo - echo "mozilla_dist points to the mozilla distribution" - echo "target concatenates OS, compiler and CPU (e.g. FREEBSDGCCI etc)" - echo "target_dir is the directory to place the zips" - exit 1 -fi - -MOZ_DIST=$1 -TARGET=$2 -if [ "w$3" != "w" ]; then - TARGET_DIR=$3 -else - if [ "w$TARGET_DIR" == "w" ]; then - TARGET_DIR= - fi -fi - -ZIP_TARGET=$TARGET_DIR -if [ -z "$ZIP_TARGET" ] ; then - ZIP_TARGET=../ -fi - -# just to remember the current working directory -STARTING_DIR=`pwd` - -echo -echo --- creating zips for $TARGET, using mozilla distribution in $MOZ_DIST - -# Create the directories -[ ! -d $TARGET_DIR/$TARGET/runtime ] && mkdir -p $TARGET_DIR/$TARGET/runtime -[ ! -d $TARGET_DIR/$TARGET/runtime/components ] && mkdir -p $TARGET_DIR/$TARGET/runtime/components -[ ! -d $TARGET_DIR/$TARGET/runtime/defaults ] && mkdir -p $TARGET_DIR/$TARGET/runtime/defaults -[ ! -d $TARGET_DIR/$TARGET/runtime/defaults/pref ] && mkdir -p $TARGET_DIR/$TARGET/runtime/defaults/pref -[ ! -d $TARGET_DIR/$TARGET/lib ] && mkdir -p $TARGET_DIR/$TARGET/lib -[ ! -d $TARGET_DIR/$TARGET/inc ] && mkdir -p $TARGET_DIR/$TARGET/inc -[ ! -d $TARGET_DIR/$TARGET/inc/nspr ] && mkdir -p $TARGET_DIR/$TARGET/inc/nspr -[ ! -d $TARGET_DIR/$TARGET/inc/obsolete ] && mkdir -p $TARGET_DIR/$TARGET/inc/obsolete - -# Copy the files -echo -echo --- copying files -echo - -for i in $RUNTIME_FILES; do - if [ ! -f $MOZ_DIST/bin/$i ]; then - echo $MOZ_DIST/bin/$i does not exist, check your distribution - else - if [ `echo $i | grep component` ]; then - cp $MOZ_DIST/bin/$i $TARGET_DIR/$TARGET/runtime/components/ - elif [ `echo $i | grep defaults` ]; then - cp $MOZ_DIST/bin/$i $TARGET_DIR/$TARGET/runtime/defaults/pref/ - else - cp $MOZ_DIST/bin/$i $TARGET_DIR/$TARGET/runtime/ - fi - fi -done - -for i in $LIB_FILES; do - if [ ! -f $MOZ_DIST/$i ]; then - echo $MOZ_DIST/$i does not exist, check your distribution - else - cp -R -L $MOZ_DIST/$i $TARGET_DIR/$TARGET/lib/ - fi -done - -for i in `ls -1 $MOZ_DIST/$INC_FILES`; do - if [ ! -d $i ]; then - cp -R -L $MOZ_DIST/include/$i $TARGET_DIR/$TARGET/inc/ - fi -done - -for i in `ls -1 $MOZ_DIST/$INC_FILES2`; do - if [ ! -d $i ]; then - cp -R -L $MOZ_DIST/public/$i $TARGET_DIR/$TARGET/inc - fi -done - -for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr`; do - if [ ! -d $i ]; then - cp -R -L $MOZ_DIST/include/nspr/$i $TARGET_DIR/$TARGET/inc/nspr - fi -done - -for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr/obsolete`; do - if [ ! -d $i ]; then - cp -R -L $MOZ_DIST/include/nspr/obsolete/$i $TARGET_DIR/$TARGET/inc/obsolete - fi -done - -# delete old zips - -[ -f $TARGET_DIR/$TARGET/runtime.zip ] && rm -f $TARGET_DIR/$TARGET/runtime.zip -[ -f $TARGET_DIR/$TARGET/lib.zip ] && rm -f $TARGET_DIR/$TARGET/lib.zip -[ -f $TARGET_DIR/$TARGET/inc.zip ] && rm -f $TARGET_DIR/$TARGET/inc.zip - -# zip the runtime files - -echo -echo --- creating ${TARGET}runtime.zip -echo - -cd $TARGET_DIR/$TARGET/runtime -find . -type f | zip $ZIP_TARGET/${TARGET}runtime.zip -@ - -# zip the lib files -echo -echo --- creating ${TARGET}lib.zip -echo - -cd $TARGET_DIR/$TARGET/lib -find . -type f | zip $ZIP_TARGET/${TARGET}lib.zip -@ - -# zip the inc files -echo -echo --- creating ${TARGET}inc.zip -echo - -cd $TARGET_DIR/$TARGET/inc -find . -type f | zip $ZIP_TARGET/${TARGET}inc.zip -@ - -# remove dirs -cd $STARTING_DIR -rm -rf $TARGET_DIR/$TARGET - -echo -echo --- done -echo - |