Author: randy Date: 2005-05-26 14:59:27 -0600 (Thu, 26 May 2005) New Revision: 956
Added: trunk/libgda/ trunk/libgda/libgda-1.2.1-bdb_43-1.patch Log: Added a patch for the libgda package to build against BDB-4.3.x Added: trunk/libgda/libgda-1.2.1-bdb_43-1.patch =================================================================== --- trunk/libgda/libgda-1.2.1-bdb_43-1.patch 2005-05-22 19:37:27 UTC (rev 955) +++ trunk/libgda/libgda-1.2.1-bdb_43-1.patch 2005-05-26 20:59:27 UTC (rev 956) @@ -0,0 +1,22 @@ +Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org> +Date: 2005-05-26 +Initial Package Version: 1.2.1 +Upstream Status: Reported +Origin: Randy McMurchy - information found at: + http://www.sleepycat.com/docs/ref/upgrade.4.3/stat.html +Description: Adds a check for BDB >= version 4.3 and adds the required + API change if necessary + +diff -Nau libgda-1.2.1-orig/providers/bdb/gda-bdb-recordset.c libgda-1.2.1/providers/bdb/gda-bdb-recordset.c +--- libgda-1.2.1-orig/providers/bdb/gda-bdb-recordset.c 2003-12-17 11:27:02.000000000 +0000 ++++ libgda-1.2.1/providers/bdb/gda-bdb-recordset.c 2005-05-26 20:08:08.000000000 +0000 +@@ -227,6 +227,9 @@ + + /* get the number of records in the database */ + ret = dbp->stat (dbp, ++#if BDB_VERSION >= 40300 ++ NULL, ++#endif + &statp, + #if BDB_VERSION < 40000 + NULL, -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
