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:   23-Mar-2006 18:52:59
  Branch: HEAD                             Handle: 2006032317525900

  Modified files:
    openpkg-src/mtr         mtr.patch mtr.spec

  Log:
    upgrading package: mtr 0.69 -> 0.70

  Summary:
    Revision    Changes     Path
    1.11        +19 -32     openpkg-src/mtr/mtr.patch
    1.35        +3  -3      openpkg-src/mtr/mtr.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mtr/mtr.patch
  ============================================================================
  $ cvs diff -u -r1.10 -r1.11 mtr.patch
  --- openpkg-src/mtr/mtr.patch 23 Feb 2006 14:10:57 -0000      1.10
  +++ openpkg-src/mtr/mtr.patch 23 Mar 2006 17:52:59 -0000      1.11
  @@ -1,6 +1,21 @@
  +Index: dns.c
  +--- dns.c.orig       2006-03-23 06:45:58 +0100
  ++++ dns.c    2006-03-23 18:48:41 +0100
  +@@ -33,6 +33,11 @@
  + #include <netinet/in.h>
  + #include <arpa/inet.h>
  + #include <arpa/nameser.h>
  ++
  ++#ifdef NEED_NAMESER8_COMPAT
  ++#include <arpa/nameser8_compat.h>
  ++#endif
  ++
  + #include <netdb.h>
  + #include <resolv.h>
  + #include <unistd.h>
   Index: getopt.c
  ---- getopt.c.orig    2005-10-15 09:31:20.000000000 +0200
  -+++ getopt.c 2005-10-15 09:33:02.301074518 +0200
  +--- getopt.c.orig    2005-01-11 09:33:10 +0100
  ++++ getopt.c 2006-03-23 18:48:41 +0100
   @@ -49,7 +49,6 @@
       program understand `configure --with-gnu-libc' and omit the object files,
       it is simpler to just do this in the source for each such file.  */
  @@ -18,8 +33,8 @@
    #ifdef TEST
    
   Index: getopt1.c
  ---- getopt1.c.orig   2005-10-15 09:31:20.000000000 +0200
  -+++ getopt1.c        2005-10-15 09:32:46.232317910 +0200
  +--- getopt1.c.orig   2004-08-26 09:56:53 +0200
  ++++ getopt1.c        2006-03-23 18:48:41 +0100
   @@ -40,7 +40,6 @@
       program understand `configure --with-gnu-libc' and omit the object files,
       it is simpler to just do this in the source for each such file.  */
  @@ -36,31 +51,3 @@
    
    #ifdef TEST
    
  -Index: net.c
  ---- net.c.orig       2005-01-13 09:13:53.000000000 +0100
  -+++ net.c    2005-10-15 09:31:20.240275000 +0200
  -@@ -305,7 +305,9 @@
  -     rv = sendto(sendsock, packet, abs(packetsize), 0, 
  -             remotesockaddr, salen);
  -     if (rv >= 0) {
  -+#if 0
  -       fprintf (stderr, "You've got a broken (FreeBSD?) system\n");
  -+#endif
  -       BSDfix = 1;
  -     }
  -   }
  -Index: dns.c
  ---- dns.c.orig 2005-01-11 09:32:42 +0100
  -+++ dns.c      2006-02-09 18:04:13 +0100
  -@@ -33,6 +33,11 @@
  - #include <netinet/in.h>
  - #include <arpa/inet.h>
  - #include <arpa/nameser.h>
  -+
  -+#ifdef NEED_NAMESER8_COMPAT
  -+#include <arpa/nameser8_compat.h>
  -+#endif
  -+
  - #include <netdb.h>
  - #include <resolv.h>
  - #include <unistd.h>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/mtr/mtr.spec
  ============================================================================
  $ cvs diff -u -r1.34 -r1.35 mtr.spec
  --- openpkg-src/mtr/mtr.spec  23 Feb 2006 14:10:57 -0000      1.34
  +++ openpkg-src/mtr/mtr.spec  23 Mar 2006 17:52:59 -0000      1.35
  @@ -32,8 +32,8 @@
   Class:        PLUS
   Group:        Network
   License:      GPL
  -Version:      0.69
  -Release:      20060223
  +Version:      0.70
  +Release:      20060323
   
   #   package options
   %option       with_x11   no
  @@ -86,7 +86,7 @@
       export LDFLAGS="%{l_ldflags}"
       export LIBS=""
       case "%{l_platform -t}" in
  -        *freebsd* | *-darwin* ) LIBS="$LIBS -lresolv"; CPPFLAGS="$CPPFLAGS 
-DNEED_NAMESER8_COMPAT" ;;
  +        *-darwin* ) LIBS="$LIBS -lresolv"; CPPFLAGS="$CPPFLAGS 
-DNEED_NAMESER8_COMPAT" ;;
       esac
       ./configure \
           --prefix=%{l_prefix} \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to