pkgsrc-Users archive

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

Darwin / OS/X _INO_T __darwin_ino_t - Bacula 2.2.6




===> Building for bacula-clientonly-2.2.6
==>Entering directory /usr/pkgsrc/sysutils/bacula-clientonly/work/bacula-2.2.6/src ==>Entering directory /usr/pkgsrc/sysutils/bacula-clientonly/work/bacula-2.2.6/scripts ==>Entering directory /usr/pkgsrc/sysutils/bacula-clientonly/work/bacula-2.2.6/src/lib
Compiling attr.c
/usr/include/sys/stat.h:101: error: declaration does not declare anything
*** Error code 1


And indeed....that typedef has get cut:


# diff -u /usr/include/sys/stat.h.orig /usr/include/sys/stat.h
--- /usr/include/sys/stat.h.orig 2007-11-21 17:06:05.000000000 -0500
+++ /usr/include/sys/stat.h     2007-11-21 17:06:29.000000000 -0500
@@ -97,10 +97,12 @@
 #define _DEV_T
 #endif


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

It is also in:

/usr/include/sys/types.h

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



Darwin galvatron.pitbpa0.priv.collaborativefusion.com 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:48:21 PDT 2007; root:xnu-1228.0.2~1/RELEASE_PPC Power Macintosh




Home | Main Index | Thread Index | Old Index