diff options
author | glewis <glewis@FreeBSD.org> | 2019-08-26 04:28:47 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2019-08-26 04:28:47 +0800 |
commit | 56d25d0d25793f5173cd4e65d4d939c4aa840bb0 (patch) | |
tree | a2c783d84f462c6ac8a70b1b78ecea4aabae6ecd /java | |
parent | a532e17043d804cfef7608cec39191111c714e54 (diff) | |
download | freebsd-ports-gnome-56d25d0d25793f5173cd4e65d4d939c4aa840bb0.tar.gz freebsd-ports-gnome-56d25d0d25793f5173cd4e65d4d939c4aa840bb0.tar.zst freebsd-ports-gnome-56d25d0d25793f5173cd4e65d4d939c4aa840bb0.zip |
Add support for powerpc64
PR: 237208
Diffstat (limited to 'java')
-rw-r--r-- | java/openjdk11/Makefile | 2 | ||||
-rw-r--r-- | java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 54c9c668587e..e967f78f164a 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -12,7 +12,7 @@ COMMENT= Java Development Kit ${JDK_MAJOR_VERSION} LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS= amd64 i386 powerpc64 BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ diff --git a/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c b/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c new file mode 100644 index 000000000000..545081d1f3f0 --- /dev/null +++ b/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c @@ -0,0 +1,12 @@ +--- src/jdk.hotspot.agent/bsd/native/libsaproc/ps_proc.c ++++ src/jdk.hotspot.agent/bsd/native/libsaproc/ps_proc.c +@@ -27,8 +27,8 @@ + #include <stdlib.h> + #include <string.h> + #include <errno.h> +-#include <sys/sysctl.h> + #include <sys/types.h> ++#include <sys/sysctl.h> + #include <sys/wait.h> + #include <sys/ptrace.h> + #include <sys/param.h> |