summaryrefslogtreecommitdiff
path: root/devel/libvolume_id/patches/patch-ad
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-11-22 13:48:23 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-11-22 13:48:23 +0000
commit04b5ef02d6f3c1251a35dd5ef904c16278cf785c (patch)
tree6ddbe1f13ab7a5f919c27399057766eae4ebdea2 /devel/libvolume_id/patches/patch-ad
parent85d565dfe1213ba1c5ee057c7529b03a77d89bf2 (diff)
downloadpkgsrc-04b5ef02d6f3c1251a35dd5ef904c16278cf785c.tar.gz
Import libvolume_id version 0.81.0.
Libvolume_id is an API for obtaining many file system related attributes (such as type, label, uuid, etc.) given an open file handle to a block special device.
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