diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-05 20:40:39 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-05 20:40:39 +0000 |
commit | aff852ecefa7e1f578aac61391817ef208031165 (patch) | |
tree | b24adc88a423563cc6bc7f67ef613cd5df131f7a /java/cacao/files/patch-src__vm__properties.cpp | |
parent | - Update to 4.2 build2007. (diff) |
- Update to 1.6.0.
- Reset maintainership. See ports/164941.
- Make it as amd64 and i386 only. Other architectures needs porting.
- Reduce Makefile headers, add licenses, and convert to optionsNG.
- Add an option to build with native JDK. When it is not selected, GCJ is
used instead. Turned on by default.
Notes
Notes:
svn path=/head/; revision=305320
Diffstat (limited to 'java/cacao/files/patch-src__vm__properties.cpp')
-rw-r--r-- | java/cacao/files/patch-src__vm__properties.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/java/cacao/files/patch-src__vm__properties.cpp b/java/cacao/files/patch-src__vm__properties.cpp new file mode 100644 index 000000000000..c15c0a01bf84 --- /dev/null +++ b/java/cacao/files/patch-src__vm__properties.cpp @@ -0,0 +1,14 @@ +--- src/vm/properties.cpp.orig 2012-09-03 12:10:00.000000000 -0400 ++++ src/vm/properties.cpp 2012-10-04 14:34:15.000000000 -0400 +@@ -74,7 +74,11 @@ + + p = MNEW(char, 4096); + ++#if defined(__FreeBSD__) ++ if (os::readlink("/proc/curproc/file", p, 4095) == -1) ++#else + if (os::readlink("/proc/self/exe", p, 4095) == -1) ++#endif + os::abort_errno("readlink failed"); + + /* We have a path like: |