Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/grep/src Get patches from pkgsrc to make it build.



details:   https://anonhg.NetBSD.org/src/rev/2389e3e071a2
branches:  trunk
changeset: 542342:2389e3e071a2
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jan 26 23:55:52 2003 +0000

description:
Get patches from pkgsrc to make it build.

diffstat:

 gnu/dist/grep/src/dfa.c    |  4 ++--
 gnu/dist/grep/src/search.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 6582676ac0c5 -r 2389e3e071a2 gnu/dist/grep/src/dfa.c
--- a/gnu/dist/grep/src/dfa.c   Sun Jan 26 23:53:44 2003 +0000
+++ b/gnu/dist/grep/src/dfa.c   Sun Jan 26 23:55:52 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dfa.c,v 1.1.1.3 2003/01/26 23:15:29 wiz Exp $  */
+/*     $NetBSD: dfa.c,v 1.2 2003/01/26 23:55:52 wiz Exp $      */
 
 /* dfa.c - deterministic extended regexp routines for GNU
    Copyright 1988, 1998, 2000 Free Software Foundation, Inc.
@@ -46,7 +46,7 @@
 # include <locale.h>
 #endif
 
-#if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC
+#if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC && defined HAVE_WCTYPE
 /* We can handle multibyte string.  */
 # define MBS_SUPPORT
 #endif
diff -r 6582676ac0c5 -r 2389e3e071a2 gnu/dist/grep/src/search.c
--- a/gnu/dist/grep/src/search.c        Sun Jan 26 23:53:44 2003 +0000
+++ b/gnu/dist/grep/src/search.c        Sun Jan 26 23:55:52 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: search.c,v 1.1.1.3 2003/01/26 23:15:30 wiz Exp $       */
+/*     $NetBSD: search.c,v 1.2 2003/01/26 23:55:53 wiz Exp $   */
 
 /* search.c - searching subroutines using dfa, kwset and regex for grep.
    Copyright 1992, 1998, 2000 Free Software Foundation, Inc.
@@ -24,7 +24,7 @@
 # include <config.h>
 #endif
 #include <sys/types.h>
-#if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC
+#if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC && defined HAVE_WCTYPE
 /* We can handle multibyte string.  */
 # define MBS_SUPPORT
 # include <wchar.h>



Home | Main Index | Thread Index | Old Index