aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-07-27 22:28:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-07-27 22:28:55 +0000
commitb0547724b97c2f1faab9b9268b81c6aaef5b420c (patch)
tree55e0d069a2a96b26316fe5cbd71114975f8ea682 /java
parent9477d933b7dcd4aee46dc2641324d8bca7331b60 (diff)
downloadports-b0547724b97c2f1faab9b9268b81c6aaef5b420c.tar.gz
ports-b0547724b97c2f1faab9b9268b81c6aaef5b420c.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/sqlitejdbc/Makefile1
-rw-r--r--java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java14
2 files changed, 15 insertions, 0 deletions
diff --git a/java/sqlitejdbc/Makefile b/java/sqlitejdbc/Makefile
index 6c686b92a8c9..c1aed2e69c38 100644
--- a/java/sqlitejdbc/Makefile
+++ b/java/sqlitejdbc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sqlitejdbc
PORTVERSION= 056
+PORTREVISION= 1
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -src
CATEGORIES= java databases
diff --git a/java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java b/java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java
new file mode 100644
index 000000000000..d5bb495d95b8
--- /dev/null
+++ b/java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java
@@ -0,0 +1,14 @@
+--- src/org/sqlite/Conn.java.orig 2009-07-22 18:33:46.000000000 +0200
++++ src/org/sqlite/Conn.java 2009-07-22 18:33:53.000000000 +0200
+@@ -214,7 +214,10 @@ class Conn implements Connection
+ ResultSet.CONCUR_READ_ONLY);
+ }
+ public PreparedStatement prepareStatement(String sql, int autoC)
+- throws SQLException { throw new SQLException("NYI"); }
++ throws SQLException {
++ return prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY,
++ ResultSet.CONCUR_READ_ONLY);
++ }
+ public PreparedStatement prepareStatement(String sql, int[] colInds)
+ throws SQLException { throw new SQLException("NYI"); }
+ public PreparedStatement prepareStatement(String sql, String[]