| Summary: | openoffice-1.0.2 does not apply 1.4 patches when used with >=sun-j2sdk-1.4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Zhen Lin <lowzl> |
| Component: | New packages | Assignee: | Seth Chandler <sethbc> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
fixed in cvs |
This is due to the fact that the search pattern for 1.4 is 'jdk-1.4', not 'j(2s)?dk-1.4' to allow for sun-j2sdk and FORCE_JAVA=yes Reproducible: Always Steps to Reproduce: 1. Set the Java VM to >=sun-j2sdk-1.4 2. export FORCE_JAVA=yes; emerge openoffice 3. Sit back and watch for 1 - 2 hours. Actual Results: 1.4 syntactical error: return (URLStreamHandler)handlerClass.newInstance();; ^ Expected Results: Compiled nicely A patch that can be used: --- openoffice-1.0.2.ebuild.orig 2003-03-01 02:50:48.000000000 +0800 +++ openoffice-1.0.2.ebuild 2003-03-03 17:46:50.000000000 +0800 @@ -224,7 +224,7 @@ cd ${S} # Seth -- Dec 1 2002 - if [ "$(echo ${JAVA_BINARY} | grep "jdk-1.4")" ] + if [ "$(echo ${JAVA_BINARY} | egrep 'j(2s)?dk-1.4')" ] then epatch ${FILESDIR}/${PV}/${PN}-1.0.1-fix-jdk-1.4.0.patch fi