pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/gq Check for btowc(3) and do not use it if n...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45b090eb8957
branches: trunk
changeset: 461043:45b090eb8957
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Tue Sep 09 18:51:41 2003 +0000
description:
Check for btowc(3) and do not use it if not present. Should fix problems
exposed by Hubert's bulk build in 1.6, where that function does not exist.
diffstat:
databases/gq/distinfo | 5 ++++-
databases/gq/patches/patch-aa | 14 ++++++++++++++
databases/gq/patches/patch-ab | 13 +++++++++++++
databases/gq/patches/patch-ac | 18 ++++++++++++++++++
4 files changed, 49 insertions(+), 1 deletions(-)
diffs (69 lines):
diff -r f70407f583ce -r 45b090eb8957 databases/gq/distinfo
--- a/databases/gq/distinfo Tue Sep 09 18:00:24 2003 +0000
+++ b/databases/gq/distinfo Tue Sep 09 18:51:41 2003 +0000
@@ -1,4 +1,7 @@
-$NetBSD: distinfo,v 1.3 2003/09/04 12:57:24 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2003/09/09 18:51:41 jmmv Exp $
SHA1 (gq-0.6.0.tar.gz) = 23c0d839f83f69931b30c33f500ca8d697d651ed
Size (gq-0.6.0.tar.gz) = 296812 bytes
+SHA1 (patch-aa) = 4cb231c738ad41aedb60a4dd22f6fb87b91deb27
+SHA1 (patch-ab) = d33da9a07f2fcf080de5bda02408c844a71f136e
+SHA1 (patch-ac) = b750774ac9292a7c466716fc46ad39cf5bfe1e5f
diff -r f70407f583ce -r 45b090eb8957 databases/gq/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/gq/patches/patch-aa Tue Sep 09 18:51:41 2003 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2003/09/09 18:51:42 jmmv Exp $
+
+--- config.h.in.orig 2002-06-19 00:21:52.000000000 +0200
++++ config.h.in
+@@ -107,6 +107,9 @@
+ /* Define if you have the iswspace function. */
+ #undef HAVE_ISWSPACE
+
++/* Define if you have the btowc function. */
++#undef HAVE_BTOWC
++
+ /* Define if you have the ldap_memfree function. */
+ #undef HAVE_LDAP_MEMFREE
+
diff -r f70407f583ce -r 45b090eb8957 databases/gq/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/gq/patches/patch-ab Tue Sep 09 18:51:41 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2003/09/09 18:51:42 jmmv Exp $
+
+--- configure.orig 2002-07-05 08:51:55.000000000 +0200
++++ configure
+@@ -1965,7 +1965,7 @@ fi
+ fi
+
+ for ac_func in ldap_str2objectclass ldap_memfree ldap_rename ldap_str2dn \
+- iswspace snprintf
++ iswspace snprintf btowc
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+ echo "configure:1972: checking for $ac_func" >&5
diff -r f70407f583ce -r 45b090eb8957 databases/gq/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/gq/patches/patch-ac Tue Sep 09 18:51:41 2003 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1 2003/09/09 18:51:44 jmmv Exp $
+
+--- src/filter.c.orig 2002-06-18 22:17:53.000000000 +0200
++++ src/filter.c
+@@ -941,11 +941,11 @@ char *unindent_filter(char *indented)
+ break;
+ default:
+ /* caught spaces before -- this is testing for \n etc */
+-#if defined(HAVE_ISWSPACE)
++#if defined(HAVE_ISWSPACE) && defined(HAVE_BTOWC)
+ if(!iswspace(btowc(c)))
+ #else
+ if(!isspace(c))
+-#endif /* HAVE_ISWSPACE */
++#endif /* HAVE_ISWSPACE && HAVE_BTOWC */
+ unindented[f++] = c;
+ break;
+ }
Home |
Main Index |
Thread Index |
Old Index