summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo@ribalda.com>2019-07-05 13:18:05 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-07-09 14:39:57 +0200
commitd4055cc7c4b4430254ab45a265a480379106ceda (patch)
tree48852b41318259e041dab29d68cafc051462b050
parenteb130d40d2b759f7eafd88b1835c16fc04c752b0 (diff)
downloadmeta-java-d4055cc7c4b4430254ab45a265a480379106ceda.tar.gz
classpath: Fix build with targets aarch64
Fixes: | In file included from ../../../classpath-0.99/native/fdlibm/fdlibm.h:36, | from ../../../classpath-0.99/native/fdlibm/e_exp.c:76: | ../../../classpath-0.99/native/fdlibm/ieeefp.h:163:2: error: #error Endianess not declared!! | #error Endianess not declared!! | ^~~~~ | In file included from ../../classpath-0.99/native/fdlibm/fdlibm.h:40, Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/classpath/classpath-0.99/aarch64.patch19
-rw-r--r--recipes-core/classpath/classpath_0.99.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-0.99/aarch64.patch b/recipes-core/classpath/classpath-0.99/aarch64.patch
new file mode 100644
index 0000000..4de40fb
--- /dev/null
+++ b/recipes-core/classpath/classpath-0.99/aarch64.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Inappropriate [upstream is dead]
2
3Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
4
5diff --git a/native/fdlibm/ieeefp.h b/native/fdlibm/ieeefp.h
6index c230bbb..700dd3a 100644
7--- a/native/fdlibm/ieeefp.h
8+++ b/native/fdlibm/ieeefp.h
9@@ -158,6 +158,10 @@
10 #define __IEEE_BIG_ENDIAN
11 #endif
12
13+#ifdef __aarch64__
14+#define __IEEE_LITTLE_ENDIAN
15+#endif
16+
17 #ifndef __IEEE_BIG_ENDIAN
18 #ifndef __IEEE_LITTLE_ENDIAN
19 #error Endianess not declared!!
diff --git a/recipes-core/classpath/classpath_0.99.bb b/recipes-core/classpath/classpath_0.99.bb
index 6aa3baa..714503a 100644
--- a/recipes-core/classpath/classpath_0.99.bb
+++ b/recipes-core/classpath/classpath_0.99.bb
@@ -14,6 +14,7 @@ SRC_URI += " \
14 file://toolwrapper-exithook.patch \ 14 file://toolwrapper-exithook.patch \
15 file://use_libdir.patch \ 15 file://use_libdir.patch \
16 file://freetype2.patch \ 16 file://freetype2.patch \
17 file://aarch64.patch \
17 " 18 "
18 19
19SRC_URI[md5sum] = "0ae1571249172acd82488724a3b8acb4" 20SRC_URI[md5sum] = "0ae1571249172acd82488724a3b8acb4"