pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/libtabe Fixed pkglint warnings. Among othe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eff6531defdf
branches: trunk
changeset: 499880:eff6531defdf
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Sep 28 17:09:43 2005 +0000
description:
Fixed pkglint warnings. Among others, split patch-aa into six patches.
diffstat:
inputmethod/libtabe/Makefile | 6 +-
inputmethod/libtabe/distinfo | 9 +++-
inputmethod/libtabe/patches/patch-aa | 73 +-----------------------------------
inputmethod/libtabe/patches/patch-ab | 13 ++++++
inputmethod/libtabe/patches/patch-ac | 13 ++++++
inputmethod/libtabe/patches/patch-ad | 23 +++++++++++
inputmethod/libtabe/patches/patch-ae | 16 +++++++
inputmethod/libtabe/patches/patch-af | 16 +++++++
8 files changed, 92 insertions(+), 77 deletions(-)
diffs (223 lines):
diff -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/Makefile
--- a/inputmethod/libtabe/Makefile Wed Sep 28 17:06:53 2005 +0000
+++ b/inputmethod/libtabe/Makefile Wed Sep 28 17:09:43 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/06/01 18:02:58 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2005/09/28 17:09:43 rillig Exp $
#
DISTNAME= libtabe-0.2.5
@@ -11,9 +11,9 @@
COMMENT= Library for Chinese language processing
WRKSRC= ${WRKDIR}/libtabe
-USE_LIBTOOL= # defined
+USE_LIBTOOL= yes
-GNU_CONFIGURE= # defined
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-db-inc=${BUILDLINK_PREFIX.db3}/include/db3
CONFIGURE_ARGS+= --with-db-lib=${BUILDLINK_PREFIX.db3}/lib
diff -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/distinfo
--- a/inputmethod/libtabe/distinfo Wed Sep 28 17:06:53 2005 +0000
+++ b/inputmethod/libtabe/distinfo Wed Sep 28 17:09:43 2005 +0000
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 21:00:35 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/09/28 17:09:43 rillig Exp $
SHA1 (libtabe-0.2.5.tar.gz) = 487f3b34fa6e560c4baad5ac37af509f2850bc82
RMD160 (libtabe-0.2.5.tar.gz) = da459dae44241d7d51fa94805eaca5a85ca1056d
Size (libtabe-0.2.5.tar.gz) = 1615825 bytes
-SHA1 (patch-aa) = b9c996a2aa9d78a64486836fd7baab1fd3d81411
+SHA1 (patch-aa) = 051f5149580f57fa163a347545b8ba419383d932
+SHA1 (patch-ab) = 516061f376622d70d116e7d9a24595adbac99a34
+SHA1 (patch-ac) = 6e51271ca10b6cb1608ec31d471a1cd3a5e7ccd0
+SHA1 (patch-ad) = 2e78b153cde1d0f28a63a9c6c8a604372b88442e
+SHA1 (patch-ae) = e8d64b941173dfd4a987cd33e0dbf66cdbd96ee9
+SHA1 (patch-af) = 80a645473bff5e3d526c246e0fac451a8905594f
diff -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/patches/patch-aa
--- a/inputmethod/libtabe/patches/patch-aa Wed Sep 28 17:06:53 2005 +0000
+++ b/inputmethod/libtabe/patches/patch-aa Wed Sep 28 17:09:43 2005 +0000
@@ -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 @@
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 -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/libtabe/patches/patch-ab Wed Sep 28 17:09:43 2005 +0000
@@ -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 -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/libtabe/patches/patch-ac Wed Sep 28 17:09:43 2005 +0000
@@ -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 -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/libtabe/patches/patch-ad Wed Sep 28 17:09:43 2005 +0000
@@ -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 -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/libtabe/patches/patch-ae Wed Sep 28 17:09:43 2005 +0000
@@ -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 -r b5a2a0746e8b -r eff6531defdf inputmethod/libtabe/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/libtabe/patches/patch-af Wed Sep 28 17:09:43 2005 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index