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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Oct-2006 09:36:39
  Branch: HEAD                             Handle: 2006100308363900

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

  Log:
    fix building under AIX

  Summary:
    Revision    Changes     Path
    1.1         +13 -0      openpkg-src/fping/fping.patch
    1.16        +3  -1      openpkg-src/fping/fping.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/fping/fping.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 fping.patch
  --- /dev/null 2006-10-03 09:36:33 +0200
  +++ fping.patch       2006-10-03 09:36:39 +0200
  @@ -0,0 +1,13 @@
  +Index: fping.c
  +--- fping.c.orig     2001-07-20 19:10:26 +0200
  ++++ fping.c  2006-10-03 09:35:26 +0200
  +@@ -118,7 +118,9 @@
  + 
  + extern char *optarg;
  + extern int optind,opterr;
  ++#ifndef h_errno
  + extern int h_errno;
  ++#endif
  + 
  + #ifdef __cplusplus
  + }
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fping/fping.spec
  ============================================================================
  $ cvs diff -u -r1.15 -r1.16 fping.spec
  --- openpkg-src/fping/fping.spec      24 Sep 2006 13:43:27 -0000      1.15
  +++ openpkg-src/fping/fping.spec      3 Oct 2006 07:36:39 -0000       1.16
  @@ -37,10 +37,11 @@
   Group:        Mapping
   License:      Open Source
   Version:      %{V_here}
  -Release:      20060924
  +Release:      20061003
   
   #   list of sources
   Source0:      http://www.fping.com/download/fping-%{V_real}.tar.gz
  +Patch0:       fping.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -72,6 +73,7 @@
   
   %prep
       %setup -q -n fping-%{V_real}
  +    %patch -p0
       touch configure
   
   %build
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to