diff options
author | Maho Nakata <maho@FreeBSD.org> | 2006-02-11 23:24:00 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2006-02-11 23:24:00 +0000 |
commit | e9c0c3a7e5d60127c587a8ee955708dbcd09a8b8 (patch) | |
tree | 5009788b7f62e87fabd4058e385da872a1eba7d3 /editors | |
parent | d21c51245e742d8a5dcf0eb47d7efa9c1d3eb2b8 (diff) | |
download | ports-e9c0c3a7e5d60127c587a8ee955708dbcd09a8b8.tar.gz ports-e9c0c3a7e5d60127c587a8ee955708dbcd09a8b8.zip |
Notes
Diffstat (limited to 'editors')
5 files changed, 0 insertions, 300 deletions
diff --git a/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx deleted file mode 100644 index 610b3b087221..000000000000 --- a/editors/openoffice-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx +++ /dev/null @@ -1,60 +0,0 @@ -Issuetracker : #i56953# -CWS : N/A -Author : <maho@openoffice.org> -Description : FreeBSD porting : do not hardcode pXX of Java version and FreeBSD native Java is always superior to Linux's one. - -1. we had been hard coding Java's version by p1, p2 ... etc. but apparently -it is not a good habit. in this patch we eleminate this. - -2. we'd better to use FreeBSD's native Java, and not GNU/Linux's ones if both are exist -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. - ---- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005 -+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005 -@@ -208,7 +208,15 @@ - return false; - #if defined(FREEBSD) - if (m_preRelease == Rel_FreeBSD) { -- m_nUpdateSpecial = *pCur; -+ pCur++; //elemnate `p' -+ if (pCur < pEnd && isdigit(*pCur)) -+ pCur ++; -+ int len = pCur - pLast -1; //elemenate `p' -+ if (len >= 127) -+ return false; -+ strncpy(buf, (pLast+1), len); //elemenate `p' -+ buf[len] = 0; -+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD - return true; - } - #endif -@@ -249,27 +258,7 @@ - else if (! strcmp(szRelease, "rc3")) - return Rel_RC3; - #if defined (FREEBSD) -- else if (! strcmp(szRelease, "p1")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p2")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p3")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p4")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p5")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p6")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p7")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p8")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p9")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p10")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p11")) -+ else if (! strncmp(szRelease, "p", 1)) - return Rel_FreeBSD; - #endif - else diff --git a/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx deleted file mode 100644 index 610b3b087221..000000000000 --- a/editors/openoffice.org-2-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx +++ /dev/null @@ -1,60 +0,0 @@ -Issuetracker : #i56953# -CWS : N/A -Author : <maho@openoffice.org> -Description : FreeBSD porting : do not hardcode pXX of Java version and FreeBSD native Java is always superior to Linux's one. - -1. we had been hard coding Java's version by p1, p2 ... etc. but apparently -it is not a good habit. in this patch we eleminate this. - -2. we'd better to use FreeBSD's native Java, and not GNU/Linux's ones if both are exist -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. - ---- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005 -+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005 -@@ -208,7 +208,15 @@ - return false; - #if defined(FREEBSD) - if (m_preRelease == Rel_FreeBSD) { -- m_nUpdateSpecial = *pCur; -+ pCur++; //elemnate `p' -+ if (pCur < pEnd && isdigit(*pCur)) -+ pCur ++; -+ int len = pCur - pLast -1; //elemenate `p' -+ if (len >= 127) -+ return false; -+ strncpy(buf, (pLast+1), len); //elemenate `p' -+ buf[len] = 0; -+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD - return true; - } - #endif -@@ -249,27 +258,7 @@ - else if (! strcmp(szRelease, "rc3")) - return Rel_RC3; - #if defined (FREEBSD) -- else if (! strcmp(szRelease, "p1")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p2")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p3")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p4")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p5")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p6")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p7")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p8")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p9")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p10")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p11")) -+ else if (! strncmp(szRelease, "p", 1)) - return Rel_FreeBSD; - #endif - else diff --git a/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx deleted file mode 100644 index 610b3b087221..000000000000 --- a/editors/openoffice.org-2.0-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx +++ /dev/null @@ -1,60 +0,0 @@ -Issuetracker : #i56953# -CWS : N/A -Author : <maho@openoffice.org> -Description : FreeBSD porting : do not hardcode pXX of Java version and FreeBSD native Java is always superior to Linux's one. - -1. we had been hard coding Java's version by p1, p2 ... etc. but apparently -it is not a good habit. in this patch we eleminate this. - -2. we'd better to use FreeBSD's native Java, and not GNU/Linux's ones if both are exist -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. - ---- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005 -+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005 -@@ -208,7 +208,15 @@ - return false; - #if defined(FREEBSD) - if (m_preRelease == Rel_FreeBSD) { -- m_nUpdateSpecial = *pCur; -+ pCur++; //elemnate `p' -+ if (pCur < pEnd && isdigit(*pCur)) -+ pCur ++; -+ int len = pCur - pLast -1; //elemenate `p' -+ if (len >= 127) -+ return false; -+ strncpy(buf, (pLast+1), len); //elemenate `p' -+ buf[len] = 0; -+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD - return true; - } - #endif -@@ -249,27 +258,7 @@ - else if (! strcmp(szRelease, "rc3")) - return Rel_RC3; - #if defined (FREEBSD) -- else if (! strcmp(szRelease, "p1")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p2")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p3")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p4")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p5")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p6")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p7")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p8")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p9")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p10")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p11")) -+ else if (! strncmp(szRelease, "p", 1)) - return Rel_FreeBSD; - #endif - else diff --git a/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx deleted file mode 100644 index 610b3b087221..000000000000 --- a/editors/openoffice.org-3-devel/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx +++ /dev/null @@ -1,60 +0,0 @@ -Issuetracker : #i56953# -CWS : N/A -Author : <maho@openoffice.org> -Description : FreeBSD porting : do not hardcode pXX of Java version and FreeBSD native Java is always superior to Linux's one. - -1. we had been hard coding Java's version by p1, p2 ... etc. but apparently -it is not a good habit. in this patch we eleminate this. - -2. we'd better to use FreeBSD's native Java, and not GNU/Linux's ones if both are exist -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. - ---- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005 -+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005 -@@ -208,7 +208,15 @@ - return false; - #if defined(FREEBSD) - if (m_preRelease == Rel_FreeBSD) { -- m_nUpdateSpecial = *pCur; -+ pCur++; //elemnate `p' -+ if (pCur < pEnd && isdigit(*pCur)) -+ pCur ++; -+ int len = pCur - pLast -1; //elemenate `p' -+ if (len >= 127) -+ return false; -+ strncpy(buf, (pLast+1), len); //elemenate `p' -+ buf[len] = 0; -+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD - return true; - } - #endif -@@ -249,27 +258,7 @@ - else if (! strcmp(szRelease, "rc3")) - return Rel_RC3; - #if defined (FREEBSD) -- else if (! strcmp(szRelease, "p1")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p2")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p3")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p4")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p5")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p6")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p7")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p8")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p9")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p10")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p11")) -+ else if (! strncmp(szRelease, "p", 1)) - return Rel_FreeBSD; - #endif - else diff --git a/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx b/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx deleted file mode 100644 index 610b3b087221..000000000000 --- a/editors/openoffice.org-vcltesttool/files/patch-jvmfwk+plugins+sunmajor+pluginlib+sunversion.cxx +++ /dev/null @@ -1,60 +0,0 @@ -Issuetracker : #i56953# -CWS : N/A -Author : <maho@openoffice.org> -Description : FreeBSD porting : do not hardcode pXX of Java version and FreeBSD native Java is always superior to Linux's one. - -1. we had been hard coding Java's version by p1, p2 ... etc. but apparently -it is not a good habit. in this patch we eleminate this. - -2. we'd better to use FreeBSD's native Java, and not GNU/Linux's ones if both are exist -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. - ---- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Thu Sep 8 04:31:40 2005 -+++ jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sat Oct 22 18:25:49 2005 -@@ -208,7 +208,15 @@ - return false; - #if defined(FREEBSD) - if (m_preRelease == Rel_FreeBSD) { -- m_nUpdateSpecial = *pCur; -+ pCur++; //elemnate `p' -+ if (pCur < pEnd && isdigit(*pCur)) -+ pCur ++; -+ int len = pCur - pLast -1; //elemenate `p' -+ if (len >= 127) -+ return false; -+ strncpy(buf, (pLast+1), len); //elemenate `p' -+ buf[len] = 0; -+ m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD - return true; - } - #endif -@@ -249,27 +258,7 @@ - else if (! strcmp(szRelease, "rc3")) - return Rel_RC3; - #if defined (FREEBSD) -- else if (! strcmp(szRelease, "p1")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p2")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p3")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p4")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p5")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p6")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p7")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p8")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p9")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p10")) -- return Rel_FreeBSD; -- else if (! strcmp(szRelease, "p11")) -+ else if (! strncmp(szRelease, "p", 1)) - return Rel_FreeBSD; - #endif - else |