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,16 @@
$NetBSD: patch-cq,v 1.1.1.1 2007/06/14 19:39:46 bouyer Exp $
--- ../xen/common/libelf/libelf-private.h.orig 2007-05-27 15:13:03.000000000 +0200
+++ ../xen/common/libelf/libelf-private.h 2007-05-27 15:14:20.000000000 +0200
@@ -33,6 +33,11 @@
#define bswap_16(x) BSWAP_16(x)
#define bswap_32(x) BSWAP_32(x)
#define bswap_64(x) BSWAP_64(x)
+#elif defined(__NetBSD__)
+#include <sys/bswap.h>
+#define bswap_16(x) bswap16(x)
+#define bswap_32(x) bswap32(x)
+#define bswap_64(x) bswap64(x)
#else
#include <byteswap.h>
#endif