diff options
Diffstat (limited to 'math/scilab/patches/patch-ab')
-rw-r--r-- | math/scilab/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/math/scilab/patches/patch-ab b/math/scilab/patches/patch-ab new file mode 100644 index 00000000000..41f69631f87 --- /dev/null +++ b/math/scilab/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 1998/08/25 12:53:08 agc Exp $ + +--- ./routines/graphics/periFig.c.orig Sat Jul 18 22:31:39 1998 ++++ ./routines/graphics/periFig.c Sat Jul 18 22:31:38 1998 +@@ -64,5 +64,11 @@ + #define M_PI 3.14159265358979323846 + #else ++#if defined(HAVE_VALUES_H) + #include <values.h> ++#else ++#ifndef M_PI ++#define M_PI 3.14159265358979323846 ++#endif ++#endif + #endif + |