aboutsummaryrefslogtreecommitdiff
path: root/www/amaya/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-26 18:49:24 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-26 18:49:24 +0000
commit4f766e272e05e3019c70d8aefb14adf4f1d7e953 (patch)
treeb573e58b455905a5a146b1bae383bcc580dffe9b /www/amaya/files
parent9bd836d9062358855f9e2e1bd88309ca230a493a (diff)
Notes
Diffstat (limited to 'www/amaya/files')
-rw-r--r--www/amaya/files/patch-thotlib::base::fileaccess.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/amaya/files/patch-thotlib::base::fileaccess.c b/www/amaya/files/patch-thotlib::base::fileaccess.c
new file mode 100644
index 000000000000..94a8afe69fd1
--- /dev/null
+++ b/www/amaya/files/patch-thotlib::base::fileaccess.c
@@ -0,0 +1,29 @@
+--- ../thotlib/base/fileaccess.c.orig Fri Jul 4 21:35:35 2003
++++ ../thotlib/base/fileaccess.c Wed Jul 9 19:45:40 2003
+@@ -273,6 +273,18 @@
+ unsigned int exponent:8;
+ unsigned int mantissa:23;
+ #else /*_WINDOWS*/
++#ifdef __FreeBSD__
++#if BYTE_ORDER == BIG_ENDIAN
++ unsigned int negative:1;
++ unsigned int exponent:8;
++ unsigned int mantissa:23;
++#endif
++#if BYTE_ORDER == LITTLE_ENDIAN
++ unsigned int mantissa:23;
++ unsigned int exponent:8;
++ unsigned int negative:1;
++#endif
++#else /*__FreeBSD__*/
+ #if defined(i386) || defined(__i386)
+ #if __BYTE_ORDER == __BIG_ENDIAN
+ unsigned int negative:1;
+@@ -296,6 +308,7 @@
+ unsigned int negative:1;
+ #endif
+ #endif
++#endif /*__FreeBSD__*/
+ #endif /*_WINDOWS*/
+ } ieee;
+ };