aboutsummaryrefslogtreecommitdiff
path: root/databases/dbview
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-06-24 16:17:28 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-06-24 16:17:28 +0000
commit8dd479db6217994551d63f297f541fe296858936 (patch)
tree7d545b7ef2ba0015a9ea13d5e98c6753715700c9 /databases/dbview
parent7952d5226b6af1989a293c5d769fb1d6ea394c7b (diff)
downloadports-8dd479db6217994551d63f297f541fe296858936.tar.gz
ports-8dd479db6217994551d63f297f541fe296858936.zip
Notes
Diffstat (limited to 'databases/dbview')
-rw-r--r--databases/dbview/files/patch-db_dump.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/dbview/files/patch-db_dump.c b/databases/dbview/files/patch-db_dump.c
new file mode 100644
index 000000000000..5652e56fac0b
--- /dev/null
+++ b/databases/dbview/files/patch-db_dump.c
@@ -0,0 +1,11 @@
+--- db_dump.c.orig 2008-06-24 16:10:56.000000000 +0000
++++ db_dump.c 2008-06-24 16:11:14.000000000 +0000
+@@ -82,6 +82,8 @@
+
+ /*----------------------------------------------------helpers------------*/
+ #if BYTE_ORDER == BIG_ENDIAN
++#define bswap_16 bswap16
++#define bswap_32 bswap32
+ size_t
+ db3_fread (void *ptr, size_t size, size_t nmemb, FILE *stream)
+ {