summaryrefslogtreecommitdiff
path: root/cad/cider/files/patch-bm
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-10-28 16:13:06 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-10-28 16:13:06 +0000
commitfe660b35732a2be7063ead8ee6a67b2b2f14f55d (patch)
tree21ffa5a79690d43748091200a1ba2040c7b52bf3 /cad/cider/files/patch-bm
parentUpdate MASTER_SITES and WWW: line of pkg-descr. (diff)
- Prevent possible buffer overflow
- Use erfc(3). PR: 22343 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=34369
Diffstat (limited to '')
-rw-r--r--cad/cider/files/patch-bm16
1 files changed, 16 insertions, 0 deletions
diff --git a/cad/cider/files/patch-bm b/cad/cider/files/patch-bm
new file mode 100644
index 000000000000..d750cfd15b6b
--- /dev/null
+++ b/cad/cider/files/patch-bm
@@ -0,0 +1,16 @@
+--- cider/common/src/lib/support/erfc.c.orig Sat Jan 29 19:29:27 1994
++++ cider/common/src/lib/support/erfc.c Tue Oct 24 12:23:09 2000
+@@ -10,6 +10,7 @@
+
+ /* erfc computes the erfc(x) the code is from sedan's derfc.f */
+
++#ifdef HAS_NO_ERFC
+ double erfc ( x )
+ double x;
+ {
+@@ -46,4 +47,4 @@
+ return( 1.0 - sum2 );
+ }
+ }
+-
++#endif