09-hack-for-matplotlib.patch 439 B

123456789101112
  1. --- contrib/python/numpy/py3/numpy/core/include/numpy/__multiarray_api.h (index)
  2. +++ contrib/python/numpy/py3/numpy/core/include/numpy/__multiarray_api.h (working tree)
  3. @@ -1,6 +1,9 @@
  4. #if defined(_MULTIARRAYMODULE) || defined(WITH_CPYCHECKER_STEALS_REFERENCE_TO_ARG_ATTRIBUTE)
  5. +// XXX: dummy import to simplify static build
  6. +static int import_array() { return 0; }
  7. +
  8. typedef struct {
  9. PyObject_HEAD
  10. npy_bool obval;