pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/db3 Added patch-ae, which fixes the java-db3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8b8fc19c2ef
branches:  trunk
changeset: 515146:e8b8fc19c2ef
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jun 26 09:53:56 2006 +0000

description:
Added patch-ae, which fixes the java-db3 build with jdk-1.5.

diffstat:

 databases/db3/distinfo         |   3 ++-
 databases/db3/patches/patch-ae |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r ee76d1ecff06 -r e8b8fc19c2ef databases/db3/distinfo
--- a/databases/db3/distinfo    Mon Jun 26 09:45:55 2006 +0000
+++ b/databases/db3/distinfo    Mon Jun 26 09:53:56 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2005/12/02 19:39:23 joerg Exp $
+$NetBSD: distinfo,v 1.16 2006/06/26 09:53:56 rillig Exp $
 
 SHA1 (db-3.3.11.tar.gz) = d6871c7e6008eb726d6fc28e3debc44d34570f93
 RMD160 (db-3.3.11.tar.gz) = 08092e2cd6d67e767ed5c3f7ff55726c3f6a7d45
@@ -13,3 +13,4 @@
 SHA1 (patch-ab) = ae1a963bd0ec26555718c1696b56914834a25ffc
 SHA1 (patch-ac) = 38b3eda1e70dbf6d27ae09affc4b570e4190788e
 SHA1 (patch-ad) = 750da0d7561f74d88d5a008e8eb8f59636cb5f47
+SHA1 (patch-ae) = 58e14471092d814748e1dca1a9411e8bc1ebf13d
diff -r ee76d1ecff06 -r e8b8fc19c2ef databases/db3/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db3/patches/patch-ae    Mon Jun 26 09:53:56 2006 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ae,v 1.1 2006/06/26 09:53:56 rillig Exp $
+
+Since Java 1.5, "enum" is a keyword.
+
+--- DbEnv.java.orig    2001-07-03 23:08:49.000000000 +0200
++++ DbEnv.java 2006-06-26 11:48:55.000000000 +0200
+@@ -78,9 +78,9 @@
+     //
+     /*package*/ void _notify_dbs()
+     {
+-        Enumeration enum = dblist_.elements();
+-        while (enum.hasMoreElements()) {
+-            Db db = (Db)enum.nextElement();
++        Enumeration e = dblist_.elements();
++        while (e.hasMoreElements()) {
++            Db db = (Db)e.nextElement();
+             db._notify_dbenv_close();
+         }
+         dblist_.removeAllElements();



Home | Main Index | Thread Index | Old Index