diff options
Diffstat (limited to 'devel/libvolume_id/patches/patch-ab')
-rw-r--r-- | devel/libvolume_id/patches/patch-ab | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/libvolume_id/patches/patch-ab b/devel/libvolume_id/patches/patch-ab index c5cce0c4f6b..9d566580a0c 100644 --- a/devel/libvolume_id/patches/patch-ab +++ b/devel/libvolume_id/patches/patch-ab @@ -1,13 +1,16 @@ -$NetBSD: patch-ab,v 1.2 2008/11/23 16:07:16 hasso Exp $ +$NetBSD: patch-ab,v 1.3 2009/01/04 23:10:06 dbj Exp $ ---- linux_raid.c.orig 2008-11-22 08:33:51.000000000 -0500 -+++ linux_raid.c -@@ -22,7 +22,7 @@ +--- linux_raid.c.orig 2007-12-26 17:03:43.000000000 -0800 ++++ linux_raid.c 2008-12-28 17:45:50.000000000 -0800 +@@ -22,9 +22,9 @@ #include <string.h> #include <errno.h> #include <ctype.h> -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) #include <sys/endian.h> - #else +-#else ++#elif !defined(__APPLE__) #include <byteswap.h> + #endif /* __FreeBSD__ */ + |