pkgsrc-Bugs archive

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

pkg/45296: With pkgsrc devel/netbsd-iscsi-lib Mac OS X needs stdint.h.



>Number:         45296
>Category:       pkg
>Synopsis:       With pkgsrc devel/netbsd-iscsi-lib Mac OS X needs stdint.h.
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 25 19:40:00 +0000 2011
>Originator:     Bradley Giesbrecht
>Release:        N/A
>Organization:
MacPorts
>Environment:
Darwin pillbox.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 
PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
>Description:
On Mac OS X devel/netbsd-iscsi-lib fails to build.

I pasted a diff into the "Fix to the problem if known: " field below. I don't 
see a preview button so I hope it is not too ugly on your end.

The patch simply adds stdint.h to include/iscsi.h.

#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

>How-To-Repeat:
# On a Mac OS X system
cd devel/netbsd-iscsi-lib
bmake
>Fix:
--- include/iscsi.orig  2011-08-25 12:05:31.000000000 -0700
+++ include/iscsi.h     2011-08-25 12:09:16.000000000 -0700
@@ -31,6 +31,10 @@
 #ifndef ISCSI_H_
 #define ISCSI_H_       1
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 enum {
        ISCSI_MAXSOCK = 8
 };



Home | Main Index | Thread Index | Old Index