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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Jun-2004 14:25:32
  Branch: HEAD                             Handle: 2004060313253200

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

  Log:
    fix amd on NetBSD

  Summary:
    Revision    Changes     Path
    1.9         +3  -3      openpkg-src/amd/amd.patch
    1.57        +1  -1      openpkg-src/amd/amd.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/amd/amd.patch
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 amd.patch
  --- openpkg-src/amd/amd.patch 2 Feb 2004 21:32:34 -0000       1.8
  +++ openpkg-src/amd/amd.patch 3 Jun 2004 12:25:32 -0000       1.9
  @@ -19,7 +19,7 @@
     * Actions to take if <malloc.h> exists.
     */
   -#ifdef HAVE_MALLOC_H
  -+#if defined(HAVE_MALLOC_H) && !defined(__FreeBSD__)
  ++#if defined(HAVE_MALLOC_H) && !(defined(__FreeBSD__) || defined(__NetBSD__))
    # include <malloc.h>
    #endif /* HAVE_MALLOC_H */
    
  @@ -46,7 +46,7 @@
      } else if (eq_fh(argp, &slink)) {
    
   -#ifndef MNT2_NFS_OPT_SYMTTL
  -+#if !defined(MNT2_NFS_OPT_SYMTTL) && !defined(__FreeBSD__) /* FIXME */
  ++#if !defined(MNT2_NFS_OPT_SYMTTL) && !(defined(__FreeBSD__) || defined(__NetBSD__))
        /*
         * This code is needed to defeat Solaris 2.4's (and newer) symlink
         * values cache.  It forces the last-modified time of the symlink to be
  @@ -55,7 +55,7 @@
    
        if (STREQ(argp->da_name, slinkname)) {
   -#ifndef MNT2_NFS_OPT_SYMTTL
  -+#if !defined(MNT2_NFS_OPT_SYMTTL) && !defined(__FreeBSD__) /* FIXME */
  ++#if !defined(MNT2_NFS_OPT_SYMTTL) && !(defined(__FreeBSD__) || defined(__NetBSD__))
          /*
           * This code is needed to defeat Solaris 2.4's (and newer) symlink
           * values cache.  It forces the last-modified time of the symlink to be
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/amd/amd.spec
  ============================================================================
  $ cvs diff -u -r1.56 -r1.57 amd.spec
  --- openpkg-src/amd/amd.spec  7 Feb 2004 17:53:21 -0000       1.56
  +++ openpkg-src/amd/amd.spec  3 Jun 2004 12:25:32 -0000       1.57
  @@ -34,7 +34,7 @@
   Group:        System
   License:      BSD
   Version:      6.0.9
  -Release:      20040207
  +Release:      20040603
   
   #   list of sources
   Source0:      ftp://ftp.am-utils.org/pub/am-utils/am-utils-%{version}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to