OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   10-Aug-2004 13:46:39
  Branch: HEAD                             Handle: 2004081012463800

  Modified files:
    openpkg-src/grep        grep.spec

  Log:
    multibyte string logic should not be used on systems with the wctype
    header file but missing the wctype data type (NetBSD)

  Summary:
    Revision    Changes     Path
    1.39        +5  -1      openpkg-src/grep/grep.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/grep/grep.spec
  ============================================================================
  $ cvs diff -u -r1.38 -r1.39 grep.spec
  --- openpkg-src/grep/grep.spec        7 Jun 2004 07:13:49 -0000       1.38
  +++ openpkg-src/grep/grep.spec        10 Aug 2004 11:46:38 -0000      1.39
  @@ -34,7 +34,7 @@
   Group:        Text
   License:      GPL
   Version:      2.5.1
  -Release:      20040607
  +Release:      20040810
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/grep/grep-%{version}.tar.gz
  @@ -63,6 +63,10 @@
   
   %prep
       %setup -q
  +    %{l_shtool} subst \
  +        -e 's;^\(#if defined HAVE_WCTYPE_H\)\(.*\);\1 \&\& defined HAVE_WCTYPE\2;' \
  +        src/dfa.c \
  +        src/search.c
   
   %build
       ( echo "ac_cv_header_libintl_h=no"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to