Oops, missed a part of the patch. Attached correction.
Regards, -- Steven Chamberlain ste...@pyro.eu.org
--- a/openjdk-7-7u51-2.4.5/debian/patches/kfreebsd-support-hotspot.diff 2014-02-02 03:45:14.000000000 +0000 +++ b/openjdk-7-7u51-2.4.5/debian/patches/kfreebsd-support-hotspot.diff 2014-02-02 04:00:15.542348083 +0000 @@ -658,7 +658,7 @@ --- openjdk/hotspot/agent/src/os/linux/ps_proc.c.orig 2014-01-28 17:58:08.000000000 +0000 +++ openjdk/hotspot/agent/src/os/linux/ps_proc.c 2014-01-30 14:32:29.981605347 +0000 -@@ -38,6 +38,18 @@ +@@ -38,6 +38,22 @@ #define __WALL 0x40000000 // Copied from /usr/include/linux/wait.h #endif @@ -674,6 +674,10 @@ +#define PTRACE_DETACH PT_DETACH +#endif + ++#ifndef PTRACE_CONT ++#define PTRACE_CONT PT_CONTINUE ++#endif ++ // This file has the libproc implementation specific to live process // For core files, refer to ps_core.c