pkgsrc-Bugs archive

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

Re: pkg/33394



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

> From: Georg Schwarz <georg.schwarz%freenet.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/33394
> Date: Sun, 30 Apr 2006 19:50:13 +0200

>  The same issue occurs when trying to install pkgtools/pkg_install on  
>  IRIX 5.3.
>  The fix, as suggested, is to include "defs.h" in those .c files that  
>  reference PRIu64, which are add/perform.c and info/show.c.

Index: pkgtools/pkg_install/files/add/perform.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/add/perform.c,v
retrieving revision 1.41
diff -u -r1.41 perform.c
--- pkgtools/pkg_install/files/add/perform.c      24 Apr 2006 13:52:04 -0000    
  1.41
+++ pkgtools/pkg_install/files/add/perform.c      5 May 2006 19:21:34 -0000
@@ -47,9 +47,11 @@
 #if HAVE_ERRNO_H
 #include <errno.h>
 #endif
+
 #include "lib.h"
 #include "add.h"
 #include "verify.h"
+#include "defs.h"
 
 #if HAVE_INTTYPES_H
 #include <inttypes.h>
Index: pkgtools/pkg_install/files/create/perform.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/create/perform.c,v
retrieving revision 1.10
diff -u -r1.10 perform.c
--- pkgtools/pkg_install/files/create/perform.c   22 Nov 2005 15:44:59 -0000    
  1.10
+++ pkgtools/pkg_install/files/create/perform.c   5 May 2006 19:21:35 -0000
@@ -37,6 +37,7 @@
 
 #include "lib.h"
 #include "create.h"
+#include "defs.h"
 
 #if HAVE_ERR_H
 #include <err.h>
Index: pkgtools/pkg_install/files/delete/perform.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/delete/perform.c,v
retrieving revision 1.16
diff -u -r1.16 perform.c
--- pkgtools/pkg_install/files/delete/perform.c   30 May 2005 13:23:31 -0000    
  1.16
+++ pkgtools/pkg_install/files/delete/perform.c   5 May 2006 19:21:35 -0000
@@ -71,7 +71,7 @@
 #endif
 #include "lib.h"
 #include "delete.h"
-
+#include "defs.h"
 
 /* In which direction to search in require_find() */
 typedef enum {
Index: pkgtools/pkg_install/files/info/perform.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/info/perform.c,v
retrieving revision 1.28
diff -u -r1.28 perform.c
--- pkgtools/pkg_install/files/info/perform.c     24 Apr 2006 13:52:05 -0000    
  1.28
+++ pkgtools/pkg_install/files/info/perform.c     5 May 2006 19:21:35 -0000
@@ -40,6 +40,7 @@
 
 #include "lib.h"
 #include "info.h"
+#include "defs.h"
 
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
Index: pkgtools/pkg_install/files/info/show.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/info/show.c,v
retrieving revision 1.10
diff -u -r1.10 show.c
--- pkgtools/pkg_install/files/info/show.c        24 Apr 2006 13:52:05 -0000    
  1.10
+++ pkgtools/pkg_install/files/info/show.c        5 May 2006 19:21:35 -0000
@@ -70,6 +70,7 @@
 
 #include "lib.h"
 #include "info.h"
+#include "defs.h"
 
 /* Structure to define entries for the "show table" */
 typedef struct show_t {


-- 
Best regards, Aleksey Cheusov.



Home | Main Index | Thread Index | Old Index