summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-28 23:58:01 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-28 23:58:01 +0000
commit83b527a18d3fe8abbf4ff298672254708c6d49f1 (patch)
tree24072f704a055c68fae060f1dc5edd056aa5f0d4 /dev-java/gnu-crypto/files
parentVersion bump. (diff)
downloadgentoo-2-83b527a18d3fe8abbf4ff298672254708c6d49f1.tar.gz
gentoo-2-83b527a18d3fe8abbf4ff298672254708c6d49f1.tar.bz2
gentoo-2-83b527a18d3fe8abbf4ff298672254708c6d49f1.zip
Added patch to enable compilation with a 1.5 jdk, fixes #94065. Thanks to Mikael Cluseau <nwrk-public@altern.org>.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/gnu-crypto/files')
-rw-r--r--dev-java/gnu-crypto/files/digest-gnu-crypto-2.0.1-r11
-rw-r--r--dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-java/gnu-crypto/files/digest-gnu-crypto-2.0.1-r1 b/dev-java/gnu-crypto/files/digest-gnu-crypto-2.0.1-r1
new file mode 100644
index 000000000000..27fdc694b3d8
--- /dev/null
+++ b/dev-java/gnu-crypto/files/digest-gnu-crypto-2.0.1-r1
@@ -0,0 +1 @@
+MD5 39ac686b8f7ecfb95de7d58c85b8935b gnu-crypto-2.0.1.tar.bz2 3895714
diff --git a/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch b/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch
new file mode 100644
index 000000000000..47957cc5ec5f
--- /dev/null
+++ b/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch
@@ -0,0 +1,30 @@
+diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java
+--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java 2003-11-21 10:22:10.000000000 +0100
++++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java 2005-05-24 16:16:37.493727834 +0200
+@@ -140,9 +140,9 @@
+ return mechanism;
+ }
+
+- public Object getNegotiatedProperty(final String propName) throws SaslException {
++ public Object getNegotiatedProperty(final String propName) {
+ if (!isComplete()) {
+- throw new IllegalMechanismStateException();
++ throw new IllegalStateException();
+ }
+ if (Sasl.QOP.equals(propName)) {
+ return getNegotiatedQOP();
+diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java
+--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java 2003-11-21 10:26:14.000000000 +0100
++++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java 2005-05-24 16:16:55.503085024 +0200
+@@ -147,9 +147,9 @@
+ return this.authorizationID;
+ }
+
+- public Object getNegotiatedProperty(final String propName) throws SaslException {
++ public Object getNegotiatedProperty(final String propName) {
+ if (!isComplete()) {
+- throw new IllegalMechanismStateException();
++ throw new IllegalStateException();
+ }
+ if (Sasl.QOP.equals(propName)) {
+ return getNegotiatedQOP();