aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2003-08-04 19:56:54 +0800
committertg <tg@FreeBSD.org>2003-08-04 19:56:54 +0800
commit759731ebfcd0a7110d3b41b4d92dfaf8517ca111 (patch)
tree7887b9fac2ee1130e7785692cbc51099c51f30b7 /math
parentb4129ca77185966c87a0eb314ce8e4e9ec0f31d3 (diff)
downloadfreebsd-ports-graphics-759731ebfcd0a7110d3b41b4d92dfaf8517ca111.tar.gz
freebsd-ports-graphics-759731ebfcd0a7110d3b41b4d92dfaf8517ca111.tar.zst
freebsd-ports-graphics-759731ebfcd0a7110d3b41b4d92dfaf8517ca111.zip
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')
-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 00000000000..8a4ef7e5dfb
--- /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