summaryrefslogtreecommitdiff
path: root/math/tela/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'math/tela/patches/patch-ac')
-rw-r--r--math/tela/patches/patch-ac47
1 files changed, 0 insertions, 47 deletions
diff --git a/math/tela/patches/patch-ac b/math/tela/patches/patch-ac
deleted file mode 100644
index b6bee0238f9..00000000000
--- a/math/tela/patches/patch-ac
+++ /dev/null
@@ -1,47 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2002/05/03 23:32:13 jtb Exp $
-
---- tela.C.orig Tue Sep 4 13:57:20 2001
-+++ tela.C Wed May 1 16:00:57 2002
-@@ -13,7 +13,7 @@
- #include "d.y.h"
- #include "d.l.h"
- #include "version.H"
--#include <values.h>
-+//#include <values.h>
- //#include <unistd.h>
- #if HAVE_IEEE754_H == 1
- # include <ieee754.h>
-@@ -31,7 +31,9 @@
- #include <signal.h>
-
- extern "C" {
--#include "readline/chardefs.h"
-+#ifndef whitespace
-+#define whitespace(c) (((c) == ' ') || ((c) == '\t'))
-+#endif
- extern Tchar *readline(...);
- extern Tchar **completion_matches(...);
- extern int rl_add_defun(...);
-@@ -45,9 +47,9 @@
- // MAIN__ which is supposed to be the Fortran main program. Since we
- // do not have a Fortran main program here, we define it here. Hope
- // it doesn't conflict with anything else.
--#ifdef LINUX
-+// #ifdef LINUX
- int MAIN__;
--#endif
-+// #endif
- }
-
- char *VersionString = VERSION;
-@@ -220,8 +222,8 @@
- return 0.0;
- }
- #else
-- real zero = 0.0;
-- real result = zero/zero;
-+ Treal zero = 0.0;
-+ Treal result = zero/zero;
- return result;
- #endif
- }