Commit graph

82 commits

Author SHA1 Message Date
Greg Lewis
4f0e3c4d46 . Update to 7u151. 2017-09-08 18:11:04 +00:00
Jung-uk Kim
94001227e8 Fix compilation with Clang 4.0. 2017-05-31 04:53:51 +00:00
Greg Lewis
b77ba1d553 . Update to 7u141. 2017-05-30 00:19:06 +00:00
Greg Lewis
f59b37d996 . Update to 7u131. 2017-05-29 04:16:00 +00:00
Jung-uk Kim
7bd7158dc9 Merge fixes for JDK-6900441 and JDK-8029453 from Linux sources. 2017-04-13 21:27:23 +00:00
Greg Lewis
8c48e60aee . Fix compilation with Clang 4.0
PR:		216016
Submitted by:	jbeich@
2017-01-15 22:50:37 +00:00
Alex Dupre
6b6b8271c0 Update cacerts file using the one included in 8u111 release.
Notable change is the inclusion of Let's Encrypt CA.
2016-10-24 08:53:21 +00:00
Greg Lewis
bfa36e6e51 . Update to 7u111. 2016-08-20 21:07:46 +00:00
Greg Lewis
9733c016f5 . Handle unsafe operations that access invalid memory more gracefully.
. Bump PORTREVISION for this fix.

PR:		209599
Submitted by:	Andrew Smith <iamasmith.home@gmail.com>
2016-06-13 04:57:28 +00:00
Greg Lewis
3d85abe1b4 . Update to 7u101 2016-05-21 15:32:53 +00:00
Greg Lewis
1c57421343 . Update to 7u95. 2016-02-03 03:42:56 +00:00
Greg Lewis
9472c7f5cc . Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.

  This cuts the size taken by openjdk7 in the ports repository.
2015-09-09 09:40:53 +00:00
Jung-uk Kim
cee04cb56e Use sysctl(3) instead of procfs(5) when we need executable path from PID.
MFH:		2015Q3
2015-07-02 18:18:16 +00:00
Mathieu Arnold
8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00
Greg Lewis
010c48ac48 . Update to 7u80. 2015-04-28 05:40:24 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Greg Lewis
af02cae5b9 . Update to 7u76
. Adopt a patchset strategy similar to the openjdk8 port, which keeps the
  patch files smaller and makes the BSD differences clearer.
2015-02-02 05:00:42 +00:00
Greg Lewis
13771af25b . Fix window maximisation under Gnome 3.
PR:		196741
Submitted by:	huanghwh@gmail.com
2015-02-02 04:56:57 +00:00
Antoine Brodin
4c1bb8329e Allow building 10 years after 31 decembre 2004
With hat:	portmgr
2014-12-30 23:09:45 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00
Jung-uk Kim
73bb14c0e3 Add an upstream patch to remove adlc's unused class FileBuffRegion.
https://bugs.openjdk.java.net/browse/JDK-8041620

Note this is an attempt to fix build with upcoming Clang 3.5.

Obtained from:	jdk9
2014-12-16 00:25:58 +00:00
Jung-uk Kim
72fe6d5b0b Fix symbol mapfile for libvm.so. Note FreeBSD still uses GNU nm(1). 2014-11-19 21:52:04 +00:00
Greg Lewis
ba2e9ae12a . Update to 7u71. 2014-11-01 20:18:09 +00:00
John Baldwin
1ebd0e3345 The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed.  No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.

PR:		193961
Approved by:	portmgr (antoine)
2014-10-18 12:20:42 +00:00
Greg Lewis
63182852ca . Update to 7u65. 2014-07-16 15:21:38 +00:00
Greg Lewis
49d7c249aa . Fix unpack200 on i386/amd64 by only swapping bytes when this is actually
a big endian machine. [1]
. Bump PORTREVISION for the fix.
. Speed up the build on multi-core machines using the MAKE_JOBS trickery
  from the openjdk8 Makefile.
. Enlist openjdk7 users as testers of ant 1.9.4.
. Add a dependency on fontconfig.

PR:		191735 [1]
Requested by:	Michael Schmiedgen <schmiedgen@takwa.de> [2]
2014-07-12 17:36:17 +00:00
Jung-uk Kim
6d8c62429c Implement current and signal methods for sun.nio.ch.NativeThread. Note this
fixes a test case in the following Apache Solr bug report.

https://issues.apache.org/jira/browse/SOLR-6204

Reported by:	Dawid Weiss <dawid.weiss@gmail.com>
2014-06-27 18:41:19 +00:00
Greg Lewis
6f1ddbf6db Update to 7u60. 2014-06-07 23:37:24 +00:00
Jung-uk Kim
d7cffff692 - Fix printing services. When CUPS is used, ${LOCALBASE}/bin/lpr must be
used to print a generated PostScript file.  When lpd(8) is used, lpr(1) from
base must be used.  Also, status command for lpc(8) requires a printer name.
If no argument is specified, i.e., "/usr/sbin/lpc status", then it displays
the command usage, i.e., "usage: status  {all | printer ...}".
Unfortunately, "usage" is interpreted as a printer name because ":" is
included.  Add "all" and adjust an expression for grep(1). [1]
- Use /proc/curproc/file to find its executable path if available.  It fixes
java/icedtea-web, for example. [2]

PR:		ports/178856 [1]
PR:		java/189905 [2]
2014-05-21 20:03:14 +00:00
Jung-uk Kim
31f1b998e4 Include bundled header files before others. For example, this fixes build
with conflicting header files from graphics/jpeg.  Note OTHER_INCLUDES or
OTHER_CPPFLAGS may be used instead.  However, I think this is the least
intrusive change.  Also, note java/openjdk6 already has a similar fix and
java/openjdk8 does not need it.

Tested by:	Jonathan Chen (jonc at chen dot org dot nz)
2014-04-30 04:47:25 +00:00
Greg Lewis
139ca58e28 . Fix spawning external processes from the JVM. [1]
. Remove some patches that have been merged to the upstream repository.

PR:		188979, 188980 [1]
Obtained from:	Kurt Miller (via the upstream bsd-port repo) [1]
2014-04-29 04:15:11 +00:00
Jung-uk Kim
a8eeed9413 Refine the patch again. No functional change. 2014-04-21 22:54:16 +00:00
Jung-uk Kim
1f64c6c6fb Refine the previous patch. No functional change. 2014-04-21 21:07:26 +00:00
Jung-uk Kim
ed5e9e275a Fix build with clang. 2014-04-21 20:56:10 +00:00
Greg Lewis
95e1070605 . Update to 7u55.
. Use version 1.9.3 of ant [1]
. Don't insist on GCC since compilation with clang now works [2].

Obtained from:	jkim@'s openjdk7 redport repo ([1], [2])
2014-04-20 22:56:18 +00:00
Greg Lewis
8f385d253f . Update to the cacerts file included in the latest Linux distribution (7u55). 2014-04-20 22:45:36 +00:00
Greg Lewis
e9ec4ef357 . Add BSD support to PortConfig. Fixes JMX on FreeBSD.
PR:		186636
2014-02-15 23:31:42 +00:00
Greg Lewis
da5a136cad . Update to 7u51.
. Mark as FORBIDDEN for releases without the MAP_STACK fix (or where that
  fix isn't detectable), since kernel panics may result there.
2014-02-09 23:12:11 +00:00
Mathieu Arnold
a396f66981 Revert lang/openjdk7 to 7u25.
With hat:	portmgr-lurker
2014-01-04 15:56:26 +00:00
Greg Lewis
c010f08a58 . Update to 7u45. 2013-12-08 04:11:54 +00:00
Greg Lewis
665c8c2480 . Update to the latest cacerts from the 7u45 JDK release. 2013-12-08 04:11:09 +00:00
Greg Lewis
00bc59125f . Fix DefaultAsynchronousChannelProvider.create to not crash on FreeBSD but
to instead create an instance of BsdAsynchronousChannelProvider().

PR:		183389
Submitted by:	girgen@
2013-10-30 04:29:14 +00:00
Greg Lewis
a419e4f7dc . Make set_native_priority return a (correct) value on FreeBSD, rather than
whatever happens to be on the stack.
. Bump PORTREVISION.

Submitted by:	Xiaoguang Sun <sunxiaoguang@gmail.com>
2013-09-22 00:39:22 +00:00
Greg Lewis
82b71a6c38 . Update to 7u25.
. Unbreak the port by committing the other half of the patch-set split.
2013-06-23 20:45:14 +00:00
Greg Lewis
a7b6a0ade5 . Split out the JDK patches into their own file. This will actually break
the port since I can't commit the split all at once due to subversion
  size limits.  Yay.
2013-06-23 20:44:24 +00:00
Greg Lewis
b46768de7a . Update to 7u21. 2013-05-05 20:10:26 +00:00
Greg Lewis
69c1296d68 . Fix the location of the
FILES_c += initIDs.c

  line so it comes after FILE_c is explicitly set in the BSD specific
  block.  This fixes missing symbols in libawt.

Submitted by:	Kurt Miller (kurt@intricatesoftware.com)
Obtained from:	http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ef510cd4aec5
2013-03-27 03:11:33 +00:00
Greg Lewis
e2f338bdce . Allow users to force the file system provider to be the BSD file system
provider.  This is helpful when users also wish to force os.name to a
  different value (e.g. Linux) but not being forced to also use the
  Linux file system provider.  This can be done by defining the property
  java.nio.file.spi.DefaultFileSystemProvider.

  This patch differs from the submitters in that the range of values are
  restricted to the current known defaults.

PR:		173847
Submitted by:	4721 at hushmail.com
2013-03-27 03:06:50 +00:00
Greg Lewis
3429746801 . Update to 7u17. 2013-03-10 01:41:07 +00:00
Jung-uk Kim
060e5cd2f0 Add a patch to fix MulticastSocket.setInterface().
http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/bfa676f5b5db

Submitted by:	oliver
2013-02-11 23:53:16 +00:00