Commit graph

42 commits

Author SHA1 Message Date
Greg Lewis
a0c1e8baae . Add ${LOCALBASE}/lib to the default search path for JNI libraries for
HotSpot as well.
2004-01-20 19:53:55 +00:00
Greg Lewis
21c8a9307f . Add ${LOCALBASE}/lib to the default search path for libraries when using
JNI.

XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also
     be added?  /lib is part of the default search path on Linux.

Requested by:	marcus
2004-01-19 19:28:40 +00:00
Greg Lewis
ecf10fa88a . Install the cacerts file from Sun's 1.3.1_10 release to avoid some
problems associated with expired root certificates described in:

  http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436
2004-01-14 19:44:47 +00:00
Greg Lewis
42137ff178 . Update to 1.3.1 patchset 9. 2003-12-19 19:00:06 +00:00
Greg Lewis
846f8c04ea . Use ${PTHREAD_LIBS} rather than -pthread.
Suggested by:	mi
2003-10-08 00:45:01 +00:00
Greg Lewis
38e03fb03a . Make HotSpot compile with gcc 3.3.1.
Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp>
Reminded by:	mi
2003-10-08 00:42:23 +00:00
Greg Lewis
6b6e1f94e7 . Try to ensure that we get the correct version of some Netscape header
files.  This will hopefully fix some build problems people have been
  experiencing with bogus versions of these files being installed by Qt.

PR:		54180
2003-07-11 21:01:00 +00:00
Greg Lewis
64c60ee3de . Remove an assert() which asserts that if isatty() is true then
ttyname() must not return NULL.  This isn't entirely true according
  to the manual page (the device must be able to be found as well) and
  certainly appears to not necessarily be true in the package building
  environment on bento (plus at least the PR submitter's environment).

  Note that this assert() was, of course, only ever triggered when
  running in debug mode (which most people don't, but does happen
  during the build in some parts).  Also note that there is a check
  for isatty() preceding the call for ttyname() and a NULL return
  from ttyname() is handled, so removing this assert should not
  create any problems.

PR:		48164
2003-05-06 06:11:02 +00:00
Greg Lewis
3fa4a90e30 . Fix Math.pow() when the JDK is compiled with optimisation flags set.
There may be other Math methods which similarly fail under optimisation,
  these will be addressed by a more extensive change in patchset 9.

PR:		48825
2003-04-30 15:31:12 +00:00
Greg Lewis
847bdee6eb . Now that we can use Classic and HotSpot, make classic (and hence green
threads) the default.  This is the most stable combination.
2003-04-22 20:06:33 +00:00
Greg Lewis
7ee61f212f . Fix the shell wrapper to cope with HotSpot and as a result remove the
warning that the Classic VM is unusable with HotSpot.

Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp>
2003-04-22 20:05:21 +00:00
Greg Lewis
dcef90030b . Updated version of native threads for FreeBSD. This uses recently
committed enhancements to libc_r and is only suitable for very recent
  versions of FreeBSD.  The big benefit is that it removes almost all
  the previous grovelling about in the pthreads internals.

  The change only comes into effect when WITH_NATIVE_THREADS is set.
  A separate Makefile commit will attempt to enforce appropriate
  OSVERSION settings for using it.

Submitted by:	fjoe
2003-02-28 17:47:38 +00:00
Greg Lewis
f0d4b083fc . Rename our internal gethostby{name,addr}_r functions to avoid collisions.
Currently gethostbyaddr_r collides with the implementation (in libc!) for
  FreeBSD 5.x which both uses a different prototype (as per the Linux
  version) and is marked temporary and not thread safe.  Also, limit the
  scope of these internal implementations to this file.

  This fixes crashes in networked applications for FreeBSD 5.x.

  Some tweaks (making the functions static, naming, BSD ifdefs) by me.

Submitted by:	"Georg-W. Koltermann" <g.w.k@web.de>
2003-02-28 17:33:10 +00:00
Greg Lewis
3ed8e2b166 . Respect LOCALBASE in the DEVTOOLS_PATH setting.
PR:		47668
Submitted by:	Mike Meyer <mwm-dated-1044336154.329122@mired.org>
2003-02-28 17:18:43 +00:00
Greg Lewis
da27056044 . Add missing include of <sys/time.h>, needed by <sys/resource.h> for
FreeBSD 5.x.  This fixes native threads compilation on FreeBSD 5.x.

Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp>
2003-02-28 17:16:21 +00:00
Greg Lewis
79371b8e8e . Be consistent about our compiler settings. Using gcc32 here was both
inconsistent with the rest of the code and only relevant on 4.x (since
  5.x has gcc 3.2.x as its default compiler).
2003-02-28 17:12:24 +00:00
Greg Lewis
30ab46c12b . Resurrect patch accidentally removed in last commit. 2003-02-12 19:01:39 +00:00
Greg Lewis
a3d89c1e3c . Update to patchset 8. 2003-02-12 19:00:42 +00:00
Greg Lewis
e4956ee696 . Fix UDP packet broadcasting.
. Bump PORTREVISION.

Submitted by:	daichi, Tetsuo Suzuki <tetsuo@ss-lab.net>
2002-10-31 17:56:56 +00:00
Greg Lewis
b962656ac3 . Chinese font.properties and make glue.
Submitted by:	Huang wen hui <hwh@ns.gddsn.org.cn>
2002-10-25 05:51:52 +00:00
Greg Lewis
daaab4406a . More XIM fixes for Japanese users (and presumably others with similar
character sets).
. Bump PORTREVISION.

Submitted by:	daichi
2002-10-18 21:45:45 +00:00
Greg Lewis
68eb5d0400 . Link the Netscape 4 plugin against libintl to avoid a runtime link
error.  This may allow browsers which use Netscape 4 plugins (e.g.
  Konqueror) to make use of it.

Code change by me, problem report by Dylan Carlson <absinthe@pobox.com>.
2002-10-18 21:44:13 +00:00
Greg Lewis
4d9ad417ed . Russian and Ukrainian font property files and appropriate build changes.
Submitted by:	mi
2002-10-18 21:41:25 +00:00
Greg Lewis
5e9fbe3fad Improved font.properties.ja based on the Kochi fonts rather than the
Watanabe/Wadalab fonts.

Submitted by:	daichi <daichi@ongs.co.jp>
2002-08-05 18:26:16 +00:00
Greg Lewis
3341a3cd35 Add in a patch from the porting repository that allows people to build
HotSpot if they wish (by hand, not via the port yet).
2002-08-05 18:16:05 +00:00
Greg Lewis
833af3b828 Update to patchset 7. 2002-07-25 18:31:26 +00:00
Greg Lewis
991bc4e41a . Fix compilation on FreeBSD 4.2 by including <sys/param.h>
PR:	36871

. Fix compilation on -CURRENT using gcc 3.1 by including <string.h>
  (for strlen(3))

Reported and tested by:	 John Angelmo <john@veidit.net>

Reviewed by:	sobomax
Approved by:	sobomax
2002-06-11 19:03:47 +00:00
Kris Kennaway
9f5a2bc787 Rename monstrously long patch filenames that were causing tar to exceed
length limitations (100 characters) and fail.
2002-06-05 21:43:14 +00:00
Greg Lewis
b2841c8077 Really fix the incompatibilities with gettext 0.11. The previous
bandaid is reverted by this commit and instead patches are added
which will remove duplicate message entries from the .po files for
the plugin.

These are essentially the patches of marius@alchemy.franken.de, with
the first part of each patch removed (the message does actually have
two spaces in the code!).  These patches were verified with the script
submitted by KANOU Hiroki-san and against the patches submitted by
SUGIMURA Takashi-san.  Thanks to all of these people.

Apologies for the increasingly long patch names.

PR:		37087, 37147
Submitted by:	marius@alchemy.franken.de
Reviewed by:	sobomax
Approved by:	sobomax
2002-05-03 05:32:23 +00:00
Greg Lewis
4a6fa7fd6f Fix the build of libaudio.so on 5-CURRENT by using <sys/soundcard.h>
rather than <machine/soundcard.h>.  This doesn't affect the build
on 4-STABLE.

PR:		36988
Submitted by:	Motoyuki Konno <motoyuki@bsdclub.org>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 19:34:24 +00:00
Greg Lewis
8716a1907f Add a temporary dependency on gettext-old and use msgfmt-old to process
messages for the browser plugin.

This is a bandaid for the problem expressed in the PR while I evaluate
a number of other proposed patches for the correct fix.  Hence the PR
currently remains open.

PR:	37087
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 18:24:44 +00:00
Greg Lewis
3b5594fd6b Fix some crash bugs in the browser plugin code by using
the correct functions to call static Java methods.

Submitted by:	Richard Tobin <richard@cogsci.ed.ac.uk>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 06:07:05 +00:00
Greg Lewis
d33b274b3b Add Taiwan Chinese font properties support (if I understand
the locale correctly).

Submitted by:	Zhenbang Wei <forth@zbwei.net> (via clive)
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 06:04:20 +00:00
Greg Lewis
51a22b820e A better fix for creating src.jar. Using tar by itself fails because the
argument list is too long.  Hence the first patch invoked tar once for
each file.  This works, but is inefficient.  This version of the patch
uses cpio in pass through mode to copy all the files at once.

PR:		35658
Submitted by:	"Remco van 't Veer" <rwvtveer@xs4all.nl>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-12 05:00:52 +00:00
Maxim Sobolev
0b5fbf9067 Link Mozilla pligin with libXt to make it working with Mozilla-0.9.9. This
resolves the following error when starting Mozilla:

  LoadPlugin: failed to initialize shared library
  /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
  [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined
  symbol "XtShellStrings"]

While I'm here add a tweak to prune empty directories before installing
JDK, so that JDK installed from a pre-built package deinstalls properly.

Bump PORTREVISION.
2002-03-13 15:06:16 +00:00
Ernst de Haan
efdbdc5974 Fixes the problem that the source JAR is too small.
Submitted by:	Greg Lewis
PR:		ports/35658
2002-03-11 10:36:27 +00:00
Maxim Sobolev
a5d43336b4 Update to patchlevel 5.
PR:		31257
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-10-16 12:43:07 +00:00
Maxim Sobolev
de662bfa42 Fix a potential crash on 5-CURRENT.
Submitted by:	Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
2001-09-12 11:18:39 +00:00
Maxim Sobolev
c42447ab5b Update to patchlevel 4. This release contains many critical bug fixes, so
please make sure that you have upgraded before reporting a bug or problem.

PR:		30481
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-09-10 11:43:08 +00:00
Maxim Sobolev
630b953d37 Add native port of Sun's Java Devepment Kit, v.1.3.1 (repo-copied from
jdk12-beta).

PR:		29949
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-08-27 18:58:46 +00:00
Maxim Sobolev
4f81079d73 Correct patch, so it will apply cleanly.
Submitted by:	Ed Sweeney <edwardsweeney@yahoo.com>
2000-10-16 07:50:21 +00:00
Maxim Sobolev
a09d414989 Add jdk12-beta - a "glue" to build a native JDK1.2.2 using source code from
Sun and patchset from FreeBSD Java Project.
2000-10-13 12:41:25 +00:00