[BACK]Return to patch-aa CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / libtabe / patches

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / libtabe / patches / patch-aa (download)

Revision 1.5, Wed Jun 2 12:34:02 2010 UTC (11 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, HEAD
Changes since 1.4: +10 -1 lines

Fix building with db5; revision bump for db4 update; clean-up

$NetBSD: patch-aa,v 1.5 2010/06/02 12:34:02 adam Exp $

--- configure.orig	2004-09-20 06:16:48.000000000 +0000
+++ configure
@@ -18905,7 +18905,7 @@ OLD_LIBS=$LIBS
 CPPFLAGS="$OLD_CPPFLAGS $with_db_inc"
 LDFLAGS="$OLD_LDFLAGS $test_db_lib"
-for dbname in $with_db_name db db2 db3 db4
+for dbname in $with_db_name db db2 db3 db4 db5
   as_ac_Lib=`echo "ac_cv_lib_$dbname''_db_open" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for db_open in -l$dbname" >&5
@@ -19253,7 +19253,9 @@ errno = db_open("foo.db", DB_BTREE, DB_C
 if(errno) return errno;
-#if DB_VERSION >= 303011
+#if DB_VERSION >= 403000
+errno = dbp->stat(dbp, NULL, &sp, 0);
+#elif DB_VERSION >= 303011
 errno = dbp->stat(dbp, &sp, 0);
 errno = dbp->stat(dbp, &sp, NULL, 0);