diff options
author | rillig <rillig@pkgsrc.org> | 2005-09-28 17:09:43 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-09-28 17:09:43 +0000 |
commit | 96d704958ef25cbb9c7cf69bd081235ee7b6afd2 (patch) | |
tree | fce9ec994d2aa85bf3cbc66673ba7c3288329d1a /inputmethod/libtabe/patches | |
parent | 63ba96912ebe40a9d8df9842a4fecc7fee404d48 (diff) | |
download | pkgsrc-96d704958ef25cbb9c7cf69bd081235ee7b6afd2.tar.gz |
Fixed pkglint warnings. Among others, split patch-aa into six patches.
Diffstat (limited to 'inputmethod/libtabe/patches')
-rw-r--r-- | inputmethod/libtabe/patches/patch-aa | 73 | ||||
-rw-r--r-- | inputmethod/libtabe/patches/patch-ab | 13 | ||||
-rw-r--r-- | inputmethod/libtabe/patches/patch-ac | 13 | ||||
-rw-r--r-- | inputmethod/libtabe/patches/patch-ad | 23 | ||||
-rw-r--r-- | inputmethod/libtabe/patches/patch-ae | 16 | ||||
-rw-r--r-- | inputmethod/libtabe/patches/patch-af | 16 |
6 files changed, 82 insertions, 72 deletions
diff --git a/inputmethod/libtabe/patches/patch-aa b/inputmethod/libtabe/patches/patch-aa index a2167627fc4..c54b18a8343 100644 --- a/inputmethod/libtabe/patches/patch-aa +++ b/inputmethod/libtabe/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2002/08/25 19:22:59 jlam Exp $ +$NetBSD: patch-aa,v 1.3 2005/09/28 17:09:43 rillig Exp $ --- configure.orig Tue Dec 4 23:05:00 2001 +++ configure Fri Dec 7 23:17:32 2001 @@ -237,74 +237,3 @@ $NetBSD: patch-aa,v 1.2 2002/08/25 19:22:59 jlam Exp $ rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else ---- script/acconfig.h.orig Mon Aug 20 11:53:03 2001 -+++ script/acconfig.h Fri Dec 7 23:13:28 2001 -@@ -21,6 +21,8 @@ - - #undef HAVE_DB3 - -+#undef HAVE_DB3_STAT3 -+ - #undef LINUX - - #undef FREEBSD ---- script/config.h.in.orig Sat Oct 20 19:22:07 2001 -+++ script/config.h.in Fri Dec 7 23:17:32 2001 -@@ -13,6 +13,8 @@ - - #undef HAVE_DB3 - -+#undef HAVE_DB3_STAT3 -+ - #undef LINUX - - #undef FREEBSD ---- 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 ---- src/tabe_tsidbint.c.orig Sun Nov 11 19:15:46 2001 -+++ src/tabe_tsidbint.c Fri Dec 7 23:13:15 2001 -@@ -265,7 +265,11 @@ - switch(tsidb->type) { - case DB_TYPE_DB: - dbp = (DB *)tsidb->dbp; -+#ifdef HAVE_DB3_STAT3 -+ errno = dbp->stat(dbp, &sp, 0); -+#else - errno = dbp->stat(dbp, &sp, NULL, 0); -+#endif - if (!errno) { - #ifndef HAVE_DB3 - return(sp->bt_nrecs); ---- src/tabe_tsiyindbint.c.orig Sun Nov 11 19:16:32 2001 -+++ src/tabe_tsiyindbint.c Fri Dec 7 23:15:21 2001 -@@ -268,7 +268,11 @@ - switch(tsiyindb->type) { - case DB_TYPE_DB: - dbp = (DB *)tsiyindb->dbp; -+#ifdef HAVE_DB3_STAT3 -+ errno = dbp->stat(dbp, &sp, 0); -+#else - errno = dbp->stat(dbp, &sp, NULL, 0); -+#endif - if (!errno) { - #ifndef HAVE_DB3 - return(sp->bt_nrecs); diff --git a/inputmethod/libtabe/patches/patch-ab b/inputmethod/libtabe/patches/patch-ab new file mode 100644 index 00000000000..4639f8c1842 --- /dev/null +++ b/inputmethod/libtabe/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2005/09/28 17:09:43 rillig Exp $ + +--- script/acconfig.h.orig Mon Aug 20 11:53:03 2001 ++++ script/acconfig.h Fri Dec 7 23:13:28 2001 +@@ -21,6 +21,8 @@ + + #undef HAVE_DB3 + ++#undef HAVE_DB3_STAT3 ++ + #undef LINUX + + #undef FREEBSD diff --git a/inputmethod/libtabe/patches/patch-ac b/inputmethod/libtabe/patches/patch-ac new file mode 100644 index 00000000000..303606d0673 --- /dev/null +++ b/inputmethod/libtabe/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2005/09/28 17:09:43 rillig Exp $ + +--- script/config.h.in.orig Sat Oct 20 19:22:07 2001 ++++ script/config.h.in Fri Dec 7 23:17:32 2001 +@@ -13,6 +13,8 @@ + + #undef HAVE_DB3 + ++#undef HAVE_DB3_STAT3 ++ + #undef LINUX + + #undef FREEBSD 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 diff --git a/inputmethod/libtabe/patches/patch-ae b/inputmethod/libtabe/patches/patch-ae new file mode 100644 index 00000000000..7fd383d8de9 --- /dev/null +++ b/inputmethod/libtabe/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1 2005/09/28 17:09:43 rillig Exp $ + +--- src/tabe_tsidbint.c.orig Sun Nov 11 19:15:46 2001 ++++ src/tabe_tsidbint.c Fri Dec 7 23:13:15 2001 +@@ -265,7 +265,11 @@ + switch(tsidb->type) { + case DB_TYPE_DB: + dbp = (DB *)tsidb->dbp; ++#ifdef HAVE_DB3_STAT3 ++ errno = dbp->stat(dbp, &sp, 0); ++#else + errno = dbp->stat(dbp, &sp, NULL, 0); ++#endif + if (!errno) { + #ifndef HAVE_DB3 + return(sp->bt_nrecs); diff --git a/inputmethod/libtabe/patches/patch-af b/inputmethod/libtabe/patches/patch-af new file mode 100644 index 00000000000..d5f151994dd --- /dev/null +++ b/inputmethod/libtabe/patches/patch-af @@ -0,0 +1,16 @@ +$NetBSD: patch-af,v 1.1 2005/09/28 17:09:43 rillig Exp $ + +--- src/tabe_tsiyindbint.c.orig Sun Nov 11 19:16:32 2001 ++++ src/tabe_tsiyindbint.c Fri Dec 7 23:15:21 2001 +@@ -268,7 +268,11 @@ + switch(tsiyindb->type) { + case DB_TYPE_DB: + dbp = (DB *)tsiyindb->dbp; ++#ifdef HAVE_DB3_STAT3 ++ errno = dbp->stat(dbp, &sp, 0); ++#else + errno = dbp->stat(dbp, &sp, NULL, 0); ++#endif + if (!errno) { + #ifndef HAVE_DB3 + return(sp->bt_nrecs); |