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

  Server: cvs.openpkg.org                  Name:   Torsten Homeyer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   06-Aug-2004 13:43:29
  Branch: HEAD                             Handle: 2004080612432900

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

  Log:
    add some quirks for HPUX

  Summary:
    Revision    Changes     Path
    1.1         +26 -0      openpkg-src/a2ps/a2ps.patch
    1.28        +3  -1      openpkg-src/a2ps/a2ps.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/a2ps/a2ps.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 a2ps.patch
  --- /dev/null 2004-08-06 13:43:29 +0200
  +++ a2ps.patch        2004-08-06 13:43:29 +0200
  @@ -0,0 +1,26 @@
  +Index: lib/quotearg.c
  +--- lib/quotearg.c.orig      2000-01-19 09:19:48 +0100
  ++++ lib/quotearg.c   2004-08-06 13:34:41 +0200
  +@@ -59,6 +59,9 @@
  + #endif
  + 
  + #if HAVE_MBRTOWC && HAVE_WCHAR_H
  ++#if defined(__hpux)
  ++# include<sys/_mbstate_t.h>
  ++#endif
  + # include <wchar.h>
  + #else
  + # define iswprint(wc) 1
  +Index: lib/strftime.c
  +--- lib/strftime.c.orig      2000-01-02 08:10:09 +0100
  ++++ lib/strftime.c   2004-08-06 13:35:34 +0200
  +@@ -67,6 +67,9 @@
  + 
  + #if DO_MULTIBYTE
  + # if HAVE_MBRLEN
  ++#  if defined(__hpux)
  ++#   include<sys/_mbstate_t.h>
  ++#  endif
  + #  include <wchar.h>
  + # else
  +    /* Simulate mbrlen with mblen as best we can.  */
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/a2ps/a2ps.spec
  ============================================================================
  $ cvs diff -u -r1.27 -r1.28 a2ps.spec
  --- openpkg-src/a2ps/a2ps.spec        7 Feb 2004 17:53:09 -0000       1.27
  +++ openpkg-src/a2ps/a2ps.spec        6 Aug 2004 11:43:29 -0000       1.28
  @@ -38,10 +38,11 @@
   Group:        Converter
   License:      GPL
   Version:      %{V_major}%{V_minor}
  -Release:      20040207
  +Release:      20040806
   
   #   list of sources
   Source0:      ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-%{V_major}%{V_minor}.tar.gz
  +Patch0:       a2ps.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -67,6 +68,7 @@
   
   %prep
       %setup -q -n a2ps-%{V_major}
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to