Commit graph

38 commits

Author SHA1 Message Date
Greg Lewis
34c45542f7 java/openjdk11: Use the distributed cacerts
PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
2022-11-03 23:13:16 -07:00
Greg Lewis
b87e44e535 java/openjdk11: Update to 11.0.17 2022-10-29 15:22:13 -07:00
Greg Lewis
749c57a8a8 java/openjdk11: Update to 11.0.16.1 2022-09-25 16:06:16 -07:00
Stefan Eßer
3d41392b6e java/openjdk11: fix build on 13.1 and -CURRENT
Recent LLVM versions issue warnings for "|" being used with boolean
operands. Such operations exist in OpenJDK and the source lines are
marked with comments to not use logical operations instead.

This breaks the build on 13.1 and -CURRENT when building with LLVM-13
or newer due to the -Werror option being passed to the compiler.

Fix this issue by casting one of the boolean operands to int, as
suggested by the compiler in the error message for the case that the
"|" operation should actually be used on purpose.

I had submitted this patch as an attachment to PR 265687 on
2022-08-07, but it has been ignored by the maintainer (java team).

PR:		265687
Approved by:	portmgr (implicit)
2022-08-28 16:54:31 +02:00
Stefan Eßer
1cf12abc91 java/openjdk11: revert accidental commit 3d803e4460
Revert part of commit 3d803e4460 that should only have affected the
deskutils/calendar port.

This patch that has been committed by accident had already been
attached to PR 265687 to fix the build issue of openjdk11 on -CURRENT,
but it is up to the java@ team to apply this or some other fix.

Approved by:	portmgr (implicit)
2022-08-08 11:57:44 +02:00
Stefan Eßer
3d803e4460 deskutils/calendar: update to version 0.9.3
Update the man page to match the version the -CURRENT base system.

The only change is a better description of the // single line comment
syntax, i.e. that // is only considered to start a comment when it
appears at the start of the line or after white space. This allows to
embed URLs in calendar entries.
2022-08-08 09:58:14 +02:00
Greg Lewis
0877cf18c3 java/openjdk11: Update to 11.0.13 2021-10-31 11:07:42 -07:00
Greg Lewis
811345dd18 java/openjdk11: Update to 11.0.12 2021-07-30 19:43:33 -07:00
Dimitry Andric
a47b284421 java/openjdk11(-jre): fix build with clang 12
During an exp-run for llvm 12 (see bug 255570), it turned out that
java/openjdk11 and java/openjdk11-jre do not build with clang 12.0.0:

Creating interim jimage
Compiling 2 files for BUILD_DEMO_Notepad

This is due to a missing backport of an upstream commit:

commit c484d8904285652246c3af212a4211b9a8955149
Author: Thomas Stuefe <stuefe@openjdk.org>
Date:   Tue Mar 16 05:49:01 2021 +0000

    8263557: Possible NULL dereference in Arena::destruct_contents()

    Reviewed-by: kbarrett, coleenp

Approved by:	maintainer timeout (2 weeks)
PR:		255900
MFH:		2021Q2
2021-05-29 16:08:18 +02:00
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