From 28b7ee808c48784a7555a6c130530563b0dfcec6 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Wed, 31 Jul 2002 10:48:46 +0000 Subject: Add missing cases for FreeBSD. --- .../patch-offapi+com+sun+star+setup+OSType.idl | 12 ++++++++ ...patch-offapi::com::sun::star::setup::OSType.idl | 12 ++++++++ .../files/patch-scptools+source+linker+ziplst.cxx | 19 ++++++++++++ .../patch-scptools::source::linker::ziplst.cxx | 19 ++++++++++++ .../files/patch-setup2+inc+fields.hxx | 10 +++++++ .../files/patch-setup2+source+compiler+decltor.cxx | 20 +++++++++++++ .../patch-setup2+source+service+interface.cxx | 35 ++++++++++++++++++++++ .../files/patch-setup2::inc::fields.hxx | 10 +++++++ .../patch-setup2::source::compiler::decltor.cxx | 20 +++++++++++++ .../patch-setup2::source::service::interface.cxx | 35 ++++++++++++++++++++++ 10 files changed, 192 insertions(+) create mode 100644 editors/openoffice-1.0/files/patch-offapi+com+sun+star+setup+OSType.idl create mode 100644 editors/openoffice-1.0/files/patch-offapi::com::sun::star::setup::OSType.idl create mode 100644 editors/openoffice-1.0/files/patch-scptools+source+linker+ziplst.cxx create mode 100644 editors/openoffice-1.0/files/patch-scptools::source::linker::ziplst.cxx create mode 100644 editors/openoffice-1.0/files/patch-setup2+inc+fields.hxx create mode 100644 editors/openoffice-1.0/files/patch-setup2+source+compiler+decltor.cxx create mode 100644 editors/openoffice-1.0/files/patch-setup2+source+service+interface.cxx create mode 100644 editors/openoffice-1.0/files/patch-setup2::inc::fields.hxx create mode 100644 editors/openoffice-1.0/files/patch-setup2::source::compiler::decltor.cxx create mode 100644 editors/openoffice-1.0/files/patch-setup2::source::service::interface.cxx (limited to 'editors/openoffice-1.0/files') diff --git a/editors/openoffice-1.0/files/patch-offapi+com+sun+star+setup+OSType.idl b/editors/openoffice-1.0/files/patch-offapi+com+sun+star+setup+OSType.idl new file mode 100644 index 000000000000..3fee562c6d38 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-offapi+com+sun+star+setup+OSType.idl @@ -0,0 +1,12 @@ +--- ../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-1.0/files/patch-offapi::com::sun::star::setup::OSType.idl b/editors/openoffice-1.0/files/patch-offapi::com::sun::star::setup::OSType.idl new file mode 100644 index 000000000000..3fee562c6d38 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-offapi::com::sun::star::setup::OSType.idl @@ -0,0 +1,12 @@ +--- ../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-1.0/files/patch-scptools+source+linker+ziplst.cxx b/editors/openoffice-1.0/files/patch-scptools+source+linker+ziplst.cxx new file mode 100644 index 000000000000..83b84631542e --- /dev/null +++ b/editors/openoffice-1.0/files/patch-scptools+source+linker+ziplst.cxx @@ -0,0 +1,19 @@ +--- ../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-1.0/files/patch-scptools::source::linker::ziplst.cxx b/editors/openoffice-1.0/files/patch-scptools::source::linker::ziplst.cxx new file mode 100644 index 000000000000..83b84631542e --- /dev/null +++ b/editors/openoffice-1.0/files/patch-scptools::source::linker::ziplst.cxx @@ -0,0 +1,19 @@ +--- ../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-1.0/files/patch-setup2+inc+fields.hxx b/editors/openoffice-1.0/files/patch-setup2+inc+fields.hxx new file mode 100644 index 000000000000..d56e12f2abf4 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-setup2+inc+fields.hxx @@ -0,0 +1,10 @@ +--- ../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-1.0/files/patch-setup2+source+compiler+decltor.cxx b/editors/openoffice-1.0/files/patch-setup2+source+compiler+decltor.cxx new file mode 100644 index 000000000000..98f6ad2f7567 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-setup2+source+compiler+decltor.cxx @@ -0,0 +1,20 @@ +--- ../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-1.0/files/patch-setup2+source+service+interface.cxx b/editors/openoffice-1.0/files/patch-setup2+source+service+interface.cxx new file mode 100644 index 000000000000..8e478e17971d --- /dev/null +++ b/editors/openoffice-1.0/files/patch-setup2+source+service+interface.cxx @@ -0,0 +1,35 @@ +--- ../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-1.0/files/patch-setup2::inc::fields.hxx b/editors/openoffice-1.0/files/patch-setup2::inc::fields.hxx new file mode 100644 index 000000000000..d56e12f2abf4 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-setup2::inc::fields.hxx @@ -0,0 +1,10 @@ +--- ../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-1.0/files/patch-setup2::source::compiler::decltor.cxx b/editors/openoffice-1.0/files/patch-setup2::source::compiler::decltor.cxx new file mode 100644 index 000000000000..98f6ad2f7567 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-setup2::source::compiler::decltor.cxx @@ -0,0 +1,20 @@ +--- ../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-1.0/files/patch-setup2::source::service::interface.cxx b/editors/openoffice-1.0/files/patch-setup2::source::service::interface.cxx new file mode 100644 index 000000000000..8e478e17971d --- /dev/null +++ b/editors/openoffice-1.0/files/patch-setup2::source::service::interface.cxx @@ -0,0 +1,35 @@ +--- ../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); -- cgit v1.2.3