From 9c61ac937e5c54e3ef34d41dda8f635209ac52b7 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Mon, 2 Nov 2020 12:22:20 +0100 Subject: icedtea-7: add fix for deprecated sys/sysctl.h include As glibc deprecated sys/sysctl.h we use linux/sysctl.h for now. Signed-off-by: Richard Leitner --- .../icedtea-jdk-replace-sys-sysctl.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch (limited to 'recipes-core/icedtea/openjdk-7-03b147') diff --git a/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch new file mode 100644 index 0000000..1c7a585 --- /dev/null +++ b/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch @@ -0,0 +1,22 @@ +--- openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c ++++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c +@@ -35,7 +35,7 @@ + #endif + #ifdef __linux__ + #include +-#include ++#include + #include + #include + +--- openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c ++++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c +@@ -43,7 +43,7 @@ + #endif + #ifdef __linux__ + #include +-#include ++#include + #endif + + #include "jvm.h" -- cgit v1.2.3-54-g00ecf