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:25:51
Branch: HEAD Handle: 2005030809255100
Modified files:
openpkg-src/fsl fsl.patch fsl.spec
Log:
fix building on non-IPv6 platforms (where getaddrinfo() does not exist
and hence gethostbyname() is used)
Summary:
Revision Changes Path
1.6 +12 -0 openpkg-src/fsl/fsl.patch
1.77 +1 -1 openpkg-src/fsl/fsl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/fsl/fsl.patch
============================================================================
$ cvs diff -u -r1.5 -r1.6 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:25:51 -0000 1.6
@@ -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 -r1.77 fsl.spec
--- openpkg-src/fsl/fsl.spec 19 Feb 2005 07:42:26 -0000 1.76
+++ openpkg-src/fsl/fsl.spec 8 Mar 2005 09:25:51 -0000 1.77
@@ -34,7 +34,7 @@
Group: System
License: MIT-style
Version: 1.6.0
-Release: 20050219
+Release: 20050308
# package options
%option with_fsl_debuglogcode no
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]