Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aq,v 1.2 2008/08/31 06:36:48 scottr Exp $
--- lib/include/hgfsUtil.h.orig 2008-08-08 02:01:52.000000000 -0500
+++ lib/include/hgfsUtil.h
@@ -44,6 +44,7 @@
!defined(__timespec_defined) && \
!defined(sun) && \
!defined(__FreeBSD__) && \
+ !defined(__NetBSD__) && \
!__APPLE__ && \
!defined(_WIN32)
struct timespec {
@@ -96,7 +97,7 @@ struct timespec {
/*
* FreeBSD (pre-6.0) does not define EPROTO, so we'll define our own error code.
*/
-#if defined(__FreeBSD__) && !defined(EPROTO)
+#if (defined(__FreeBSD__) || defined(__NetBSD__)) && !defined(EPROTO)
#define EPROTO (ELAST + 1)
#endif