summaryrefslogtreecommitdiff
path: root/devel/libvolume_id/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libvolume_id/patches/patch-ad')
-rw-r--r--devel/libvolume_id/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libvolume_id/patches/patch-ad b/devel/libvolume_id/patches/patch-ad
new file mode 100644
index 00000000000..e69a1d63af4
--- /dev/null
+++ b/devel/libvolume_id/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+--- util.h.orig 2008-11-22 08:32:52.000000000 -0500
++++ util.h
+@@ -19,7 +19,7 @@
+ # include <config.h>
+ #endif
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+
+ #define __BYTE_ORDER _BYTE_ORDER