summaryrefslogtreecommitdiffstats
path: root/math/py-numeric
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2003-08-04 11:56:54 +0000
committertg <tg@FreeBSD.org>2003-08-04 11:56:54 +0000
commit759731ebfcd0a7110d3b41b4d92dfaf8517ca111 (patch)
tree7887b9fac2ee1130e7785692cbc51099c51f30b7 /math/py-numeric
parentb4129ca77185966c87a0eb314ce8e4e9ec0f31d3 (diff)
downloadFreeBSD-ports-759731ebfcd0a7110d3b41b4d92dfaf8517ca111.zip
FreeBSD-ports-759731ebfcd0a7110d3b41b4d92dfaf8517ca111.tar.gz
Because Python2.3 headers define _POSIX_SOURCE and _XOPEN_SOURCE,
math.h skips acosh and other hyperbolic math functions. Submitted by: perky
Diffstat (limited to 'math/py-numeric')
-rw-r--r--math/py-numeric/files/patch-Src_umathmodule.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/py-numeric/files/patch-Src_umathmodule.c b/math/py-numeric/files/patch-Src_umathmodule.c
new file mode 100644
index 0000000..8a4ef7e
--- /dev/null
+++ b/math/py-numeric/files/patch-Src_umathmodule.c
@@ -0,0 +1,13 @@
+--- Src/umathmodule.c.orig Sat Aug 2 01:10:09 2003
++++ Src/umathmodule.c Sat Aug 2 01:10:43 2003
+@@ -1,9 +1,9 @@
+
++#include <math.h>
+ #include "Python.h"
+ #include "Numeric/arrayobject.h"
+ #include "Numeric/ufuncobject.h"
+ #include "abstract.h"
+-#include <math.h>
+
+ #ifndef CHAR_BIT
+ #define CHAR_BIT 8
OpenPOWER on IntegriCloud