diff options
author | joerg <joerg@pkgsrc.org> | 2020-08-09 19:11:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-08-09 19:11:32 +0000 |
commit | ad5ede8d41f51734b1f7e0f32c65536d2d41360e (patch) | |
tree | 1936bbb9340ea1ac498d3d76468812d8a5810d4e /math | |
parent | 33f73ccc0c85ef8ea98ca777e68e791811606baa (diff) | |
download | pkgsrc-ad5ede8d41f51734b1f7e0f32c65536d2d41360e.tar.gz |
Fix build against numpy 1.19.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-pandas/distinfo | 3 | ||||
-rw-r--r-- | math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/math/py-pandas/distinfo b/math/py-pandas/distinfo index 99bb98db8ee..b2cd7b77371 100644 --- a/math/py-pandas/distinfo +++ b/math/py-pandas/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.22 2020/02/14 16:21:55 minskim Exp $ +$NetBSD: distinfo,v 1.23 2020/08/09 19:11:32 joerg Exp $ SHA1 (pandas-0.25.3.tar.gz) = 4123c7452df2662a99ae70821c119f4035f217ba RMD160 (pandas-0.25.3.tar.gz) = cb526595c8b38bd4973a49ebebb61c165421628b SHA512 (pandas-0.25.3.tar.gz) = ab282e4d3145daafa68d5e3a2e82d692385eb62720d6503ddb3a4f76cf380591cbd32ba3e15fa5ba93725a221d3f74062012ca13a0df8e08c324e706ca35ccf6 Size (pandas-0.25.3.tar.gz) = 12632585 bytes +SHA1 (patch-pandas___libs_src_ujson_python_objToJSON.c) = 691a76fae9b28310d08db30c87213b0c5fbf0ad6 diff --git a/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c b/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c new file mode 100644 index 00000000000..62e69da08d4 --- /dev/null +++ b/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c @@ -0,0 +1,15 @@ +$NetBSD: patch-pandas___libs_src_ujson_python_objToJSON.c,v 1.1 2020/08/09 19:11:32 joerg Exp $ + +Fix build with NumPy 1.19. + +--- pandas/_libs/src/ujson/python/objToJSON.c.orig 2019-10-31 20:16:52.000000000 +0000 ++++ pandas/_libs/src/ujson/python/objToJSON.c +@@ -178,7 +178,7 @@ void *initObjToJSON(void) + + /* Initialise numpy API and use 2/3 compatible return */ + import_array(); +- return NUMPY_IMPORT_ARRAY_RETVAL; ++ return NULL; + } + + static TypeContext *createTypeContext(void) { |