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

Bug 119682

Summary: dev-java/jss-3.4 Java 1.5 Patch
Product: Gentoo Linux Reporter: Danny Brain <tehdanish>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 139221    
Attachments: ss-3.4-r1.ebuild
jss-3.4-jdk1.5-enum.patch
jss-3.4-r1.ebuild

Description Danny Brain 2006-01-20 05:12:09 UTC
Patch for JSS 3.4 to compile under Java 1.5. Changes enum variables to enumer so it's backwards compatible.
Comment 1 Danny Brain 2006-01-20 05:12:49 UTC
Created attachment 77639 [details]
ss-3.4-r1.ebuild

Added epatch line and a cd.
Comment 2 Danny Brain 2006-01-20 05:13:18 UTC
Created attachment 77640 [details, diff]
jss-3.4-jdk1.5-enum.patch

Mentioned patch.
Comment 3 Danny Brain 2006-01-20 05:13:39 UTC
Created attachment 77641 [details]
jss-3.4-r1.ebuild

Fixed naming.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-01-20 06:08:05 UTC
A much simpler patch would be to simply change the build.xml, and add source="1.4" and target="1.4" to the javac tasks.

Fortunately, we are working on migrating to a new system that will automatically do this for you. See bug #65937.

Also worth noting is http://www.gentoo.org/proj/en/java/tiger-faq.xml

Aside from that, it's better to attach patches to existing ebuilds, rather than the whole patch. This makes it much easier to see what changes you might have made.

*** This bug has been marked as a duplicate of 69970 ***