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:   08-Mar-2005 10:27:25
  Branch: OPENPKG_2_3_SOLID                Handle: 2005030809272400

  Modified files:           (Branch: OPENPKG_2_3_SOLID)
    openpkg-src/fsl         fsl.patch fsl.spec

  Log:
    MFC: fix building on non-IPv6 platforms (where getaddrinfo() does not
    exist and hence gethostbyname() is used)

  Summary:
    Revision    Changes     Path
    1.5.6.1     +12 -0      openpkg-src/fsl/fsl.patch
    1.76.2.2    +1  -1      openpkg-src/fsl/fsl.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/fsl/fsl.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.5.6.1 fsl.patch
  --- openpkg-src/fsl/fsl.patch 4 Jun 2004 15:55:31 -0000       1.5
  +++ openpkg-src/fsl/fsl.patch 8 Mar 2005 09:27:24 -0000       1.5.6.1
  @@ -11,3 +11,15 @@
    #include <syslog.h>
    
    /* third party (linked in) */
  +Index: lib_l2/l2_ut_sa.c
  +--- lib_l2/l2_ut_sa.c.orig   2005-02-02 11:40:33 +0100
  ++++ lib_l2/l2_ut_sa.c        2005-03-08 10:14:53 +0100
  +@@ -653,7 +653,7 @@
  +             sf = AF_INET6;
  +         }
  + #endif
  +-        else if ((he = SA_SC_CALL_1(sa, gethostbyname, cpHost)) != NULL) {
  ++        else if ((he = gethostbyname(cpHost)) != NULL) {
  +             if (he->h_addrtype == AF_INET) {
  +                 sa4.sin_family = AF_INET;
  +                 sa4.sin_port = htons(nPort);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fsl/fsl.spec
  ============================================================================
  $ cvs diff -u -r1.76.2.1 -r1.76.2.2 fsl.spec
  --- openpkg-src/fsl/fsl.spec  21 Feb 2005 17:06:44 -0000      1.76.2.1
  +++ openpkg-src/fsl/fsl.spec  8 Mar 2005 09:27:24 -0000       1.76.2.2
  @@ -34,7 +34,7 @@
   Group:        System
   License:      MIT-style
   Version:      1.6.0
  -Release:      2.3.0
  +Release:      2.3.1
   
   #   package options
   %option       with_fsl_debuglogcode   no
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to