summaryrefslogtreecommitdiff
path: root/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2019-03-26 20:48:04 +0000
committerGreg Lewis <glewis@FreeBSD.org>2019-03-26 20:48:04 +0000
commit17ca9c16ac93ca7e0544facbccc4f0a054e3a6fd (patch)
tree7ed9eeef856358ac92ad605a593e5c58af04179c /java/openjdk11/files/patch-make_autoconf_flags-cflags.m4
parentMark benchmarks/netio as RESTRICTED. (diff)
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]
Notes
Notes: svn path=/head/; revision=496923
Diffstat (limited to 'java/openjdk11/files/patch-make_autoconf_flags-cflags.m4')
-rw-r--r--java/openjdk11/files/patch-make_autoconf_flags-cflags.m411
1 files changed, 11 insertions, 0 deletions
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_"