From 17ca9c16ac93ca7e0544facbccc4f0a054e3a6fd Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Tue, 26 Mar 2019 20:48:04 +0000 Subject: Fixes for include path, jshell, and process issues. * Put MD specific include files (e.g. jni_md.h) in a subdirectory named 'freebsd' rather than 'bsd'. [1] * Remove the necessity to always have /usr/local/include in the header paths and linker paths. This allows jshell to use the system iconv.h rather than the third party one and link correctly. [2] * Fix getting process commands and arguments on FreeBSD. * Bump PORTREVISION. All fixes need forward porting to openjdk12. PR: 236754 [1], 236759 [2] Submitted by: Kurt Miller [2] --- java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 (limited to 'java/openjdk11/files/patch-make_autoconf_flags-cflags.m4') diff --git a/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 b/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 new file mode 100644 index 000000000000..0bddc82eb46e --- /dev/null +++ b/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 @@ -0,0 +1,11 @@ +--- make/autoconf/flags-cflags.m4 ++++ make/autoconf/flags-cflags.m4 +@@ -416,7 +416,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER], + elif test "x$OPENJDK_TARGET_OS" = xaix; then + CFLAGS_OS_DEF_JVM="-DAIX" + elif test "x$OPENJDK_TARGET_OS" = xbsd; then +- CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_BSDONLY_SOURCE -DPACKAGE_PATH='\"$PACKAGE_PATH\"'" ++ CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_BSDONLY_SOURCE" + CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_BSDONLY_SOURCE -D_REENTRANT" + elif test "x$OPENJDK_TARGET_OS" = xwindows; then + CFLAGS_OS_DEF_JVM="-D_WINDOWS -DWIN32 -D_JNI_IMPLEMENTATION_" -- cgit v1.2.3