Lines 1-20
Link Here
|
1 |
--- configure.ac.orig |
1 |
--- configure.ac.old 2018-12-30 15:36:04.692353000 -0600 |
2 |
+++ configure.ac |
2 |
+++ configure.ac 2018-12-30 15:37:39.225930000 -0600 |
3 |
@@ -4189,6 +4189,11 @@ |
3 |
@@ -3981,6 +3981,16 @@ |
4 |
CPUNAME=X86_64 |
|
|
5 |
RTL_ARCH=X86_64 |
4 |
RTL_ARCH=X86_64 |
6 |
PLATFORMID=freebsd_x86_64 |
5 |
PLATFORMID=freebsd_x86_64 |
7 |
+ ;; |
6 |
;; |
8 |
+ powerpc64) |
7 |
+ powerpc64) |
9 |
+ CPUNAME=POWERPC64 |
8 |
+ CPUNAME=POWERPC64 |
10 |
+ RTL_ARCH=PowerPC_64 |
9 |
+ RTL_ARCH=PowerPC_64 |
11 |
+ PLATFORMID=freebsd_powerpc64 |
10 |
+ PLATFORMID=freebsd_powerpc64 |
12 |
;; |
11 |
+ ;; |
|
|
12 |
+ powerpc|powerpcspe) |
13 |
+ CPUNAME=POWERPC |
14 |
+ RTL_ARCH=PowerPC |
15 |
+ PLATFORMID=freebsd_powerpc |
16 |
+ ;; |
13 |
*) |
17 |
*) |
14 |
AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os]) |
18 |
AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os]) |
15 |
--- configure.orig |
19 |
;; |
16 |
+++ configure |
20 |
--- configure.old 2018-12-30 15:33:12.582597000 -0600 |
17 |
@@ -10936,6 +10936,11 @@ |
21 |
+++ configure 2018-12-30 15:35:48.424447000 -0600 |
|
|
22 |
@@ -11511,6 +11511,16 @@ |
18 |
RTL_ARCH=X86_64 |
23 |
RTL_ARCH=X86_64 |
19 |
PLATFORMID=freebsd_x86_64 |
24 |
PLATFORMID=freebsd_x86_64 |
20 |
;; |
25 |
;; |
Lines 23-31
Link Here
|
23 |
+ RTL_ARCH=PowerPC_64 |
28 |
+ RTL_ARCH=PowerPC_64 |
24 |
+ PLATFORMID=freebsd_powerpc64 |
29 |
+ PLATFORMID=freebsd_powerpc64 |
25 |
+ ;; |
30 |
+ ;; |
|
|
31 |
+ powerpc|powerpcspe) |
32 |
+ CPUNAME=POWERPC |
33 |
+ RTL_ARCH=PowerPC |
34 |
+ PLATFORMID=freebsd_powerpc |
35 |
+ ;; |
26 |
*) |
36 |
*) |
27 |
as_fn_error $? "Unsupported host_cpu $host_cpu for host_os $host_os" "$LINENO" 5 |
37 |
as_fn_error $? "Unsupported host_cpu $host_cpu for host_os $host_os" "$LINENO" 5 |
28 |
;; |
38 |
;; |
|
|
39 |
--- bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx.orig |
40 |
+++ bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx |
41 |
@@ -18,7 +18,11 @@ |
42 |
*/ |
43 |
|
44 |
|
45 |
+#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY) |
46 |
+#include <stdlib.h> |
47 |
+#else |
48 |
#include <malloc.h> |
49 |
+#endif |
50 |
|
51 |
#include <com/sun/star/uno/genfunc.hxx> |
52 |
#include <uno/data.h> |
29 |
--- bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx.orig |
53 |
--- bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx.orig |
30 |
+++ bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx |
54 |
+++ bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx |
31 |
@@ -18,7 +18,11 @@ |
55 |
@@ -18,7 +18,11 @@ |
Lines 57-62
Link Here
|
57 |
# endif |
81 |
# endif |
58 |
#elif defined AIX |
82 |
#elif defined AIX |
59 |
--- /dev/null |
83 |
--- /dev/null |
|
|
84 |
+++ solenv/gbuild/platform/FREEBSD_POWERPC_GCC.mk |
85 |
@@ -0,0 +1,16 @@ |
86 |
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
87 |
+# |
88 |
+# This file is part of the LibreOffice project. |
89 |
+# |
90 |
+# This Source Code Form is subject to the terms of the Mozilla Public |
91 |
+# License, v. 2.0. If a copy of the MPL was not distributed with this |
92 |
+# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
93 |
+# |
94 |
+ |
95 |
+#please make generic modifications to unxgcc.mk or linux.mk |
96 |
+gb_CPUDEFS += -DPPC -DPOWERPC |
97 |
+gb_COMPILERDEFAULTOPTFLAGS := -O2 |
98 |
+ |
99 |
+include $(GBUILDDIR)/platform/unxgcc.mk |
100 |
+ |
101 |
+# vim: set noet sw=4: |
102 |
--- /dev/null |
60 |
+++ solenv/gbuild/platform/FREEBSD_POWERPC64_GCC.mk |
103 |
+++ solenv/gbuild/platform/FREEBSD_POWERPC64_GCC.mk |
61 |
@@ -0,0 +1,17 @@ |
104 |
@@ -0,0 +1,17 @@ |
62 |
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
105 |
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |