freebsd-ports/editors/openoffice.org-2-devel/files/patch-jvmaccess+source+sunversion.cxx
Maho Nakata ad52f66a67 Add possible version info for FreeBSD's
native jdk1.4.x-p1 -p2 ... -p8
2003-09-02 21:40:15 +00:00

25 lines
941 B
C++

--- ../jvmaccess/source/sunversion.cxx.orig Thu May 22 18:41:23 2003
+++ ../jvmaccess/source/sunversion.cxx Tue Sep 2 21:31:04 2003
@@ -244,6 +244,22 @@
m_preRelease = Rel_RC1;
else if (! strcmp(pCur, "rc2"))
m_preRelease = Rel_RC2;
+ else if (! strcmp(pCur, "p8"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p7"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p6"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p5"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p4"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p3"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p2"))
+ m_preRelease = Rel_BETA;
+ else if (! strcmp(pCur, "p1"))
+ m_preRelease = Rel_BETA;
else
return false;
}