Commit graph

53 commits

Author SHA1 Message Date
Greg Lewis
74dbe676ce . 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 openjdk8 in the ports repository.
2015-09-08 05:04:25 +00:00
Greg Lewis
519117c04b . Update to 8u60. 2015-09-07 09:41:49 +00:00
Jung-uk Kim
139ceeaf09 Fix few more mismerges in the previous update. 2015-07-20 22:10:17 +00:00
Jung-uk Kim
1ee26da0bb Tidy up couple of problems in the previous update. 2015-07-20 21:16:09 +00:00
Greg Lewis
8088e0cda1 . Update to 8u51. 2015-07-19 14:23:54 +00:00
Greg Lewis
2722598f71 . The test target wants jtreg binaries to be found one directory up. Allow
that to be the case.
2015-07-05 00:45:08 +00:00
Greg Lewis
d5b14ed39b . Fix BSD detection in the langtools test infrastructure. 2015-07-05 00:41:37 +00:00
Jung-uk Kim
fd492a9fe5 - Fix broken preprocessor directives.
- Use sysctl(3) instead of procfs(5) when we need executable path from PID.

MFH:		2015Q3
2015-07-02 18:17:12 +00:00
Jung-uk Kim
e25f3cb0e6 Fix the previous commit. Forgot to remove #'s before committing. :-( 2015-05-19 22:16:23 +00:00
Jung-uk Kim
75c6d35b75 Do not use static libjli for stable/10 and head. This complements PR193009.
Re-apply r381431 while I am here.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2015-05-19 22:13:51 +00:00
Greg Lewis
6e15254a68 . Update to 8u45. 2015-05-06 07:03:53 +00:00
Bryan Drewery
90ddbe7045 Fix build with GCC with recent head kernel by disabling PCH for GCC.
The case for this is a recent head kernel building an older branch that uses
GCC in a jail.

This is discussed at https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html

It may be possible to fix GCC to do the right thing with mmap(2) but it would
not be simple to make ports use a fixed GCC on older releases and without
needlessly building a ports compiler when the system one would otherwise be
fine without PCH.

With hat:	portmgr
2015-04-15 15:30:07 +00:00
Jung-uk Kim
cd50a3fd95 Set rpath for libawt_xawt.so as we do for libawt.so and libawt_headless.so.
Optimize fontconfig.properties while I am here.
2015-04-01 17:32:17 +00:00
Jung-uk Kim
7580e924ad Tidy up default fontconfig.properties. 2015-03-24 21:17:51 +00:00
Jung-uk Kim
74a9a89a8d Catch up with font directory changes. 2015-03-24 00:56:47 +00:00
Jung-uk Kim
d0b0657655 Clean up patches again. No functional change. 2015-03-16 18:53:10 +00:00
Greg Lewis
72d2e02134 . Update to 8u40. 2015-03-15 21:30:04 +00:00
Jung-uk Kim
6a5bb1c2f8 - Revert all damages done in r372338 and r379049.
- Really fix non-release builds. [1]

PR:		193009 [1]
2015-02-27 06:54:30 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Jung-uk Kim
ea9a2868cf Remove redundant linker options added in r379049. 2015-02-16 23:48:19 +00:00
Greg Lewis
2c4da2b583 . Fix the DEBUG build.
PR:		193009
Submitted by:	Brian Gardner (openjdk@getsnappy.com)
2015-02-15 21:18:12 +00:00
Greg Lewis
64f02c86a0 . Attempt to fix the build on 8.x amd64 by telling the HotSpot compilation
not to treat warnings as errors.

Reported by:	mat@
2015-02-05 03:13:05 +00:00
Greg Lewis
3bc2661ea9 . Update to 8u31. 2015-02-02 06:27:11 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00
Antoine Brodin
c6faa705a5 Update graphics/giflib to 5.0.5
Differential Revision:	https://reviews.freebsd.org/D1361
Submitted by:	bapt
Reviewed by:	self
Exp-run by:	self
2015-01-14 18:19:32 +00:00
Antoine Brodin
2fde215147 Allow building with either giflib 4.2 or 5.0 2014-12-27 07:37:59 +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
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Jung-uk Kim
bb07796994 - Add an empty directory to plist to fix staging.
- Fix build for 8.x on amd64. [1]
- Use tar(1) to extract all distfiles. [2]

PR:		194988 [1]
Submitted by:	Mikhail T. (mi at aldan dot algebra dot com) [2]
2014-11-20 04:37:20 +00:00
Jung-uk Kim
c8829a2519 - Fix build on i386 with clang. [1]
- Fix mismerged libnio.so. [2]

Reported by:	antoine [1]
Tested by:	antoine [1]
PR:		194941 [2]
2014-11-11 23:53:59 +00:00
Greg Lewis
ec0ba98b99 . Update to 8u25. 2014-11-09 05:23:31 +00:00
Jung-uk Kim
b81354a1df Merge Linux-specific changes to BSD patches. Most importantly, this change
corrects 'os.arch' property for i386 to fix regressions.

PR:		194419
2014-10-30 16:30:36 +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
Baptiste Daroussin
4064c61d2c Fix build with gmake 4.1 2014-10-08 07:25:18 +00:00
Greg Lewis
6aff7f3a8a . Don't hardcode /bin/bash. Fixes build trace output. 2014-07-20 19:33:08 +00:00
Greg Lewis
c2262e1806 . Introduce a DIST_BUILD_NUMBER variable and refer to that in both DISTNAME
and MASTER_SITES.  This fixes the download URL. [1]
. Add a dependency on fontconfig. [2]

Pointed out by:	Chris Sabo <csabo2@gmail.com> [1]
Requested by:	Michael Schmiedgen <schmiedgen@takwa.de> [2]
2014-07-20 19:29:53 +00:00
Greg Lewis
fafc5e69ef . Update to 8u11. This requires moving the patch file for 8u5 to start
with 8u05 to preserve patch file ordering.
2014-07-20 17:00:57 +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
Jung-uk Kim
0702846b6c 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).
2014-05-21 20:06:16 +00:00
Jung-uk Kim
a548434ab2 Always link libjli statically. When launchers are symlinked, it may not be
able to find libjli.so from RPATH because argv[0] points to the symlink.
Note it seems Linux does not have the problem when /proc/self/exe exists.
If it does not exist, it also fails to find libjli.so.  Clean up patches
while I am here.
2014-05-17 06:14:58 +00:00
Jung-uk Kim
86dcea5c7a Add support for java/icedtea-web. Clean up some patches while I am here. 2014-05-15 23:53:56 +00:00
Jung-uk Kim
7b606a8a55 Add a slave port to create JRE-only package for java/openjdk8. 2014-05-02 18:00:49 +00:00
Jung-uk Kim
09a9ed6002 Merge more HotSpot patches from java/openjdk6 and clean up. 2014-05-01 04:43:39 +00:00
Jung-uk Kim
50649382a2 - Unbreak libnet. Obviously, bsd_close.c must not be excluded for BSD.
- Move jspawnhelper to jre/lib/<arch> directory as Solaris does. [1]
- Add sigset(2) wrapper for libsig.so.
- Disable UseMembar by default.

Inspired by:	Kurt Miller (kurt at intricatesoftware dot com) [1]
2014-04-29 05:25:45 +00:00
Jung-uk Kim
272cfd36b7 Add couple of patches missed in the previous commit. 2014-04-28 19:43:16 +00:00
Jung-uk Kim
e3b3ad973c Merge more patches for JDK from java/openjdk6 and clean up. 2014-04-28 19:27:48 +00:00
Jung-uk Kim
db1cc7694d - Disable ccache. Precompiled headers seem to cause troubles with it. [1]
- Add more BSD patches for Java files and fix endianness issues for C files.

Reported by:	Jenkins (via swills) [1]
2014-04-25 05:02:35 +00:00
Jung-uk Kim
70c243430e Update to 8u5. 2014-04-21 21:30:04 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00