From e250dcafd4801ebfa0373b8118062450fabf2032 Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Mon, 12 Oct 2015 15:17:23 -0700 Subject: [PATCH] enable large file support probably not needed as the file open api of qhull is not available in python Forwarded: no Patch-Name: qhull-lfs.patch Gbp-Pq: Name qhull-lfs.patch --- scipy/spatial/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scipy/spatial/setup.py b/scipy/spatial/setup.py index 1dfa8179..49d0ac53 100644 --- a/scipy/spatial/setup.py +++ b/scipy/spatial/setup.py @@ -52,6 +52,9 @@ def configuration(parent_package='', top_path=None): config.add_extension('_qhull', sources=['_qhull.c', 'qhull_misc.c'] + qhull_src, **cfg) + cfg.setdefault('define_macros', []).append(('_FILE_OFFSET_BITS','64')) + cfg.setdefault('define_macros', []).append(('_LARGEFILE_SOURCE','1')) + cfg.setdefault('define_macros', []).append(('_LARGEFILE64_SOURCE','1')) # cKDTree ckdtree_src = ['query.cxx', -- 2.30.2