aboutsummaryrefslogtreecommitdiff
path: root/audio/rio500/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-01-17 13:13:02 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-01-17 13:13:02 +0000
commitadd06212a161bcc9af8b2cb75d05197a9ded6c0a (patch)
tree31f3778cec2262b5575f4575f75d3834b6faa65f /audio/rio500/files
parent3ac655113fa55be2a1f67f1961fdc454432a7559 (diff)
Notes
Diffstat (limited to 'audio/rio500/files')
-rw-r--r--audio/rio500/files/patch-include-libfon.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/rio500/files/patch-include-libfon.h b/audio/rio500/files/patch-include-libfon.h
new file mode 100644
index 000000000000..174de6261ce3
--- /dev/null
+++ b/audio/rio500/files/patch-include-libfon.h
@@ -0,0 +1,12 @@
+--- include/libfon.h.orig Tue Jan 17 14:07:33 2006
++++ include/libfon.h Tue Jan 17 14:08:42 2006
+@@ -34,6 +34,9 @@
+ #define MZ_HEADER_MAGIC 0x5a4d
+ #define NE_HEADER_MAGIC 0x454e
+
++#define bswap_16(x) (be16toh(x))
++#define bswap_32(x) (be32toh(x))
++
+ typedef struct {
+ uint16_t magic;
+ uint16_t dummy[29]; /* MZ Header data that we want to skip */