Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 72133

Summary: dev-java/javacc patch for jdk 1.5
Product: Gentoo Linux Reporter: Jan Brinkmann (RETIRED) <luckyduck>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: 2004.3   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: javacc-3.2-r3.ebuild
javacc-buildxml.patch

Description Jan Brinkmann (RETIRED) gentoo-dev 2004-11-22 14:13:02 UTC
javacc can only be compiled using jdk 1.5 when source="1.4" and target="1.4" is added to all build.xml files
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2004-11-22 14:13:55 UTC
Created attachment 44501 [details]
javacc-3.2-r3.ebuild

this ebuild calls epatch in src_unpack() and patched the build.xml's
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2004-11-22 14:14:34 UTC
Created attachment 44502 [details, diff]
javacc-buildxml.patch

the patch itself =)
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2004-12-23 15:21:45 UTC
closing this one because we can rewrite the build.xml in the near future using compnerd's python tool. that makes this patching unnecessary.
Comment 4 Patrizio Bassi 2005-04-28 03:33:34 UTC
sorry....but actually with jdk 1.5  it's broken.

so...or you apply this patch (i tested it works perfectly) or you change it with python, but please do not leave it as now.


thx