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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   22-Apr-2004 14:02:53
  Branch: HEAD                             Handle: 2004042213025200

  Added files:
    openpkg-src/par         par.patch
  Modified files:
    openpkg-src/par         par.spec

  Log:
    add missing patch to CVS

  Summary:
    Revision    Changes     Path
    1.1         +16 -0      openpkg-src/par/par.patch
    1.28        +1  -1      openpkg-src/par/par.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/par/par.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 par.patch
  --- /dev/null 2004-04-22 14:02:53.000000000 +0200
  +++ par.patch 2004-04-22 14:02:53.000000000 +0200
  @@ -0,0 +1,16 @@
  +On some platforms (e.g. FreeBSD), Par does not work as expected because
  +the isspace(3) system call returns true for the non-breaking space
  +character 0xA0. This patch work-arounds this problem.
  +
  +--- par.c.orig       Sun Mar 28 16:00:15 2004
  ++++ par.c    Sun Mar 28 16:04:00 2004
  +@@ -403,7 +403,8 @@
  +         }
  +         continue;
  +       }
  +-      if (isspace(c)) ch = ' ';
  ++      /* Exclude non-breaking space from the class of space chars */
  ++      if (isspace(c) && isascii(c)) ch = ' ';
  +       else blank = 0;
  +       additem(cbuf, &ch, errmsg);
  +       if (*errmsg) goto rlcleanup;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/par/par.spec
  ============================================================================
  $ cvs diff -u -r1.27 -r1.28 par.spec
  --- openpkg-src/par/par.spec  17 Apr 2004 18:25:28 -0000      1.27
  +++ openpkg-src/par/par.spec  22 Apr 2004 12:02:52 -0000      1.28
  @@ -38,7 +38,7 @@
   Group:        Text
   License:      PD/BSD-style
   Version:      %{V_real}
  -Release:      20040417
  +Release:      20040422
   
   #   list of sources
   Source0:      http://www.nicemice.net/par/Par%{V_comp}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to