---------- Forwarded message ----------
Date: Wed, 21 Nov 2007 17:53:40 -0500 (EST)
From: Brian A. Seklecki <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [email protected]
Subject: Darwin / OS/X Probes HAVE_INTXX_T in autoconf...


[EMAIL PROTECTED]:/pkgsrc/sysutils/bacula-clientonly# grep -ir HAVE_INTXX_T 
./work/bacula-2.2.6/config.log
[...]
ac_cv_have_intxx_t=yes
#define HAVE_INTXX_T 1

The definitions in src/bc_types.h conflict w/ :

/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stdint.h
/usr/include/stdint.h (symlink)
/usr/include/sys/types.h

Als, in types.h, you also fail with:

/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything

# diff -u /usr/include/sys/types.h.orig /usr/include/sys/types.h
--- /usr/include/sys/types.h.orig       2007-11-21 20:52:44.000000000 
-0500
+++ /usr/include/sys/types.h    2007-11-21 20:53:51.000000000 -0500
@@ -97,7 +97,7 @@
  typedef        quad_t *                qaddr_t;

  typedef        char *                  caddr_t;        /* core address */
-typedef        int32_t                 daddr_t;        /* disk address */
+/* typedef     int32_t                 daddr_t; */     /* disk address */

  #ifndef _DEV_T
  typedef        __darwin_dev_t          dev_t;          /* device number 
*/
@@ -131,10 +131,12 @@
  typedef        __uint16_t              in_port_t;
  #endif

+/*
  #ifndef        _INO_T
-typedef        __darwin_ino_t          ino_t;  /*      /* inode number */
-#define _INO_T
+typedef        __darwin_ino_t          ino_t; */       /*      /* inode 
number */  /*
+#define _INO_T
  #endif
+*/

  #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
  #ifndef        _INO64_T



I don't know who's been building community Darwin packages, but this should 
be fed upstream by now...

~BAS

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to