Bug#788982: openjdk-7: FTBFS on kfreebsd-*
Package: src:openjdk-7
Version: 7u79-2.5.5-1
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Hi,
openjdk-7 FTBFS on kfreebsd since 7u79-2.5.5-1:
| /«PKGBUILDDIR»/build/openjdk-boot/hotspot/agent/src/os/linux/libproc.h:41:26: fatal error: linux/ptrace.h: No such file or directory
| #include <linux/ptrace.h>
| ^
Please find attached a simple patch to be appended to the existing
debian/patches/kfreebsd-support-hotspot.diff, tested to fix
the build on at least kfreebsd-amd64.
Thanks.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- openjdk/hotspot/agent/src/os/linux/libproc.h.orig
+++ openjdk/hotspot/agent/src/os/linux/libproc.h
@@ -38,7 +38,9 @@
#include "libproc_md.h"
#endif
+#ifdef __linux__
#include <linux/ptrace.h>
+#endif
/************************************************************************************
Reply to: