summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-12-13 10:35:59 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-12-13 10:35:59 +0000
commitc4cdac2deb22e1a421ecba3986f57df337eef205 (patch)
tree5c75dc1991d8d3404a0c506da300e00ee72ec0d5 /editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx
parentUpdate to OOG680_m9 (Version 2.3.1) and marked as IGNORE. (diff)
Unbreak for FreeBSD6. Build fails if the capacity of /tmp
is very small. However, still broken for 7 for unknown reason.
Notes
Notes: svn path=/head/; revision=203464
Diffstat (limited to '')
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx b/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx
index b334fb1339a0..bbed543f1021 100644
--- a/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx
+++ b/editors/openoffice.org-1.1-devel/files/patch-jvmaccess+source+sunversion.cxx
@@ -10,8 +10,19 @@ it is not a good habit. in this patch we eleminate this.
in the system. We add 100 as micro version number, so that we treat FreeBSD's version of
java 1.4.1-p10 for example to 1.4.1_110.
+3. Java version of 1.5.0_13-p7 will be treated as 1.5.0_13. -p part will be ignored.
+
--- jvmaccess/source/sunversion.cxx Thu Jun 16 21:45:26 2005
+++ jvmaccess/source/sunversion.cxx Sat Oct 22 16:42:01 2005
+@@ -193,7 +193,7 @@
+ pCur ++;
+ // nPartPos ++;
+ }
+- else if (nUpdatePart == 0 && (pCur == pEnd || isalpha(*pCur)))
++ else if (nUpdatePart == 0 && (pCur == pEnd || isalpha(*pCur) || (*pCur)=='-' ))
+ {
+ int len = pCur - pLast;
+ if (len >= 127)
@@ -246,30 +247,22 @@
m_preRelease = Rel_RC2;
#if defined FREEBSD || defined NETBSD