diff options
author | maho <maho@FreeBSD.org> | 2003-07-19 04:54:32 +0000 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2003-07-19 04:54:32 +0000 |
commit | 11b8a6cb7246be31d7ee812a37dacf614b020352 (patch) | |
tree | d9ee4e86ae279fec117236d9c3193b76016598f7 /math/oleo/files | |
parent | dc3bba6ed394eaa00fb2849f21366c0bacf5ff47 (diff) | |
download | FreeBSD-ports-11b8a6cb7246be31d7ee812a37dacf614b020352.zip FreeBSD-ports-11b8a6cb7246be31d7ee812a37dacf614b020352.tar.gz |
Fix build, and another fixes for building.
Unbreak.
PR: 51923
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'math/oleo/files')
-rw-r--r-- | math/oleo/files/patch-src::eval.c | 11 | ||||
-rw-r--r-- | math/oleo/files/patch-src::global.h | 11 | ||||
-rw-r--r-- | math/oleo/files/patch-src::io-utils.c | 20 | ||||
-rw-r--r-- | math/oleo/files/patch-src::ref.c | 20 |
4 files changed, 62 insertions, 0 deletions
diff --git a/math/oleo/files/patch-src::eval.c b/math/oleo/files/patch-src::eval.c new file mode 100644 index 0000000..81e1302 --- /dev/null +++ b/math/oleo/files/patch-src::eval.c @@ -0,0 +1,11 @@ +--- src/eval.c.org Sat Jul 19 13:42:11 2003 ++++ src/eval.c Sat Jul 19 13:47:43 2003 +@@ -565,7 +565,7 @@ + case CONST_NINF: + case CONST_NAN: + p->type = TYP_FLT; +- p->Float = (byte == CONST_INF) ? __plinf : ((byte == CONST_NINF) ? __neinf : __nan); ++ p->Float = (byte == CONST_INF) ? __plinf : ((byte == CONST_NINF) ? __neinf : ___nan); + break; + + case VAR: diff --git a/math/oleo/files/patch-src::global.h b/math/oleo/files/patch-src::global.h new file mode 100644 index 0000000..4594ce5 --- /dev/null +++ b/math/oleo/files/patch-src::global.h @@ -0,0 +1,11 @@ +--- src/global.h.org Thu Feb 15 05:54:50 2001 ++++ src/global.h Sat Jul 19 13:45:39 2003 +@@ -208,7 +208,7 @@ + extern char nname[]; + + extern VOIDSTAR parse_hash; +-extern double __plinf, __neinf, __nan; ++extern double __plinf, __neinf, ___nan; + + /* These have two uses. During parsing, these contain the + * base address of all relative references. During evaluation, diff --git a/math/oleo/files/patch-src::io-utils.c b/math/oleo/files/patch-src::io-utils.c new file mode 100644 index 0000000..05b02e8 --- /dev/null +++ b/math/oleo/files/patch-src::io-utils.c @@ -0,0 +1,20 @@ +--- src/io-utils.c.org Sat Jul 19 13:42:11 2003 ++++ src/io-utils.c Sat Jul 19 13:48:32 2003 +@@ -71,7 +71,7 @@ + + double __plinf; + double __neinf; +-double __nan; ++double ___nan; + + char nname[] = "#NOT_A_NUMBER"; + char iname[] = "#INFINITY"; +@@ -125,7 +125,7 @@ + __neinf = divide (-1., 0.); + (void) signal (SIGFPE, ignore_sig); + #endif +- __nan = __plinf + __neinf; ++ ___nan = __plinf + __neinf; + } + + diff --git a/math/oleo/files/patch-src::ref.c b/math/oleo/files/patch-src::ref.c new file mode 100644 index 0000000..f7e9c2a --- /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 + { |