Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119682 - dev-java/jss-3.4 Java 1.5 Patch
Summary: dev-java/jss-3.4 Java 1.5 Patch
Status: RESOLVED DUPLICATE of bug 69970
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 139221
  Show dependency tree
 
Reported: 2006-01-20 05:12 UTC by Danny Brain
Modified: 2006-07-04 11:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ss-3.4-r1.ebuild (jss-3.4-r1.ebuild,2.09 KB, text/plain)
2006-01-20 05:12 UTC, Danny Brain
Details
jss-3.4-jdk1.5-enum.patch (jss-3.4-jdk1.5-enum.patch,1.35 KB, patch)
2006-01-20 05:13 UTC, Danny Brain
Details | Diff
jss-3.4-r1.ebuild (jss-3.4-r1.ebuild,2.09 KB, text/plain)
2006-01-20 05:13 UTC, Danny Brain
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***