1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Library to provide file system type information
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= http://www.marcuscom.com/downloads/
13 DISTFILE[1]= libvolume_id-0.81.1.tar.bz2:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
23 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
24 LICENSE_FILE= GPLv2:stock
25 LICENSE_AWK= TERMS:"^$$"
26 LICENSE_SOURCE= TERMS:{{WRKSRC}}/libvolume_id.h
29 FPC_EQUIVALENT= devel/libvolume_id
39 [FILE:173:descriptions/desc.single]
40 Libvolume_id is a library that provides file system information for a
41 given volume device (like file system type, label, etc.). It supports all
42 of the major file systems.
46 45bb18e80b456499d26a5d2f2fc222be990d256590a7cafc4354f7de36013f09 23399 libvolume_id-0.81.1.tar.bz2
49 [FILE:94:manifests/plist.single]
50 include/libvolume_id.h
54 lib/pkgconfig/libvolume_id.pc
57 [FILE:341:patches/patch-ddf__raid.c]
58 --- ddf_raid.c.orig 2007-12-27 01:05:32 UTC
65 +#if defined(__FreeBSD__) || defined(__DragonFly__)
66 #include <sys/endian.h>
68 +#elif !defined(__APPLE__) && !defined(__sun__)
70 #endif /* __FreeBSD__ */
74 [FILE:345:patches/patch-linux__raid.c]
75 --- linux_raid.c.orig 2007-12-27 01:03:43 UTC
82 +#if defined(__FreeBSD__) || defined(__DragonFly__)
83 #include <sys/endian.h>
85 +#elif !defined(__APPLE__) && !defined(__sun__)
87 #endif /* __FreeBSD__ */
91 [FILE:378:patches/patch-util.c]
92 --- util.c.orig 2009-03-02 18:17:35 UTC
95 #include "libvolume_id.h"
99 +#if defined(__FreeBSD__) || defined(__DragonFly__)
100 #include <sys/param.h>
101 -#if __FreeBSD_version < 800067
102 +#if __FreeBSD_version < 800067 && __DragonFly_version < 200202
103 static size_t strnlen (const char *s, size_t maxlen)
108 [FILE:1170:patches/patch-util.h]
109 --- util.h.orig 2007-12-27 00:51:05 UTC
116 +#if defined(__FreeBSD__) || defined(__DragonFly__)
117 #include <sys/endian.h>
119 #define __BYTE_ORDER _BYTE_ORDER
121 #define bswap_16 bswap16
122 #define bswap_32 bswap32
123 #define bswap_64 bswap64
124 +#elif defined(__APPLE__)
125 +#include <machine/endian.h>
126 +#include <libkern/OSByteOrder.h>
128 +#define __BYTE_ORDER BYTE_ORDER
129 +#define __LITTLE_ENDIAN LITTLE_ENDIAN
130 +#define __BIG_ENDIAN BIG_ENDIAN
132 +#define bswap_16 OSSwapInt16
133 +#define bswap_32 OSSwapInt32
134 +#define bswap_64 OSSwapInt64
135 +#elif defined(__sun__)
136 +#include <sys/isa_defs.h>
137 +#include <sys/byteorder.h>
139 +#define __LITTLE_ENDIAN 1234
140 +#define __BIG_ENDIAN 4321
141 +#if defined(_BIG_ENDIAN)
142 +#define __BYTE_ORDER __BIG_ENDIAN
143 +#elif defined(_LITTLE_ENDIAN)
144 +#define __BYTE_ORDER __LITTLE_ENDIAN
147 +#define bswap_16 BSWAP_16
148 +#define bswap_32 BSWAP_32
149 +#define bswap_64 BSWAP_64
153 #include <byteswap.h>