summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch b/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch
new file mode 100644
index 0000000..512af52
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch
@@ -0,0 +1,36 @@
1From 2915f7f56b99fa130942acb4289c9b5310075adc Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Fri, 2 Mar 2018 10:11:51 +0000
4Subject: [PATCH] hotspot: os_linux: remove glibc dependencies (pt2: aarch32)
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9* gnu/libc-version.h doesn't exist in musl
10 | hotspot/src/os/linux/vm/os_linux.cpp:97:11: fatal error: gnu/libc-version.h: No such file or directory
11 | # include <gnu/libc-version.h>
12 | ^~~~~~~~~~~~~~~~~~~~
13
14Upstream-Status: Inappropriate [musl specific]
15Signed-off-by: André Draszik <andre.draszik@jci.com>
16---
17 hotspot/src/os/linux/vm/os_linux.cpp | 3 ---
18 1 file changed, 3 deletions(-)
19
20diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp
21index 8656357d..555b3a15 100644
22--- a/hotspot/src/os/linux/vm/os_linux.cpp
23+++ b/hotspot/src/os/linux/vm/os_linux.cpp
24@@ -94,9 +94,6 @@
25 # include <string.h>
26 # include <syscall.h>
27 # include <sys/sysinfo.h>
28-#ifndef __UCLIBC__
29-# include <gnu/libc-version.h>
30-#endif
31 # include <sys/ipc.h>
32 # include <sys/shm.h>
33 # include <link.h>
34--
352.18.0
36