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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   27-May-2003 22:20:08
  Branch: HEAD                             Handle: 2003052721200601

  Added files:
    openpkg-src/gettext     gettext.patch
  Modified files:
    openpkg-src/gettext     gettext.spec
    openpkg-web             news.txt

  Log:
    Add patch to fix broken grep logic

  Summary:
    Revision    Changes     Path
    1.1         +12 -0      openpkg-src/gettext/gettext.patch
    1.31        +3  -1      openpkg-src/gettext/gettext.spec
    1.4601      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gettext/gettext.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 gettext.patch
  --- /dev/null 2003-05-27 22:20:07.000000000 +0200
  +++ gettext.patch     2003-05-27 22:20:07.000000000 +0200
  @@ -0,0 +1,12 @@
  +diff -Naur gettext-0.12.orig/gettext-tools/src/msggrep.c 
gettext-0.12/gettext-tools/src/msggrep.c
  +--- gettext-0.12.orig/gettext-tools/src/msggrep.c    2003-04-29 12:00:16.000000000 
+0200
  ++++ gettext-0.12/gettext-tools/src/msggrep.c 2003-05-27 21:37:37.611599004 +0200
  +@@ -346,7 +346,7 @@
  +      -q and -e.  */
  + #if (defined (sun) || defined (__sun)) && defined (__SVR4)
  +       if ((strcmp (grep_path, "/usr/bin/grep") == 0
  +-       || strcmp (grep_path, "/bin/grep") == 0))
  ++       || strcmp (grep_path, "/bin/grep") == 0)
  +       && access ("/usr/xpg4/bin/grep", X_OK) == 0)
  +     grep_path = "/usr/xpg4/bin/grep";
  + #endif
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gettext/gettext.spec
  ============================================================================
  $ cvs diff -u -r1.30 -r1.31 gettext.spec
  --- openpkg-src/gettext/gettext.spec  20 May 2003 14:16:06 -0000      1.30
  +++ openpkg-src/gettext/gettext.spec  27 May 2003 20:20:07 -0000      1.31
  @@ -33,10 +33,11 @@
   Group:        Converter
   License:      GPL
   Version:      0.12
  -Release:      20030520
  +Release:      20030527
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
  +Patch0:       gettext.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -51,6 +52,7 @@
   
   %prep
       %setup -q
  +    %patch -p1
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4600 -r1.4601 news.txt
  --- openpkg-web/news.txt      27 May 2003 19:52:54 -0000      1.4600
  +++ openpkg-web/news.txt      27 May 2003 20:20:06 -0000      1.4601
  @@ -1,3 +1,4 @@
  +27-May-2003: Upgraded package: P<gettext-0.12-20030527>
   27-May-2003: Upgraded package: P<inn-2.4.0-20030527>
   27-May-2003: Upgraded package: P<rsync-2.5.6-20030527>
   27-May-2003: Upgraded package: P<proftpd-1.2.8-20030527>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to