Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160631 - dev-java/jdbc3-postgresql-8.1 java5 compilation patch
Summary: dev-java/jdbc3-postgresql-8.1 java5 compilation patch
Status: RESOLVED WONTFIX
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:
 
Reported: 2007-01-07 06:25 UTC by Mikhail V. Vorozhtsov
Modified: 2007-09-23 00:18 UTC (History)
1 user (show)

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


Attachments
jdbc3-postgresql-8.1_p404-r1.patch (jdbc3-postgresql-8.1_p404-r1.patch,1.24 KB, patch)
2007-01-07 06:26 UTC, Mikhail V. Vorozhtsov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail V. Vorozhtsov 2007-01-07 06:25:12 UTC
Yesterday I found jdbc3-postgresql-8.1 is the only package in my system that depends on jdk-1.4, so I made this patch to allow compilation with jdk-1.{5,6} then use-flag 'java5' is enabled.

Reproducible: Always
Comment 1 Mikhail V. Vorozhtsov 2007-01-07 06:26:08 UTC
Created attachment 105763 [details, diff]
jdbc3-postgresql-8.1_p404-r1.patch
Comment 2 Miroslav Šulc gentoo-dev 2007-01-07 11:06:10 UTC
Yesterday I just committed to portage tree jdbc-postgresql package that supports java5 USE flag so use jdbc-postgresql instead of jdbc3-postgresql which will be removed when jdbc-postgresql gets stable.

Just one note to your patch. When building jdbc driver using jdk 1.5, it builds JDBC 3 driver whereas if using jdk 1.6, it builds JDBC 4 driver so you might get two different results from single USE flag depending just on what jdk you used to build the package.

Anyway thank you for your patch and feel free to give us your feedback about new jdbc-postgresql package.