freebsd-ports/math/gnuplot+/files/patch-xf
Steve Price d80572ef73 o Fix Configuration Option for readline library
o Add patch to avoid divide-by-zero trap
o Merge patches for gnuplot-3.7.1

PR:		16120
Submitted by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
Reviewed by:	maintainer
2000-01-24 06:19:03 +00:00

16 lines
441 B
Plaintext

# contour-clipping.991202
--- contour.c.ORIG Thu Dec 2 15:15:03 1999
+++ contour.c Thu Dec 2 15:13:53 1999
@@ -727,7 +727,11 @@
{
struct edge_struct *pe_temp = NULL;
+#if 1
+ if (point0->type == INRANGE && point1->type == INRANGE) {
+#else
if (point0->type != UNDEFINED && point1->type != UNDEFINED) {
+#endif
pe_temp = (struct edge_struct *)
gp_alloc((unsigned long) sizeof(struct edge_struct), "contour edge");