summaryrefslogtreecommitdiff
path: root/graphics/opendx/files/patch-ab
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-09-20 06:43:20 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-09-20 06:43:20 +0000
commit346b0522f19e0ff832f8189a504d4038386affb1 (patch)
treec94c7fef2a16d745c4020e5c817a623cba04575c /graphics/opendx/files/patch-ab
parentUpdate to 1.99.5 (diff)
New port opendx, the Open Source version of IBM's Data Explorer.
Notes
Notes: svn path=/head/; revision=21820
Diffstat (limited to 'graphics/opendx/files/patch-ab')
-rw-r--r--graphics/opendx/files/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/opendx/files/patch-ab b/graphics/opendx/files/patch-ab
new file mode 100644
index 000000000000..ae1d50333be4
--- /dev/null
+++ b/graphics/opendx/files/patch-ab
@@ -0,0 +1,19 @@
+--- include/dx/arch.h.orig Wed May 26 01:14:59 1999
++++ include/dx/arch.h Thu May 27 09:49:29 1999
+@@ -785,6 +785,16 @@
+
+ #endif /* alphax */
+
++/*
++ * FreeBSD (and probably NetBSD and OpenBSD)
++ */
++#ifdef __FreeBSD__
++
++#undef F_CHAR_READY
++#define F_CHAR_READY(fp) ((fp)->_r > 0 || (fp)->_ub._base)
++
++#endif /* __FreeBSD__ */
++
+
+
+ /* if standard IEEE floating point, these are the constants. the