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: 25-Jun-2004 15:09:33
Branch: HEAD Handle: -NONE-
Modified files:
openpkg-src/mtr mtr.patch mtr.spec
Log:
Solaris has no gethostbyname2
Summary:
Revision Changes Path
1.4 +0 -0 openpkg-src/mtr/mtr.patch
1.19 +0 -0 openpkg-src/mtr/mtr.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mtr/mtr.patch
============================================================================
$ cvs diff -u -r1.3 -r1.4 mtr.patch
--- openpkg-src/mtr/mtr.patch 7 Apr 2004 17:44:25 -0000 1.3
+++ openpkg-src/mtr/mtr.patch 25 Jun 2004 13:09:33 -0000 1.4
@@ -22,3 +22,19 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+Index: mtr.c
+--- mtr.c.orig 2004-04-01 15:33:27.000000000 +0200
++++ mtr.c 2004-06-25 14:58:34.682013000 +0200
+@@ -348,7 +348,11 @@
+ #endif
+
+ if (host == NULL) {
+- host = gethostbyname2(Hostname, af);
++#if (defined(__sun) && defined(__SVR4))
++ host = gethostbyname(Hostname);
++#else
++ host = gethostbyname2(Hostname, af);
++#endif
+ }
+
+ if(host == NULL) {
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mtr/mtr.spec
============================================================================
$ cvs diff -u -r1.18 -r1.19 mtr.spec
--- openpkg-src/mtr/mtr.spec 7 Apr 2004 17:44:25 -0000 1.18
+++ openpkg-src/mtr/mtr.spec 25 Jun 2004 13:09:33 -0000 1.19
@@ -34,7 +34,7 @@
Group: Network
License: GPL
Version: 0.58
-Release: 20040407
+Release: 20040625
# package options
%option with_x11 no
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]