aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/hfsplusutils/files
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-11-16 05:51:46 +0800
committersergei <sergei@FreeBSD.org>2003-11-16 05:51:46 +0800
commit169793dc097bb992ab0e694069b6b45cd58caa69 (patch)
tree2909b3bc7420080542e9414b6430c49582d12e6e /emulators/hfsplusutils/files
parent2335562542f2b5e2d21063a45c1d67f5fe1771f2 (diff)
downloadfreebsd-ports-graphics-169793dc097bb992ab0e694069b6b45cd58caa69.tar.gz
freebsd-ports-graphics-169793dc097bb992ab0e694069b6b45cd58caa69.tar.zst
freebsd-ports-graphics-169793dc097bb992ab0e694069b6b45cd58caa69.zip
Add hfsplusutils 1.0.4, utilities for accessing HFS+ filesystems.
This is a set of tools that allow access to HFS+ formatted volumes. HFS+ is a modernized version of Apple Computers HFS Filesystem. In addition in contains the library "libhfsp" which you may use for your own experiments, all the tools are based on this library. (A bit of understanding is still needed however). Author: Klaus Halfmann <klaus.halfmann@t-online.de> PR: 59200 Submitted by: Josh Elsasser <jre@vineyard.net>
Diffstat (limited to 'emulators/hfsplusutils/files')
-rw-r--r--emulators/hfsplusutils/files/patch-swab.h16
-rw-r--r--emulators/hfsplusutils/files/patch-unicode.c14
2 files changed, 30 insertions, 0 deletions
diff --git a/emulators/hfsplusutils/files/patch-swab.h b/emulators/hfsplusutils/files/patch-swab.h
new file mode 100644
index 00000000000..46fa7cbe271
--- /dev/null
+++ b/emulators/hfsplusutils/files/patch-swab.h
@@ -0,0 +1,16 @@
+--- libhfsp/src/swab.h.orig Tue Mar 5 14:50:29 2002
++++ libhfsp/src/swab.h Tue Nov 11 14:53:14 2003
+@@ -24,8 +24,11 @@
+ * $Id: swab.h,v 1.1.1.1 2002/03/05 19:50:29 klaus Exp $
+ */
+
+-#include <endian.h>
+-#include <byteswap.h>
++#include <sys/endian.h>
++
++#define bswap_16 bswap16
++#define bswap_32 bswap32
++#define bswap_64 bswap64
+
+ /* basic fuction:
+ value = swab_inc(ptr);
diff --git a/emulators/hfsplusutils/files/patch-unicode.c b/emulators/hfsplusutils/files/patch-unicode.c
new file mode 100644
index 00000000000..ed62d322f55
--- /dev/null
+++ b/emulators/hfsplusutils/files/patch-unicode.c
@@ -0,0 +1,14 @@
+--- libhfsp/src/unicode.c.orig Tue Mar 5 14:50:29 2002
++++ libhfsp/src/unicode.c Tue Nov 11 14:53:25 2003
+@@ -14,9 +14,8 @@
+ # endif
+
+ #include <stdlib.h>
+-#include <endian.h>
+-#include <byteswap.h>
+-#include <linux/string.h>
++#include <sys/endian.h>
++#include <string.h>
+
+ #define __USE_GNU
+ /* need wcsrtomb */