summaryrefslogtreecommitdiff
path: root/inputmethod/libtabe/patches/patch-ad
diff options
context:
space:
mode:
authorrillig <rillig>2005-09-28 17:09:43 +0000
committerrillig <rillig>2005-09-28 17:09:43 +0000
commitf8ba87bf08b5d8ba29eb6081b016abd0fd63724c (patch)
treefce9ec994d2aa85bf3cbc66673ba7c3288329d1a /inputmethod/libtabe/patches/patch-ad
parent743fef3aac9bdb00447e32ca188db0c9152269c5 (diff)
downloadpkgsrc-f8ba87bf08b5d8ba29eb6081b016abd0fd63724c.tar.gz
Fixed pkglint warnings. Among others, split patch-aa into six patches.
Diffstat (limited to 'inputmethod/libtabe/patches/patch-ad')
-rw-r--r--inputmethod/libtabe/patches/patch-ad23
1 files changed, 23 insertions, 0 deletions
diff --git a/inputmethod/libtabe/patches/patch-ad b/inputmethod/libtabe/patches/patch-ad
new file mode 100644
index 00000000000..f5e58e37aa3
--- /dev/null
+++ b/inputmethod/libtabe/patches/patch-ad
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1 2005/09/28 17:09:43 rillig Exp $
+
+--- script/configure.in.orig Tue Dec 4 23:05:00 2001
++++ script/configure.in Fri Dec 7 23:17:29 2001
+@@ -178,6 +178,18 @@
+ AC_MSG_RESULT([Please use --with-db-inc to configure.])
+ exit 1 ])
+
++AC_MSG_CHECKING([DB3 API])
++if test x$USE_DB = xDB3; then
++ AC_TRY_LINK([
++#include <stdlib.h>
++#include <db.h>], [
++DB dbs;
++dbs.stat(&dbs, NULL, 0); ],
++ [ AC_DEFINE(HAVE_DB3_STAT3)
++ AC_MSG_RESULT([DB->stat() take 3 arguements.]) ],
++ [ AC_MSG_RESULT([DB->stat() take 4 arguements.]) ])
++fi
++
+ if test x$with_db_lib = x; then
+ with_db_lib="$test_db_lib"
+ else