ba4b442947
URLs for details). Release notes: http://development.openoffice.org/releases/3.1.0.html New features : http://www.openoffice.org/dev_docs/features/3.1/index.html Build confirmed on NetBSD 5.99.11/i386.
24 lines
1.3 KiB
Text
24 lines
1.3 KiB
Text
$NetBSD: patch-ee,v 1.2 2009/05/09 18:43:42 hira Exp $
|
|
|
|
--- desktop/source/deployment/misc/dp_platform.cxx.orig 2009-05-09 04:49:36.000000000 +0900
|
|
+++ desktop/source/deployment/misc/dp_platform.cxx 2009-05-09 04:49:58.000000000 +0900
|
|
@@ -61,6 +61,8 @@
|
|
#define PLATFORM_SOLARIS_X86 "solaris_x86"
|
|
#define PLATFORM_FREEBSD_X86 "freebsd_x86"
|
|
#define PLATFORM_FREEBSD_X86_64 "freebsd_x86_64"
|
|
+#define PLATFORM_NETBSD_X86 "netbsd_x86"
|
|
+#define PLATFORM_NETBSD_X86_64 "netbsd_x86_64"
|
|
#define PLATFORM_MACOSX_X86 "macosx_x86"
|
|
#define PLATFORM_MACOSX_PPC "macosx_powerpc"
|
|
#define PLATFORM_OS2_X86 "os2_x86"
|
|
@@ -160,6 +162,10 @@
|
|
ret = checkOSandCPU(OUSTR("FreeBSD"), OUSTR("x86"));
|
|
else if (token.equals(OUSTR(PLATFORM_FREEBSD_X86_64)))
|
|
ret = checkOSandCPU(OUSTR("FreeBSD"), OUSTR("X86_64"));
|
|
+ else if (token.equals(OUSTR(PLATFORM_NETBSD_X86)))
|
|
+ ret = checkOSandCPU(OUSTR("NetBSD"), OUSTR("x86"));
|
|
+ else if (token.equals(OUSTR(PLATFORM_NETBSD_X86_64)))
|
|
+ ret = checkOSandCPU(OUSTR("NetBSD"), OUSTR("X86_64"));
|
|
else if (token.equals(OUSTR(PLATFORM_MACOSX_X86)))
|
|
ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("x86"));
|
|
else if (token.equals(OUSTR(PLATFORM_MACOSX_PPC)))
|