Commit graph

134 commits

Author SHA1 Message Date
Greg Lewis
bfbaa6ea20 Update to 8u252 2020-04-15 22:05:19 +00:00
Jung-uk Kim
7500155a45 Fix linker errors with libinotify.
A patch was mismerged in the previous update.

PR:		243454
2020-04-08 20:43:11 +00:00
Greg Lewis
a5fb52f085 Update to 8u242
Security:	https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14
2020-01-16 22:00:22 +00:00
Piotr Kubaj
a14ab5cbd0 java/openjdk8: add bootstrap and fix compilation for powerpc64 elfv2
Since the maintainer didn't respond, I'm adding the bootstrap to my own directory on freefall.

PR:		242965
Submitted by:	Mikael Urankar (original version)
Approved by:	java (maintainer timeout)
2020-01-12 19:10:40 +00:00
Niclas Zeising
ef5d45aaa6 Sprinkle more USES=xorg 2019-11-07 20:19:59 +00:00
Greg Lewis
c82c1c18ad Remove unnecessary use of shebangfix
PR:		235453
Submitted by:	John Hein <jcfyecrayz@liamekaens.com>
2019-11-06 18:04:02 +00:00
Greg Lewis
eb5f920507 Fix file interaction
* Load libnio in BsdNativeDispatcher, as per other OSes
* Export getmntonname0 from libnio

PR:		241317
Submitted by:	cmt@
2019-10-17 22:39:05 +00:00
Greg Lewis
936499b286 Update to 8u232 2019-10-16 02:28:37 +00:00
Tobias Kortkamp
ae284bd2d8 java/openjdk8: Drop nop X11_MAKE_ENV_ON
Should have been X11_MAKE_ENV.  It has been that way since r451167
and this does not seem to have caused any trouble.  Just drop it.
2019-10-10 08:30:09 +00:00
Greg Lewis
3a4c96b01f Update cacerts
* Use the latest cacerts file from Oracle's public distribution of 8u221.
2019-08-20 18:33:32 +00:00
Greg Lewis
c1db705823 Workaround for infinite recursion crash
* FreeBSD crashes on infinite recursion rather than throwing a stack
  overflow because the stack address of the fault is in the page below
  the guard area.  Workaround this by rounding down the fault address to
  the nearest page boundary.  Investigation is still under way into what
  may be causing this but this appears to prevent it in simple test cases.

PR:		222146
2019-08-12 04:05:58 +00:00
Greg Lewis
3b8668c653 Fix the build for the FONTCONFIG option
* Updated the fontconfig.patch file
* Simplified FONTCONFIG to use EXTRA_PATCHES rather than a separate target

PR:		239358
Submitted by:	John Hein <jcfyecrayz@liamekaens.com>, fluffy
2019-07-24 23:37:05 +00:00
Greg Lewis
2f9982bc15 Update to 8u222 2019-07-19 16:31:14 +00:00
Mathieu Arnold
bd3fd6f002 Use USE_GITHUB when appropriate. 2019-05-11 19:52:08 +00:00
Greg Lewis
4e67e753fb Minor to whitespace to correct the PR for the previous commit.
Previous commit was:

Always depend on fontconfig

PR:		237436
Submitted by:   Dominik Lisiak <dominik.lisiak@bemsoft.pl>
2019-04-22 21:11:55 +00:00
Greg Lewis
6b01de01db Always depend on fontconfig
PR:		203862
Submitted by:	Dominik Lisiak <dominik.lisiak@bemsoft.pl>
2019-04-22 20:52:52 +00:00
Greg Lewis
61e975f75e Add back the dependency on zip.
Reported by:	Charlie Li <ml+freebsd@vishwin.info>
2019-04-19 19:08:40 +00:00
Greg Lewis
eee68625ae * Update to 8u212.
* Change master site to Github
* Remove patches and Makefile fixes that have been upstreamed to Github
2019-04-19 16:31:33 +00:00
Greg Lewis
33ddc15f90 . Update to 8u202. 2019-02-12 11:48:56 +00:00
Greg Lewis
d82ababf17 . When upgrading to 8u192 the endianess definitions specific to BSD were
missed during a large merge of the configuration file.  This resulted in,
  at least, macros affecting maths operations using the big endian rather
  than the little endian versions.

PR:		234689
2019-02-09 07:16:04 +00:00
Jung-uk Kim
2fa9296bac Add a missing symbol in the linker map file.
PR:		234593
2019-01-18 00:47:15 +00:00
Alex Dupre
ad43f6fd6e Add a WatchService implementation backed by kqueue,
leveraging the libinotify wrapper.

It's still possible to use the polling watchservice,
by defining the following system property:

 sun.nio.fs.watchservice=polling
2018-12-27 09:52:52 +00:00
Alex Dupre
848047809f Add support for millisecond resolution to get/setLastModifiedTime
in both Java IO and NIO.
2018-12-27 09:46:44 +00:00
Greg Lewis
9713df4168 . Fix build on gcc based architectures (e.g. powerpc64)
PR:		233883
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2018-12-11 03:23:57 +00:00
Greg Lewis
4f3b06b197 . Fix SCTP support.
PR:		230321
Submitted by:	Timo Voelker <timo.voelker@fh-muenster.de>
2018-12-08 19:09:28 +00:00
Greg Lewis
7fd2bcba96 . Update to 8u192.
PR:		230364
2018-12-08 18:35:30 +00:00
Jung-uk Kim
93c79b58f9 - Fix reversed ccache version detection logic. Enable ccache support.
- Use '-pthread' for Clang.  Clang supports '-pthread' on all BSDs except
for Darwin. [1]

Reported by:	Achilleas Mantzios <achill@matrix.gatewaynet.com> [1]
Tested by:	Achilleas Mantzios <achill@matrix.gatewaynet.com> [1]
2018-11-16 17:30:17 +00:00
Greg Lewis
1e0bab92eb . Update to 8u181. 2018-09-08 20:53:33 +00:00
Greg Lewis
780454f45b . Sync the cacerts file with the version in the latest Oracle binary release. 2018-07-03 06:31:39 +00:00
Greg Lewis
bbac75f33c . Update to 8u172. 2018-05-21 00:03:43 +00:00
Greg Lewis
9e41abde7f . Link libinstrument.so with iconv and jli as intended.
PR:		210297
2018-03-06 04:41:08 +00:00
Greg Lewis
5e80ef3db6 . Add a FONTCONFIG option which allows scaler to obtain per-family FreeType
rendering and loading and may noticeably improves font rendering in Java
  appications

PR:		215636
Submitted by:	Dmitri Goutnik <dg@syrec.org>
2018-03-04 00:56:31 +00:00
Jung-uk Kim
dd487071e8 Apply an upstream patch to fix Zero.
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/8bd024c567e7

This patch complements the following commits.

http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f8a45a60bc6b
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/b1606443958a
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/a3e756231625

Reported by:	Mikaël Urankar (mikael.urankar@gmail.com) (via swills)
2018-02-27 19:49:00 +00:00
Greg Lewis
7effcd49b2 . Fix the build for i386 when WITH_LLD_IS_LD is set.
PR:		225741
Submitted by:	dim@
2018-02-08 06:29:02 +00:00
Greg Lewis
99a2633b63 . Update to 8u162. 2018-02-03 21:41:06 +00:00
Jung-uk Kim
5befc99fa7 Fix a run-time crash with Clang 6.0.
Note this problem was introduced with fixes for JDK-8055007.

https://bugs.java.com/view_bug.do?bug_id=8055007
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/changeset/c6211b707068

PR:		225054
2018-01-18 19:26:27 +00:00
Tijl Coosemans
03948507f8 Replace USE_AUTOTOOLS and pre-configure with a plain build dependency on
devel/autoconf.  The upstream build system runs autoconf to regenerate
generated-configure.sh.
2017-12-25 17:35:39 +00:00
Greg Lewis
7f279c7566 . Don't incorrectly set the scopeId of an IPv6 interface on BSD.
This fixes binding sockets for applications running on IPv6.

PR:		224079
Submitted by:	John W. O'Brien <john@saltant.com>
2017-12-25 06:25:53 +00:00
Jung-uk Kim
34f4fb6411 Add support for "-XX:+UseLargePages" option.
Excerpted from the original submission:

"FreeBSD on several architectures automatically utilizes superpages.  So,
for the JVM's JIT-compiled code cache and data heap, much of those regions
are already using superpages.  However, the -XX:+UseLargePages option still
serves a useful, if secondary, purpose on FreeBSD.  Essentially, it informs
the JVM's platform-independent layer what the supported page sizes are.  So,
when memory is mmap(2)ed and munmap(2)ed within the code cache and data
heap, the addresses and sizes will be superpage-aligned and a multiple of
the superpage size, respectively.  Currently, without this patch, the code
cache, for example, typically starts at an unaligned address, so the initial
portion of the code cache can never be a superpage.  Similarly, unaligned
munmap(2)s on the data heap force the kernel to demote superpages to 4KB
pages, and this patch eliminates those demotions.

This patch both introduces the code needed on FreeBSD to implement
-XX:+UseLargePages and deletes code that was copied from Linux that is, to
the best of my knowledge, useless on any version of BSD, i.e., UseHugeTLBFS
and UseSHM.  The additions are in part based on the Solaris version of
os_solaris.cpp, e.g., the sorting of the page sizes array."

Note I did minor style cleanup and regenerated the patches.

Submitted by:	alc
2017-12-01 01:56:02 +00:00
Greg Lewis
ef9ac15f4b . Update to 8u152. 2017-11-19 05:14:20 +00:00
Jung-uk Kim
243fd8836a Fix default bootstrap JDK selection.
It was accidentally broken by r450869.
2017-11-01 20:49:54 +00:00
Jung-uk Kim
2f8e1591bf Add preliminary support for aarch64 with Zero.
PR:		223231
2017-11-01 20:23:35 +00:00
Jung-uk Kim
06ee14ef70 Clean up X11 option handling. No functional change. 2017-10-03 19:53:20 +00:00
Jung-uk Kim
8bac93539e Fix java/openjdk8-jre build after r444448.
PR:		222750
2017-10-03 18:13:18 +00:00
Jung-uk Kim
ad6af13f08 Use java/bootstrap-openjdk8 to bootstrap. 2017-09-28 20:14:21 +00:00
Mark Linimon
b58ecf8673 The src tree is splitting 32-bit arm support into 'armv6' and the new
'armv7'.  This patch adds armv7 support.  It should provide no regression
on any existing architecture.

PR:		221896
Approved by:	maintainer
2017-09-01 14:42:43 +00:00
Greg Lewis
33ad7fb605 . Update to 8u144. 2017-08-27 17:48:46 +00:00
Tobias Kortkamp
97b05f204d Add a new ALSA default option to make it possible to disable ALSA
support and build the JDK without an ALSA dependency

PR:		219125
Reviewed by:	jbeich
Approved by:	mat (mentor), java (maintainer timeout, 6+ weeks)
Differential Revision:	https://reviews.freebsd.org/D11331
2017-06-27 08:35:24 +00:00
Mark Linimon
2fc969b4b7 Scrub mention of armv6hf from ARCHS. It was never in a released version.
While here, sort ARCHS and pet portlint.

Reviewed by:	imp
Approved by:	portmgr (tier-2 blanket)
2017-06-26 22:20:20 +00:00
Greg Lewis
5458611582 Update to 8u131. 2017-04-19 13:36:23 +00:00