aboutsummaryrefslogtreecommitdiff
path: root/math/oleo/files/patch-src_ref.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:33:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:33:47 +0000
commita14c0668720dcafde3f60b7659a01d99ec693a41 (patch)
tree9c1a149bc961f7cd84b7aa93a2d61fec3d0f9685 /math/oleo/files/patch-src_ref.c
parent8e7fd48a294d7d6e54c6d07989807cff33ab19bd (diff)
Notes
Diffstat (limited to 'math/oleo/files/patch-src_ref.c')
-rw-r--r--math/oleo/files/patch-src_ref.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/oleo/files/patch-src_ref.c b/math/oleo/files/patch-src_ref.c
new file mode 100644
index 000000000000..f7e9c2a48953
--- /dev/null
+++ b/math/oleo/files/patch-src_ref.c
@@ -0,0 +1,20 @@
+--- src/ref.c.orig Wed Feb 14 08:38:06 2001
++++ src/ref.c Sat Jul 19 13:51:39 2003
+@@ -263,7 +263,7 @@
+ read_new_value (CELLREF row, CELLREF col, char *form, char *val)
+ {
+ unsigned char *new_bytes;
+- extern double __plinf, __neinf, __nan;
++ extern double __plinf, __neinf, ___nan;
+
+ cur_row = row;
+ cur_col = col;
+@@ -348,7 +348,7 @@
+ else if (!stricmp (nname, val))
+ {
+ SET_TYP (my_cell, TYP_FLT);
+- my_cell->cell_flt = __nan;
++ my_cell->cell_flt = ___nan;
+ }
+ else
+ {