pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36662: pkgtools/pkg_install's audit_packages appears to be platform-specific



The following reply was made to PR pkg/36662; it has been noted by GNATS.

From: Adrian Portelli <adrianp%stindustries.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: srcshelton%gmail.com@localhost
Subject: Re: pkg/36662: pkgtools/pkg_install's audit_packages appears to be
 platform-specific
Date: Mon, 23 Jul 2007 12:26:18 +0100

 Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/36662; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
 > To: Stuart Shelton <srcshelton%gmail.com@localhost>
 > Cc: gnats-bugs%netbsd.org@localhost, joerg%netbsd.org@localhost, 
 > gnats-admin%netbsd.org@localhost,
 >      pkgsrc-bugs%netbsd.org@localhost
 > Subject: Re: pkg/36662: pkgtools/pkg_install's audit_packages appears to be 
 > platform-specific
 > Date: Mon, 23 Jul 2007 13:04:36 +0200
 > 
 >  On Mon, Jul 23, 2007 at 12:00:14PM +0100, Stuart Shelton wrote:
 >  > 11:16:00.420162080 +0100
 >  > +++ audit-packages/audit-packages.c     2007-07-23 11:49:27.043021280 
 > +0100
 >  
 >  ... add a line to include <nbcompat.h> first please and report if that
 >  works.
 >  
 >  Joerg
 >  
 
 That's exactly what the updated patch does.  Stuart, have you tested the
 updated patch I posted a few days ago on audit-packages.c v1.4 ?
 
 For the record the here's the patch
 [http://www.stindustries.net/NetBSD/stuff/pkg_install.diff]:
 
 Index: pkgtools/pkg_install/files/audit-packages/audit-packages.c
 ===================================================================
 RCS file:
 /cvsroot/pkgsrc/pkgtools/pkg_install/files/audit-packages/audit-packages.c,v
 retrieving revision 1.3
 diff -u -r1.3 audit-packages.c
 --- pkgtools/pkg_install/files/audit-packages/audit-packages.c 21 Jul
 2007 10:21:04 -0000    1.3
 +++ pkgtools/pkg_install/files/audit-packages/audit-packages.c 21 Jul
 2007 14:44:02 -0000
 @@ -35,6 +35,7 @@
  #include "config.h"
  #endif
 
 +#include <nbcompat.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <limits.h>
 @@ -44,7 +45,9 @@
  #ifdef HAVE_INTTYPES_H
  #include <stdint.h>
  #endif
 -#include <err.h>
 +#ifdef HAVE_SYS_CDEFS_H
 +#include <sys/cdefs.h>
 +#endif
  #include <string.h>
  #include <sys/types.h>
  #include <sys/stat.h>
 
 thanks,
 
 adrian.
 



Home | Main Index | Thread Index | Old Index