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:   04-Jun-2004 17:55:32
  Branch: HEAD                             Handle: 2004060416553100

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

  Log:
    add quick hack for HP-UX

  Summary:
    Revision    Changes     Path
    1.5         +13 -0      openpkg-src/fsl/fsl.patch
    1.68        +3  -1      openpkg-src/fsl/fsl.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/fsl/fsl.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.5 fsl.patch
  --- /dev/null 2004-06-04 17:55:31.000000000 +0200
  +++ fsl.patch 2004-06-04 17:55:31.000000000 +0200
  @@ -0,0 +1,13 @@
  +Index: fsl.c
  +--- fsl.c.orig       2004-04-22 12:25:55.000000000 +0200
  ++++ fsl.c    2004-06-04 17:54:20.000000000 +0200
  +@@ -43,6 +43,9 @@
  + #include <dirent.h>
  + 
  + /* standard include we re-implement */
  ++#ifdef __hpux
  ++#define _XOPEN_SOURCE_EXTENDED
  ++#endif
  + #include <syslog.h>
  + 
  + /* third party (linked in) */
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fsl/fsl.spec
  ============================================================================
  $ cvs diff -u -r1.67 -r1.68 fsl.spec
  --- openpkg-src/fsl/fsl.spec  26 Apr 2004 17:57:46 -0000      1.67
  +++ openpkg-src/fsl/fsl.spec  4 Jun 2004 15:55:31 -0000       1.68
  @@ -34,7 +34,7 @@
   Group:        System
   License:      MIT-style
   Version:      1.5.0
  -Release:      20040426
  +Release:      20040604
   
   #   package options
   %option       with_fsl_debuglogcode   no
  @@ -43,6 +43,7 @@
   Source0:      ftp://ftp.ossp.org/pkg/lib/fsl/fsl-%{version}.tar.gz
   Source1:      rc.fsl
   Source2:      fsl.fsl
  +Patch0:       fsl.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -71,6 +72,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to