Commit graph

29 commits

Author SHA1 Message Date
Greg Lewis
a7f3236bcd Update to 11.0.10 GA 2021-01-21 03:04:11 +00:00
Piotr Kubaj
89480f7d7e java/openjdk11: add powerpc64le support
This mostly adds powerpc64le in places where there's only powerpc64.

PR:		251263
Approved by:	java (maintainer timeout)
2020-12-03 23:46:20 +00:00
Greg Lewis
5401b1924d Fix a crash per https://bugs.openjdk.java.net/browse/JDK-8250861
This effectively upgrades us to 11.0.9.1
2020-11-07 22:02:32 +00:00
Greg Lewis
7166661c68 Update to 11.0.9 2020-10-23 03:58:05 +00:00
Jung-uk Kim
93f31d551a Work around build a failure with Clang 11 on head.
/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1/src/java.desktop/unix/native/libawt_xawt/xawt/XlibWrapper.c:2186:12:
error: cast to smaller integer type 'jint' (aka 'int') from 'int (*)(Display *)' (aka 'int (*)(struct _XDisplay *)')
[-Werror,-Wpointer-to-int-cast]
    return (jint) XSynchronize((Display*)jlong_to_ptr(display), (onoff == JNI_TRUE ? True : False));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

It looks like a false-positive, though.
2020-08-20 01:21:36 +00:00
Jung-uk Kim
b3575ba0d1 Add upstream patches to build with "-fno-common".
This is default with Clang 11 and GCC 10.

https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/3660248422f4
https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/371bbe373ae0
2020-08-19 23:32:38 +00:00
Dmitri Goutnik
7d93186245 java/openjdk11: Add fontconfig support
PR:		247238
Approved by:	java (glewis)
2020-07-02 23:31:38 +00:00
Greg Lewis
b65bbced16 Update to 11.0.7 GA 2020-04-16 00:11:22 +00:00
Kirill Ponomarev
e319ccdbf1 Fix build on HEAD.
PR:		244803
Submitted by:	Yasuhiro KIMURA <yasu_AT_utahime__dot__org>
2020-04-14 13:05:21 +00:00
Greg Lewis
4c18554694 Ignore ECONNRESET when closing a socket
See https://github.com/battleblow/openjdk-jdk11u/issues/94 for details
2020-02-26 00:07:14 +00:00
Piotr Kubaj
1159f09aca java/openjdk11: correctly patch openejdk11 for ppc64 elfv2
The previous patch didn't check for architecture.

PR:		243183
2020-01-16 13:52:16 +00:00
Antoine Brodin
44a4ff3829 Revert r523182, it breaks build on tier 1
With hat:	portmgr
2020-01-16 12:54:40 +00:00
Piotr Kubaj
16ba9aabc5 java/openjdk11: add bootstrap and fix compilation for powerpc64 elfv2
Add bootstrap for powerpc64 elfv2.

Because of issue with macros in precompiled.hpp, --disable-precompiled-headers is necessary.

Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to compile for elfv2.

I assume here that GCC will be used exclusively on ELFv1 systems and Clang on ELFv2.

PR:		243182
Approved by:	glewis (maintainer)
2020-01-15 22:08:04 +00:00
Greg Lewis
b9f03c4180 Fix build on FreeBSD 12.x/powerpc64 on POWER8+ machines
* Make sure has_mfdscr() returns false on these machines as using it on
  FreeBSD 12.x will cause problems (e.g. SIGILL).

PR:		239368
2019-11-06 17:21:58 +00:00
Greg Lewis
d804e77edf Update to an 11.0.5 pre-release
This is mostly to pick up fixes that have gone into the BSD repo.
2019-09-20 02:26:34 +00:00
Greg Lewis
24a7e726a2 Prepare for aarch64 support
* Add necessary configure arguments for aarch64
* Add patches needed to compile on aarch64.  These have been upstreamed but
  are not in a release yet.
2019-08-30 04:24:53 +00:00
Greg Lewis
c1c56f1796 Add support for powerpc64
PR:		237208
2019-08-25 20:28:47 +00:00
Greg Lewis
9dac406b78 Update cacerts
* Use the latest cacerts file from Oracle's public distribution of 11.0.4.
2019-08-20 18:03:28 +00:00
Greg Lewis
dda3f471cf Update to 11.0.4+11.2 2019-08-13 04:41:40 +00:00
Greg Lewis
89a5e6cd1a Fix the build on PowerPC64
PR:		239624
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net>
2019-08-04 23:04:33 +00:00
Greg Lewis
5a5d4db763 . Update to 11.0.3. 2019-04-17 18:31:26 +00:00
Greg Lewis
51cf7dc135 Fix DTrace support for 32 bit platforms and re-enable it.
PR:		236876
2019-03-29 17:06:20 +00:00
Greg Lewis
3445be9c57 . Update to 11.0.2.9.4
. Sort LIB_DEPENDS and USE_XORG
. Add a dependency in alsa-lib now that sound is supported on FreeBSD.
. Don't disable dtrace now that it is supported on FreeBSD.
. Less intrusive iconv change.
2019-03-29 01:05:26 +00:00
Jung-uk Kim
d98a910efa Refine r496923.
libinstrument.so and libjdwp.so do not need anything from $LOCALBASE but
libsplashscreen.so does.  For example,

% cd /usr/local/openjdk11
% bin/java -jar demo/jfc/SwingSet2/SwingSet2.jar
ld-elf.so.1: /usr/local/openjdk11/lib/libsplashscreen.so: Undefined symbol
"libiconv_open"

PR:		236759
2019-03-28 23:19:00 +00:00
Greg Lewis
17ca9c16ac 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]
2019-03-26 20:48:04 +00:00
Greg Lewis
d2a6dd1a42 Update to 11.0.2.9.2 2019-03-20 20:58:59 +00:00
Greg Lewis
e44a4cbf25 Add a port of OpenJDK 11 2019-03-15 06:02:17 +00:00
Greg Lewis
4c705d4110 Removing openjdk11 temporarily to do a repo copy from openjdk8 first. 2019-03-15 05:56:34 +00:00
Greg Lewis
5567755703 Add a port of OpenJDK 11 2019-03-13 15:10:06 +00:00